mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #10363: make howto LaTeX title page rule use \linewidth
This commit is contained in:
parent
27a62bbe39
commit
6487529cf5
2
CHANGES
2
CHANGES
@ -108,6 +108,8 @@ Bugs fixed
|
|||||||
too much vertical whitespace
|
too much vertical whitespace
|
||||||
* #10188: LaTeX: alternating multiply referred footnotes produce a ``?`` in
|
* #10188: LaTeX: alternating multiply referred footnotes produce a ``?`` in
|
||||||
pdf output
|
pdf output
|
||||||
|
* #10363: LaTeX: make ``'howto'`` title page rule use ``\linewidth`` for
|
||||||
|
compatibility with usage of a ``twocolumn`` class option
|
||||||
* #10318: ``:prepend:`` option of :rst:dir:`literalinclude` directive does not
|
* #10318: ``:prepend:`` option of :rst:dir:`literalinclude` directive does not
|
||||||
work with ``:dedent:`` option
|
work with ``:dedent:`` option
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
% ``Bjarne'' style a bit better.
|
% ``Bjarne'' style a bit better.
|
||||||
%
|
%
|
||||||
\newcommand{\sphinxmaketitle}{%
|
\newcommand{\sphinxmaketitle}{%
|
||||||
\noindent\rule{\textwidth}{1pt}\par
|
\noindent\rule{\linewidth}{1pt}\par
|
||||||
\begingroup % for PDF information dictionary
|
\begingroup % for PDF information dictionary
|
||||||
\def\endgraf{ }\def\and{\& }%
|
\def\endgraf{ }\def\and{\& }%
|
||||||
\pdfstringdefDisableCommands{\def\\{, }}% overwrite hyperref setup
|
\pdfstringdefDisableCommands{\def\\{, }}% overwrite hyperref setup
|
||||||
@ -74,7 +74,7 @@
|
|||||||
\sphinxtableofcontentshook
|
\sphinxtableofcontentshook
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
\endgroup
|
\endgroup
|
||||||
\noindent\rule{\textwidth}{1pt}\par
|
\noindent\rule{\linewidth}{1pt}\par
|
||||||
\vspace{12pt}%
|
\vspace{12pt}%
|
||||||
}
|
}
|
||||||
\newcommand\sphinxtableofcontentshook{}
|
\newcommand\sphinxtableofcontentshook{}
|
||||||
|
Loading…
Reference in New Issue
Block a user