Merge pull request #3478 from jfbu/transitionlatex

Remove unneeded ``{}`` in LaTeX transition code
This commit is contained in:
Jean-François B 2017-02-28 16:04:37 +01:00 committed by GitHub
commit 7d0ac36e2d
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".
``'transition'``
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.
.. versionadded:: 1.2
.. versionchanged:: 1.6
Remove unneeded ``{}`` after ``\\hrule``.
``'printindex'``
"printindex" call, the last thing in the file, default
``'\\printindex'``. Override if you want to generate the index

View File

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