mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: improved doc of \sphinxtableofcontents (closes #10858)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user