From 942dc80c991eaad1400b8ec009c40f67e4e57d6e Mon Sep 17 00:00:00 2001 From: jfbu Date: Mon, 30 May 2016 20:55:40 +0200 Subject: [PATCH] Fix #2540: date on latex front page use different font modified: sphinx/texinputs/sphinxhowto.cls modified: sphinx/texinputs/sphinxmanual.cls --- CHANGES | 1 + sphinx/texinputs/sphinxhowto.cls | 11 ++++++----- sphinx/texinputs/sphinxmanual.cls | 9 +++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGES b/CHANGES index d1cf8b450..b78578413 100644 --- a/CHANGES +++ b/CHANGES @@ -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) diff --git a/sphinx/texinputs/sphinxhowto.cls b/sphinx/texinputs/sphinxhowto.cls index 8607ef8c4..a30299941 100644 --- a/sphinx/texinputs/sphinxhowto.cls +++ b/sphinx/texinputs/sphinxhowto.cls @@ -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 diff --git a/sphinx/texinputs/sphinxmanual.cls b/sphinx/texinputs/sphinxmanual.cls index b576b673e..7ab7081bf 100644 --- a/sphinx/texinputs/sphinxmanual.cls +++ b/sphinx/texinputs/sphinxmanual.cls @@ -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}