summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/asmejour
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-08 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2019-11-08 03:00:45 +0000
commit378b2ba55f417b42b93d9edb06dd4d007872f8b9 (patch)
tree293121092c933d279f85a62eb4db94b0c451c0e6 /macros/latex/contrib/asmejour
parent2e1d63b8ed8c6b7c6d206bfe9e2712797108e8bd (diff)
CTAN sync 201911080300
Diffstat (limited to 'macros/latex/contrib/asmejour')
-rw-r--r--macros/latex/contrib/asmejour/README.md4
-rw-r--r--macros/latex/contrib/asmejour/asmejour-template.pdfbin476968 -> 476955 bytes
-rw-r--r--macros/latex/contrib/asmejour/asmejour-template.tex9
-rw-r--r--macros/latex/contrib/asmejour/asmejour.cls17
4 files changed, 17 insertions, 13 deletions
diff --git a/macros/latex/contrib/asmejour/README.md b/macros/latex/contrib/asmejour/README.md
index 6a64280884..6c30bc0159 100644
--- a/macros/latex/contrib/asmejour/README.md
+++ b/macros/latex/contrib/asmejour/README.md
@@ -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.
diff --git a/macros/latex/contrib/asmejour/asmejour-template.pdf b/macros/latex/contrib/asmejour/asmejour-template.pdf
index 4fd675cc23..69c3bf0361 100644
--- a/macros/latex/contrib/asmejour/asmejour-template.pdf
+++ b/macros/latex/contrib/asmejour/asmejour-template.pdf
Binary files differ
diff --git a/macros/latex/contrib/asmejour/asmejour-template.tex b/macros/latex/contrib/asmejour/asmejour-template.tex
index 9d06d1adc1..c6ea3b60f0 100644
--- a/macros/latex/contrib/asmejour/asmejour-template.tex
+++ b/macros/latex/contrib/asmejour/asmejour-template.tex
@@ -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 @@ This paper is an example and template for the {\upshape\texttt{asmejour}} class.
\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 @@ ASME publishes in English, but the \texttt{babel} package is loaded for
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}
diff --git a/macros/latex/contrib/asmejour/asmejour.cls b/macros/latex/contrib/asmejour/asmejour.cls
index c75f8ea76d..87bd31d377 100644
--- a/macros/latex/contrib/asmejour/asmejour.cls
+++ b/macros/latex/contrib/asmejour/asmejour.cls
@@ -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@key{asmejour}{lang}[english]{%
- \PassOptionsToPackage{#1}{babel}%
+ \PassOptionsToPackage{main=#1}{babel}%
}
\define@key{asmejour}{lang-second}[english]{%
\PassOptionsToPackage{#1}{babel}%
@@ -267,8 +269,7 @@
\providecommand{\nomname}{Nomenclature}
\providecommand{\keywordname}{Keywords}
\providecommand{\appendicesname}{Appendices}
-
-
+ \providecommand{\CAwords}{Corresponding Author}
%%%%%%%%%%%%%%%%% EQUATION AND LINE NUMBERING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -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%
}{%
- \@itempenalty=-\@lowpenalty%
\item[\hfill#1${} = {}$]#2%
- \setlength\itemsep\savitemsep
+ \@itempenalty=-\@lowpenalty%
+ \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
}