Fix #2540: date on latex front page use different font

modified:   sphinx/texinputs/sphinxhowto.cls
	modified:   sphinx/texinputs/sphinxmanual.cls
This commit is contained in:
jfbu 2016-05-30 20:55:40 +02:00
parent 24beece2a3
commit 942dc80c99
3 changed files with 12 additions and 9 deletions

View File

@ -6,6 +6,7 @@ Bugs fixed
* #2530: got "Counter too large" error on building PDF if large numbered footnotes existed in admonitions
* ``width`` option of figure directive does not work if ``align`` option specified at same time (ref: #2595)
* #2540: date on latex front page use different font
Release 1.4.2 (released May 29, 2016)

View File

@ -51,14 +51,15 @@
\endgroup
\fi
\begin{flushright}
\sphinxlogo%
{\rm\Huge\py@HeaderFamily \@title} \par
{\em\large\py@HeaderFamily \py@release\releaseinfo} \par
\sphinxlogo
\py@HeaderFamily
{\rm\Huge \@title }\par
{\em\large \py@release \releaseinfo}\par
\vspace{25pt}
{\Large\py@HeaderFamily
{\Large
\begin{tabular}[t]{c}
\@author
\end{tabular}} \par
\end{tabular}}\par
\vspace{25pt}
\@date \par
\py@authoraddress \par

View File

@ -58,11 +58,12 @@
\endgroup
\fi
\begin{flushright}%
\sphinxlogo%
{\rm\Huge\py@HeaderFamily \@title \par}%
{\em\LARGE\py@HeaderFamily \py@release\releaseinfo \par}
\sphinxlogo
\py@HeaderFamily
{\rm\Huge \@title \par}
{\em\LARGE \py@release\releaseinfo \par}
\vfill
{\LARGE\py@HeaderFamily
{\LARGE
\begin{tabular}[t]{c}
\@author
\end{tabular}