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 * #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) * ``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) Release 1.4.2 (released May 29, 2016)

View File

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

View File

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