diff options
author | Karl Berry <karl@freefriends.org> | 2019-08-20 20:46:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-08-20 20:46:29 +0000 |
commit | 66afecf68fa69f2fa0d5cb78b10ba6d12795b931 (patch) | |
tree | fa829504bdac66ed328c25cbe9c414ffd94dd98b /Master/texmf-dist/tex | |
parent | b5e4bf9aac053e980e09044eb3241732e3a1c639 (diff) |
prtec (20aug19)
git-svn-id: svn://tug.org/texlive/trunk@51919 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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% }% } |