mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
escape some backslashes in latex.rst example code
This commit is contained in:
parent
613b80d3ed
commit
0861ca9a03
@ -26,9 +26,9 @@ Basic customization is available from ``conf.py`` via usage of the
|
|||||||
'preamble': '''\
|
'preamble': '''\
|
||||||
\\usepackage[titles]{tocloft}
|
\\usepackage[titles]{tocloft}
|
||||||
\\cftsetpnumwidth {1.25cm}\\cftsetrmarg{1.5cm}
|
\\cftsetpnumwidth {1.25cm}\\cftsetrmarg{1.5cm}
|
||||||
\\setlength{\cftchapnumwidth}{0.75cm}
|
\\setlength{\\cftchapnumwidth}{0.75cm}
|
||||||
\\setlength{\cftsecindent}{\\cftchapnumwidth}
|
\\setlength{\\cftsecindent}{\\cftchapnumwidth}
|
||||||
\\setlength{\cftsecnumwidth}{1.25cm}''',
|
\\setlength{\\cftsecnumwidth}{1.25cm}''',
|
||||||
'fncychap': '\\usepackage[Bjornstrup]{fncychap}',
|
'fncychap': '\\usepackage[Bjornstrup]{fncychap}',
|
||||||
'printindex': '\\footnotesize\\raggedright\\printindex',
|
'printindex': '\\footnotesize\\raggedright\\printindex',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user