[FIX] latex style: compatibility with sphinx 1.6+
As of 1.6 and PR sphinx-doc/sphinx#3550, \ifsphinxpdfoutput is gone. It was not really necessary in the first place, mostly a leftover from an old copy of sphinx's \maketitle commands. Also make the title slightly less huge ;-)
This commit is contained in:
parent
48b11b31cc
commit
591adeeb84
@ -82,17 +82,11 @@
|
||||
\renewcommand{\footrulewidth}{0.1pt}
|
||||
|
||||
\renewcommand{\maketitle}{%
|
||||
\noindent\rule{\textwidth}{1pt}\ifsphinxpdfoutput\newline\null\fi\par
|
||||
\ifsphinxpdfoutput
|
||||
\begingroup
|
||||
%\pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}%
|
||||
%\hypersetup{pdfauthor={\@author}, pdftitle={\@title}}%
|
||||
\endgroup
|
||||
\fi
|
||||
\noindent\rule{\textwidth}{1pt}\par
|
||||
\begin{flushright}
|
||||
\sphinxlogo
|
||||
\py@HeaderFamily
|
||||
{\Huge \@title }\par
|
||||
{\huge \@title }\par
|
||||
\end{flushright}
|
||||
\@thanks
|
||||
\setcounter{footnote}{0}
|
||||
@ -118,4 +112,4 @@
|
||||
\newpage
|
||||
}
|
||||
|
||||
\makeatother
|
||||
\makeatother
|
||||
|
Loading…
Reference in New Issue
Block a user