Skip to content

Commit

Permalink
LaTeX: improved doc of \sphinxtableofcontents (closes #10858)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Sep 24, 2022
1 parent 6508121 commit 89a656d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/latex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,12 @@ Macros
``\sphinxtableofcontentshook``. This macro is also executed by the
``'howto'`` docclass, but defaults to empty with it.

.. hint::

If adding to preamble the loading of ``tocloft`` package, also add to
preamble ``\renewcommand\sphinxtableofcontentshook{}`` else it will reset
``\l@section`` and ``\l@subsection`` cancelling ``tocloft`` customization.

- ``\sphinxmaketitle``: Used as the default setting of the ``'maketitle'``
:confval:`latex_elements` key.
Defined in the class files :file:`sphinxmanual.cls` and
Expand Down

0 comments on commit 89a656d

Please sign in to comment.