mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: enhanced boxes with padding, borders, shadows, rounded corners
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii - LaTeX: fix #10650 via usage of our own sophisticated \fcolorbox - LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames - LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes - LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and topics - LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices (fix #10651) - LaTeX: documentation of the new CSS-like options - LaTeX: remove #10619 documentation, as the #10619 added shadowBorderColor and shadowShadowColor now named respectively: aside.topic_border-TeXcolor and aside.topic_box-shadow-TeXcolor - LaTeX: use div.topic option prefix and not aside.topic for CSS-like options - LaTeX: keep the implicit legacy padding of warning type boxes as default behaviour
This commit is contained in:
@@ -77,7 +77,8 @@ latex_elements = {
|
||||
'sphinxsetup': """%
|
||||
VerbatimColor={RGB}{242,242,242},%
|
||||
VerbatimBorderColor={RGB}{32,32,32},%
|
||||
verbatimradius=3pt%
|
||||
pre_border-radius=3pt,%
|
||||
pre_box-decoration-break=slice,%
|
||||
""",
|
||||
}
|
||||
latex_show_urls = 'footnote'
|
||||
|
||||
Reference in New Issue
Block a user