texlive[51919] Master/texmf-dist: prtec (20aug19)

commits+karl at tug.org commits+karl at tug.org
Tue Aug 20 22:46:30 CEST 2019


Revision: 51919
          http://tug.org/svn/texlive?view=revision&revision=51919
Author:   karl
Date:     2019-08-20 22:46:29 +0200 (Tue, 20 Aug 2019)
Log Message:
-----------
prtec (20aug19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/prtec/PRTEC19-template.pdf
    trunk/Master/texmf-dist/doc/latex/prtec/README.md
    trunk/Master/texmf-dist/tex/latex/prtec/prtec.cls

Modified: trunk/Master/texmf-dist/doc/latex/prtec/PRTEC19-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/prtec/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/prtec/README.md	2019-08-20 20:45:38 UTC (rev 51918)
+++ trunk/Master/texmf-dist/doc/latex/prtec/README.md	2019-08-20 20:46:29 UTC (rev 51919)
@@ -1,6 +1,6 @@
   #prtec -- A template for PRTEC conference papers#
  
-  Version 1.05 dated 2019/04/28.
+  Version 1.06 dated 2019/08/20.
   
   ####Overview####
   This class provides a LaTeX template to format extended abstracts for the 
@@ -50,6 +50,8 @@
  
  ####Version History####
  
+ v1.06 -- correct nofoot option to fully clear header
+ 
  v1.05 -- edits to .bst to better support urls; minor edit to \\entry
 
  v1.04 -- edit documentation

Modified: trunk/Master/texmf-dist/tex/latex/prtec/prtec.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/prtec/prtec.cls	2019-08-20 20:45:38 UTC (rev 51918)
+++ trunk/Master/texmf-dist/tex/latex/prtec/prtec.cls	2019-08-20 20:46:29 UTC (rev 51919)
@@ -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%
     }%
 }
 



More information about the tex-live-commits mailing list