diff --git a/doc/config.rst b/doc/config.rst index 00e154b61..844106617 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -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 diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index 94384ad68..82483b3e1 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -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': '',