Add missing backslashes in LaTeX documentation (#13525)

This commit is contained in:
Shengyu Zhang authored and GitHub committed 2025-05-12 19:29:18 +01:00
1 parent e6d67ca53c
commit c6e39d8584
1 file changed
+2 -2
+2 -2
View File
@@ -500,7 +500,7 @@ Keys that don't need to be overridden unless in special cases are:
.. hint::
If the key value is set to
:code-tex:`r'\\newcommand\sphinxbackoftitlepage{<Extra
:code-tex:`r'\\newcommand\\sphinxbackoftitlepage{<Extra
material>}\\sphinxmaketitle'`, then ``<Extra material>`` will be
typeset on back of title page (``'manual'`` docclass only).
@@ -1694,7 +1694,7 @@ Macros
.. hint::
If adding to preamble the loading of ``tocloft`` package, also add to
preamble :code-tex:`\\renewcommand\sphinxtableofcontentshook{}` else it
preamble :code-tex:`\\renewcommand\\sphinxtableofcontentshook{}` else it
will reset :code-tex:`\\l@section` and :code-tex:`\\l@subsection`
cancelling ``tocloft`` customization.