diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-11 21:47:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-11 21:47:38 +0000 |
commit | 7a35ddea2c89a32714b0ee82b0d7b897b2e239ec (patch) | |
tree | ec81dc6583963b2b5079f947565bd8d21a1b3691 /Master/texmf-dist/tex | |
parent | 3bdcee46068093dea8aeff84697e9207eed0ced7 (diff) |
asmeconf (11dec20)
git-svn-id: svn://tug.org/texlive/trunk@57113 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls b/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls index 2f1932a0d89..987fa06e911 100644 --- a/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls +++ b/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls @@ -5,9 +5,9 @@ %% %% Please note that ASME's journals follow specifications different from ASME conference papers. %% -%% This file is version 1.20 dated 2020/11/08. - \def\versionno{1.20} - \def\versiondate{2020/11/08\space} +%% This file's version and date: + \def\versionno{1.21} + \def\versiondate{2020/12/10\space} %% %% Author: John H. Lienhard V %% Department of Mechanical Engineering @@ -29,7 +29,7 @@ %% CTAN (https://ctan.org/). %% %% The Times/Helvetica style fonts are from Michael Sharpe's excellent newtxtext and newtxmath packages; -%% version 1.5 or higher of newtxmath is recommended. +%% version 1.60 or higher of newtxmath is recommended. %% %% This class is not designed for unicode-math or fontspec, given that the ASME conference style is %% specific with respect to the font selections. @@ -122,7 +122,7 @@ %%% for mathalfa, we may now pass options in this format: mathalfa=cal=euler, mathalfa=frak=boondox \define@key{asmeconf}{mathalfa}{% - \PassOptionsToPackage{#1}{mathalfa}% + \PassOptionsToPackage{#1}{mathalfa}% } %%% set key [nodefaultsups] to obtain newtx superiors font for footnotes. @@ -544,14 +544,14 @@ \providecommand{\@keywords}{\relax} -\DeclareDocumentCommand{\keywords}{m}{% +\NewDocumentCommand{\keywords}{m}{% \IfNoValueTF{#1}{% \relax}{% \long\def\@keywords{\par\smallskip\noindent{\bfseries\sffamily \keywordname:} #1}% } } -\DeclareDocumentEnvironment{abstract}{}{% +\DeclareDocumentEnvironment{abstract}{}{% Overwrites existing abstract environment \section*{\abstractname}\itshape% } {\upshape\@keywords%\medskip% @@ -568,7 +568,7 @@ %% If second argument of \entry is omitted, will produce an italicized heading (e.g. "Greek letters") %% -\DeclareDocumentCommand{\entry}{m g}{% +\NewDocumentCommand{\entry}{m g}{% \IfNoValueTF{#2}{% \itemsep3\p@ plus 1\p@ minus 1\p@% \goodbreak\item[\itshape#1\hfill]\setlength\itemsep\savitemsep\@itempenalty=1000%\nopagebreak% \smallskip @@ -578,7 +578,7 @@ }% } -\DeclareDocumentEnvironment{nomenclature}{O{2em} O{\nomname}}{% +\NewDocumentEnvironment{nomenclature}{O{2em} O{\nomname}}{% \setlength\columnsep{2em} \setlength{\nomenwidth}{#1} \section*{#2} @@ -610,10 +610,11 @@ \providecommand\@ConfCity{\hbox{ }} \newcommand{\HeaderConfName}{% -\parbox{\linewidth}{\raggedleft\bfseries\sffamily% -\@ConfName\par% -\MakeTextUppercase{\@ConfAcronym}\par -\@ConfDate\@ConfCity% + \parbox{\linewidth}{% + \raggedleft\bfseries\sffamily% + \@ConfName\par% + \MakeTextUppercase{\@ConfAcronym}\par + \@ConfDate\@ConfCity% }% } @@ -621,9 +622,9 @@ \providecommand\@PaperNo{\protect\phantom{NO.}} \newcommand{\paperno}{% -\vspace*{2\baselineskip} -\parbox{\linewidth}{\raggedleft\bfseries\sffamily\LARGE% -\MakeTextUppercase{\@PaperNo}% + \vspace*{2\baselineskip} + \parbox{\linewidth}{\raggedleft\bfseries\sffamily\LARGE% + \MakeTextUppercase{\@PaperNo}% }% } @@ -651,7 +652,7 @@ %%%% option to retain original grid layout of authors \ifthenelse{\boolean{Oldauthors}}{% -%%%%%%%%%%%%%%%%%%%% Old author layout %%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%% Gridded author layout %%%%%%%%%%%%%%%%%%%%%%%%% \NewCoffin{\authorblock} @@ -670,7 +671,7 @@ \newlength{\coffinsep} %% horizontal space between coffins \setlength{\coffinsep}{0.03\textwidth} -\DeclareDocumentCommand\SetAuthorBlock{m m}{% +\NewDocumentCommand\SetAuthorBlock{m m}{% \addtocounter{authorno}{1}% \SetVerticalCoffin{\authorblock}{0.3\textwidth}{% \centering\sffamily% @@ -713,7 +714,7 @@ \fi } -\DeclareDocumentCommand{\ConstructAuthorBlock}{}{% +\NewDocumentCommand{\ConstructAuthorBlock}{}{% \ifnum\value{authorno}>3 \JoinCoffins\firstrowauthorblock[hc,b]\secondrowauthorblock[hc,t](0pt, -1.5\baselineskip) \fi @@ -727,7 +728,7 @@ \newif\ifCA\CAfalse % allow for NO email address to be given by omitting second argument -\DeclareDocumentCommand{\CorrespondingAuthor}{m g}{% +\NewDocumentCommand{\CorrespondingAuthor}{m g}{% \global\CAtrue% \IfNoValueTF{#2}{% \gdef\@CAsep{\relax}% @@ -743,7 +744,7 @@ %% Flag for joint first authors (two or more) \newif\ifJA\JAfalse -\DeclareDocumentCommand{\JointFirstAuthor}{}{% +\NewDocumentCommand{\JointFirstAuthor}{}{% \global\JAtrue% \renewcommand*{\thefootnote}{\fnsymbol{footnote}}% \ignorespaces\footnotemark[2]% @@ -752,7 +753,7 @@ %%% otherwise use new compact layout of authors }{% i.e., this begins "else" -%%%%%%%%%%%%%%%%%%%%%% New author layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% New author layout (inline) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NewCoffin{\AuthorBlock} \NewCoffin{\AffiliationBlock} @@ -760,7 +761,7 @@ %% NB: \parbox width to \textwidth (full page) not \linewidth (single column) \SetHorizontalCoffin\AffiliationsBlock{} -\DeclareDocumentCommand{\SetAuthors}{m}{% +\NewDocumentCommand{\SetAuthors}{m}{% \SetHorizontalCoffin\AuthorBlock{% \parbox{\textwidth}{\centering\sffamily\bfseries\ignorespaces#1\ignorespaces}% } @@ -769,7 +770,7 @@ \def\@makefnmark{\hbox{\@textsuperscript{\sffamily\@thefnmark}}}% -\DeclareDocumentCommand{\SetAffiliation}{m m}{% +\NewDocumentCommand{\SetAffiliation}{m m}{% \SetVerticalCoffin\AffiliationBlock{\textwidth}{% \centering\sffamily\footnotemark[#1]#2\ignorespaces% } @@ -784,7 +785,7 @@ \newif\ifCA\CAfalse % allow for NO email address to be given by omitting the argument (g argument is deprecated, seems to have trouble with \IfNoValueTF) %% corrected spacing error 24 Jan 2020 -\DeclareDocumentCommand{\CorrespondingAuthor}{g}{% +\NewDocumentCommand{\CorrespondingAuthor}{g}{% \ignorespaces$\bm{^\ast}$% \global\CAtrue% % \IfNoValueTF{#1}{% @@ -800,13 +801,13 @@ %%% Flag for joint first authors (two or more) \newif\ifJA\JAfalse -\DeclareDocumentCommand{\JointFirstAuthor}{}{% +\NewDocumentCommand{\JointFirstAuthor}{}{% \global\JAtrue% $\bm{^\dagger}$% } %%% Affiliation mark -\DeclareDocumentCommand{\affil}{m}{% +\NewDocumentCommand{\affil}{m}{% {\bfseries\footnotemark[#1]}% } @@ -848,7 +849,7 @@ %%% -\DeclareDocumentCommand{\SetAuthorBlock}{}{% +\NewDocumentCommand{\SetAuthorBlock}{}{% \let\savethefootnote\thefootnote \JoinCoffins\AuthorBlock[hc,b]\AffiliationsBlock[hc,t](0pt,-\baselineskip) \centerline{\TypesetCoffin\AuthorBlock} @@ -867,7 +868,7 @@ %%%% Make the title and author section -\DeclareDocumentCommand{\MakeTitlePage}{}{% +\NewDocumentCommand{\MakeTitlePage}{}{% \twocolumn[ \begin{@twocolumnfalse} \HeaderConfName @@ -901,10 +902,10 @@ \RenewDocumentCommand{\thanks}{m}{\relax} %% disabling this standard command, as it is inconsistent with the format %% Produces an unmarked footnote about the version date, to replace "date" -%% This is for editing and should note be used in the final draft +%% This is for editing and should not be used in the final draft \NewDocumentCommand{\versionfootnote}{m}{\begin{NoHyper}\gdef\@thefnmark{}\@footnotetext{#1}\end{NoHyper}} -\RenewDocumentCommand{\date}{m}{\versionfootnote} %% in case someone wants to use \date this way. +\RenewDocumentCommand{\date}{m}{\versionfootnote} %% in case someone wants to use \date this way. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |