diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/prtec')
-rw-r--r-- | Master/texmf-dist/tex/latex/prtec/prtec.cls | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/prtec/prtec.cls b/Master/texmf-dist/tex/latex/prtec/prtec.cls index ce6772d2bab..9bd3af2237a 100644 --- a/Master/texmf-dist/tex/latex/prtec/prtec.cls +++ b/Master/texmf-dist/tex/latex/prtec/prtec.cls @@ -6,7 +6,7 @@ %% The prtec.cls file should be used with the files prtec.bst (for citations) and prtec-template.tex. %% %% -%% This file is version 1.05 dated 2019/04/28. +%% This file is version 1.06 dated 2019/08/20. %% %% Author: John H. Lienhard V %% Department of Mechanical Engineering @@ -54,7 +54,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{prtec}[2019/04/28 PRTEC paper format] +\ProvidesClass{prtec}[2019/08/20 PRTEC paper format] \LoadClass[twoside,11pt]{article} % Two-sided layout not used in PRTEC's specs, but is included anyway. @@ -88,7 +88,6 @@ \fancypagestyle{title}{% \fancyhf{} % clear all header and footer fields \fancyfoot[CE,CO]{\thepage} - \fancyhead[LE,RO]{\bfseries\sffamily \HeaderConfName} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} } @@ -376,19 +375,22 @@ %%%%%%%%%%%%%%%%% Headers and Title %%%%%%%%%%%%%%%%%%%%% +\gdef\@CDsep{\relax} +\newif\ifCD\CDfalse + \newcommand{\confname}[1]{\long\gdef\@ConfName{#1}} \providecommand\@ConfName{\hbox{ }} -\newcommand{\confdate}[1]{\gdef\@ConfDate{#1}} +\newcommand{\confdate}[1]{\gdef\@ConfDate{#1}\CDtrue} \providecommand\@ConfDate{\hbox{ }} -\newcommand{\confcity}[1]{\gdef\@ConfCity{#1}} +\newcommand{\confcity}[1]{\ifCD\gdef\@CDsep{,\space}\fi \gdef\@ConfCity{#1}} \providecommand\@ConfCity{\hbox{ }} \newcommand{\HeaderConfName}{% \parbox{\linewidth}{\raggedleft\bfseries\sffamily% -\@ConfName\par% -\@ConfDate,\space\@ConfCity% +\@ConfName\linebreak[4]%\par% +\@ConfDate\@CDsep\@ConfCity% }% } |