Remove unneeded `{}` in LaTeX transition code

This commit is contained in:
jfbu 2017-02-28 10:00:41 +01:00
parent 9752525ed1
commit 434a32d1c8
2 changed files with 4 additions and 2 deletions

View File

@ -1879,10 +1879,12 @@ These options influence LaTeX output. See further :doc:`latex`.
modifying it also such as "tocloft" or "etoc". modifying it also such as "tocloft" or "etoc".
``'transition'`` ``'transition'``
Commands used to display transitions, default Commands used to display transitions, default
``'\n\n\\bigskip\\hrule{}\\bigskip\n\n'``. Override if you want to ``'\n\n\\bigskip\\hrule\\bigskip\n\n'``. Override if you want to
display transitions differently. display transitions differently.
.. versionadded:: 1.2 .. versionadded:: 1.2
.. versionchanged:: 1.6
Remove unneeded ``{}`` after ``\\hrule``.
``'printindex'`` ``'printindex'``
"printindex" call, the last thing in the file, default "printindex" call, the last thing in the file, default
``'\\printindex'``. Override if you want to generate the index ``'\\printindex'``. Override if you want to generate the index

View File

@ -91,7 +91,7 @@ DEFAULT_SETTINGS = {
'tableofcontents': '\\sphinxtableofcontents', 'tableofcontents': '\\sphinxtableofcontents',
'atendofbody': '', 'atendofbody': '',
'printindex': '\\printindex', 'printindex': '\\printindex',
'transition': '\n\n\\bigskip\\hrule{}\\bigskip\n\n', 'transition': '\n\n\\bigskip\\hrule\\bigskip\n\n',
'figure_align': 'htbp', 'figure_align': 'htbp',
'tocdepth': '', 'tocdepth': '',
'secnumdepth': '', 'secnumdepth': '',