texlive[52728] Master/texmf-dist: asmejour

commits+karl at tug.org commits+karl at tug.org
Sun Nov 10 23:10:15 CET 2019


Revision: 52728
          http://tug.org/svn/texlive?view=revision&revision=52728
Author:   karl
Date:     2019-11-10 23:10:15 +0100 (Sun, 10 Nov 2019)
Log Message:
-----------
asmejour

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

Modified: trunk/Master/texmf-dist/doc/latex/asmejour/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmejour/README.md	2019-11-10 22:09:48 UTC (rev 52727)
+++ trunk/Master/texmf-dist/doc/latex/asmejour/README.md	2019-11-10 22:10:15 UTC (rev 52728)
@@ -1,7 +1,7 @@
  
   #asmejour: A template for ASME journal papers#
  
-  Version 1.08 dated 2019/11/06.
+  Version 1.09 dated 2019/11/07.
 
   ####Overview####
   This class provides a template to format preprints submitted to ASME journals in the style that 
@@ -57,6 +57,8 @@
  
  ####Change log####
 
+v1.09: adjust nomenclature list; edit language support
+
 v1.08: adjust penalties in nomenclature list; fix minor typos in template
 
 v1.07: add commands for \\toprule, \\midrule, and \\bottomrule in ASME style; add advice on landscape material; minor edits to \\entry and for language support.

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

Modified: trunk/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex	2019-11-10 22:09:48 UTC (rev 52727)
+++ trunk/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex	2019-11-10 22:10:15 UTC (rev 52728)
@@ -3,7 +3,7 @@
 %%  This file is asmejour-template.tex, a template to format papers in the style of ASME journal papers 
 %%  as they are being published in 2019.
 %%
-%%  This file is version 1.08 dated 2019/11/06
+%%  This file is version 1.09 dated 2019/11/07
 %%
 %%  Author: John H. Lienhard V
 %%          Department of Mechanical Engineering
@@ -43,7 +43,8 @@
 %%          *    for slightly larger small capitals, largesc
 %%
 %%          * Options to set (for the babel package) a primary language [lang= ], and secondary or tertiary
-%%          *    languages, [lang-second] and [lang-third].  The primary language must be the last option given.
+%%          *    languages, [lang-second] and [lang-third].  If no option is given, english is the main language.
+%%			*	 If a secondary or tertiary language is selected, a primary language must also be specified.
 %%
 %%          * Option to allow hyphenation of the typewriter font [hyphenate]
 %%          *    Hyphenation is normally suppressed for typewriter mode because it is often used for code.
@@ -151,7 +152,7 @@
 \end{abstract}
 
 
-\date{Version 1.06, \today} %% can modify this information as desired. 
+\date{Version \versionno, \today} %% can modify this information as desired. 
 							%% Putting \date{} will suppress any date.  
 							%% If this command is omitted, date defaults to \today
 							%% This command must come somewhere before \maketitle
@@ -549,7 +550,7 @@
 users who may wish to include other languages. Options are supported to load a primary language, \texttt{lang=}, as well
 as a secondary and tertiary language, \texttt{lang-second} and \texttt{lang-third}.  The primary language must be given as the \textit{last} language option in  \verb|\documentclass|.  
 
-If no language option is given, the package defaults to English. The standard caption and section names will follow \texttt{babel}'s dictionary for primary languages other than English.  Users may additionally change ``Keywords'' and ``Nomenclature'' by renewing the commands \verb|\keywordname| and \verb|\nomname|. Changes to the page footer were described earlier.  The pdf bookmark for ``Appendices'' by be changed by renewing \verb|\appendicesname|.
+If no language option is given, the package defaults to English. The standard caption and section names will follow \texttt{babel}'s dictionary for primary languages other than English.  Users may additionally change ``Keywords'', ``Nomenclature'', and  ``Corresponding author'' by renewing the commands \verb|\keywordname|, \verb|\nomname|, and \verb|\CAwords|. Changes to the page footer were described earlier. The pdf bookmark for ``Appendices'' by be changed by renewing \verb|\appendicesname|.
 
 An example of use is shown in \selectlanguage{french}\appendixname\ \ref{app:fourier}.\selectlanguage{english}
 

Modified: trunk/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/asmejour/asmejour.cls	2019-11-10 22:09:48 UTC (rev 52727)
+++ trunk/Master/texmf-dist/tex/latex/asmejour/asmejour.cls	2019-11-10 22:10:15 UTC (rev 52728)
@@ -6,7 +6,9 @@
 %%  The asmejour.cls file should be used with the files asmejour.bst (for citations) and asmejour-template.tex.
 %%
 %%
-%%  This file is version 1.08 dated 2019/11/06.
+%%  This file is version 1.09 dated 2019/11/07.
+		\def\versionno{1.09}
+		\def\versiondate{2019/11/07\space}
 %%
 %%  Author: John H. Lienhard V
 %%          Department of Mechanical Engineering
@@ -52,7 +54,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{asmejour}[2019/11/06 asmejour paper format]
+\ProvidesClass{asmejour}[\versiondate asmejour paper format]
 
 \LoadClass[twoside,9pt,twocolumn]{extarticle}
 
@@ -112,7 +114,7 @@
 \PassOptionsToPackage{english}{babel}
 
 \define at key{asmejour}{lang}[english]{%
-      \PassOptionsToPackage{#1}{babel}%
+      \PassOptionsToPackage{main=#1}{babel}%
 }
 \define at key{asmejour}{lang-second}[english]{%
       \PassOptionsToPackage{#1}{babel}%
@@ -267,9 +269,8 @@
   \providecommand{\nomname}{Nomenclature}  
   \providecommand{\keywordname}{Keywords}
   \providecommand{\appendicesname}{Appendices}
+  \providecommand{\CAwords}{Corresponding Author}
 
-
-
 %%%%%%%%%%%%%%%%%  EQUATION AND LINE NUMBERING  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %% ASME puts equation tags in blue
@@ -544,9 +545,9 @@
              \itemsep12\p@ plus 4\p@ minus 4\p@% \bigskip
              \goodbreak\item[\bfseries#1\hfill]\itemsep3\p@ plus 1\p@ minus 1\p@\@itempenalty=1000%
 			 }{%
+             \item[\hfill#1${} = {}$]#2%
 			 \@itempenalty=-\@lowpenalty%
-             \item[\hfill#1${} = {}$]#2%
-             \setlength\itemsep\savitemsep
+             \setlength\itemsep\savitemsep%
              \settowidth\@widest{#1${} = {}$}%
              \ifdim\@widest>\widest \global\setlength\widest\@widest\fi%
              }
@@ -727,7 +728,7 @@
 ]
 \ifCA 
  \addtocounter{footnote}{1}
- \footnotetext{Corresponding author\@CAsep \@CAemail}
+ \footnotetext{\CAwords\@CAsep \@CAemail}
 \fi
 \ifDate\revfootnote{\@Date} \else\relax \fi
 }



More information about the tex-live-commits mailing list