mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Better format documentation of \sphinx... LaTeX macros
This commit is contained in:
parent
9ecd42574d
commit
f8f4ce8bce
@ -740,19 +740,41 @@ thus allowing redefinitions. Check the respective files for the defaults.
|
|||||||
Macros
|
Macros
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
- text styling commands ``\sphinx<foo>`` with ``<foo>`` being one of
|
- text styling commands:
|
||||||
``strong``, ``bfcode``, ``email``, ``tablecontinued``, ``titleref``,
|
|
||||||
``menuselection``, ``accelerator``, ``crossref``, ``termref``, ``optional``.
|
|
||||||
|
|
||||||
|
- ``\sphinxstrong``,
|
||||||
|
- ``\sphinxbfcode``,
|
||||||
|
- ``\sphinxemail``,
|
||||||
|
- ``\sphinxtablecontinued``,
|
||||||
|
- ``\sphinxtitleref``,
|
||||||
|
- ``\sphinxmenuselection``,
|
||||||
|
- ``\sphinxaccelerator``,
|
||||||
|
- ``\sphinxcrossref``,
|
||||||
|
- ``\sphinxtermref``,
|
||||||
|
- ``\sphinxoptional``.
|
||||||
|
|
||||||
.. versionadded:: 1.4.5
|
.. versionadded:: 1.4.5
|
||||||
Use of ``\sphinx`` prefixed macro names to limit possibilities of conflict
|
Use of ``\sphinx`` prefixed macro names to limit possibilities of conflict
|
||||||
with LaTeX packages.
|
with LaTeX packages.
|
||||||
- more text styling: ``\sphinxstyle<bar>`` with ``<bar>`` one of
|
- more text styling:
|
||||||
``indexentry``, ``indexextra``, ``indexpageref``, ``topictitle``,
|
|
||||||
``sidebartitle``, ``othertitle``, ``sidebarsubtitle``, ``theadfamily``,
|
|
||||||
``emphasis``, ``literalemphasis``, ``strong``, ``literalstrong``,
|
|
||||||
``abbreviation``, ``literalintitle``, ``codecontinued``, ``codecontinues``
|
|
||||||
|
|
||||||
|
- ``\sphinxstyleindexentry``,
|
||||||
|
- ``\sphinxstyleindexextra``,
|
||||||
|
- ``\sphinxstyleindexpageref``,
|
||||||
|
- ``\sphinxstyletopictitle``,
|
||||||
|
- ``\sphinxstylesidebartitle``,
|
||||||
|
- ``\sphinxstyleothertitle``,
|
||||||
|
- ``\sphinxstylesidebarsubtitle``,
|
||||||
|
- ``\sphinxstyletheadfamily``,
|
||||||
|
- ``\sphinxstyleemphasis``,
|
||||||
|
- ``\sphinxstyleliteralemphasis``,
|
||||||
|
- ``\sphinxstylestrong``,
|
||||||
|
- ``\sphinxstyleliteralstrong``,
|
||||||
|
- ``\sphinxstyleabbreviation``,
|
||||||
|
- ``\sphinxstyleliteralintitle``,
|
||||||
|
- ``\sphinxstylecodecontinued``,
|
||||||
|
- ``\sphinxstylecodecontinues``.
|
||||||
|
|
||||||
.. versionadded:: 1.5
|
.. versionadded:: 1.5
|
||||||
these macros were formerly hard-coded as non customizable ``\texttt``,
|
these macros were formerly hard-coded as non customizable ``\texttt``,
|
||||||
``\emph``, etc...
|
``\emph``, etc...
|
||||||
|
Loading…
Reference in New Issue
Block a user