mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
LaTeX: Revamp the styling of all admonitions (#12508)
In LaTeX output, all admonitions now also have a title row with icon. The ``xcolor`` LaTeX package is now required and the ``fontawesome5`` LaTeX package is needed for the icons.
This commit is contained in:
1 parent
e49e2933bb
commit
aa6dac81ec
11 files changed
+939
-685
No files matched your search
@@ -237,6 +237,8 @@ The most common builders are:
|
||||
|
||||
* ``texlive-latex-recommended``
|
||||
* ``texlive-fonts-recommended``
|
||||
* ``texlive-fonts-extra`` (needed for ``fontawesome5``, see the 7.4.0
|
||||
change notice below)
|
||||
* ``tex-gyre`` (if :confval:`latex_engine` left to default)
|
||||
* ``texlive-latex-extra``
|
||||
* ``latexmk``
|
||||
@@ -244,6 +246,12 @@ The most common builders are:
|
||||
.. versionchanged:: 4.0.0
|
||||
TeX Gyre fonts now required for ``'pdflatex'`` engine (default).
|
||||
|
||||
.. versionchanged:: 7.4.0
|
||||
LaTeX package ``xcolor`` is now required (it is part of Ubuntu
|
||||
``texlive-latex-recommended`` anyhow). The LaTeX package
|
||||
``fontawesome5`` is recommended. See the :ref:`'sphinxsetup'
|
||||
<latexsphinxsetup>` ``iconpackage`` key for more.
|
||||
|
||||
Additional packages are needed in some circumstances:
|
||||
|
||||
* ``texlive-lang-cyrillic`` for Cyrillic (and also then
|
||||
|
||||
Reference in new issue
Block a user