8000 update LaTeX doc · sphinx-doc/sphinx@160b5cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 160b5cc

Browse files
committed
update LaTeX doc
1 parent 02df300 commit 160b5cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/latex.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,7 @@ Macros
14641464
``\sphinxtermref``; ``\emph{#1}``
14651465
``\sphinxsamedocref``; ``\emph{#1}``
14661466
``\sphinxparam``; ``\emph{#1}``
1467+
``\sphinxtypeparam``; ``\emph{#1}``
14671468
``\sphinxoptional``; ``[#1]`` with larger brackets, see source
14681469

14691470
.. versionadded:: 1.4.5
@@ -1485,6 +1486,12 @@ Macros
14851486
signatures (see :confval:`maximum_signature_line_length`). It defaults
14861487
to ``\texttt{,}`` to make these end-of-line separators more distinctive.
14871488

1489+
.. versionadded:: 7.2.0
1490+
Signatures of Python functions are rendered as ``name<space>(parameters)``
1491+
or ``name<space>[type parameters]<space>(parameters)`` (see :pep:`695`)
1492+
where the length of ``<space>`` (``0pt`` by default) can be changed via
1493+
``\renewcommand{\sphinxsignaturelistskip}{1em}`` .
1494+
14881495
- More text styling:
14891496

14901497
.. csv-table::

0 commit comments

Comments
 (0)
0