Merge pull request #2601 from jfbu/latex_datefont

set font for date in latex pdf output to be same as for title
This commit is contained in:
Jean-François B 2016-05-31 09:17:28 +02:00
commit f147df3fa0
3 changed files with 13 additions and 9 deletions

View File

@ -7,6 +7,8 @@ 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)
* #2590: The ``inputenc`` package breaks compiling under lualatex and xelatex
* #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
{\Huge \@title }\par
{\itshape\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
{\Huge \@title \par}
{\itshape\LARGE \py@release\releaseinfo \par}
\vfill
{\LARGE\py@HeaderFamily
{\LARGE
\begin{tabular}[t]{c}
\@author
\end{tabular}