summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/asmeconf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-07 21:26:15 +0000
committerKarl Berry <karl@freefriends.org>2019-04-07 21:26:15 +0000
commitd578aaf87d2c19066d0ab502d7d2fbce79edf15e (patch)
tree7e5bcacb966ea30f54077c8366b432ac2a172fd2 /Master/texmf-dist/tex/latex/asmeconf
parentd7b336d29865600e490cf2c0a4e209e13cb2988c (diff)
asmeconf (7apr19)
git-svn-id: svn://tug.org/texlive/trunk@50845 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/asmeconf')
-rw-r--r--Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls28
1 files changed, 9 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls b/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
index 697ef82537c..899d09840f9 100644
--- a/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
+++ b/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
@@ -5,7 +5,7 @@
%%
%% Please note that ASME's journals follow specifications different from ASME conference papers.
%%
-%% This file is version 1.02 dated 2019/04/04.
+%% This file is version 1.03 dated 2019/04/06.
%%
%% Author: John H. Lienhard V
%% Department of Mechanical Engineering
@@ -144,14 +144,13 @@
%%%% font size selection %%%%%%%%
%%%% ASME's specs differ from latex standard article-10 class %%%
-\makeatletter
\renewcommand\LARGE{\@setfontsize\LARGE{15}{18}} %... default is 17
\renewcommand\Large{\@setfontsize\Large{12}{14.5}} %... default is 14
\renewcommand\large{\@setfontsize\large{11}{13.6}} %... default is 12
\renewcommand\normalsize{\@setfontsize\normalsize{10}{12}}
\renewcommand\small{\@setfontsize\small{9}{10.8}}
\renewcommand\footnotesize{\@setfontsize\footnotesize{8}{9.6}}
-\makeatother
+
%%%%%% footer %%%%%%%
@@ -179,10 +178,8 @@
}
%% reduce indentation of footnotes
-\makeatletter
\renewcommand\@makefntext[1]{%
\noindent\makebox[2ex][r]{\@makefnmark}#1}
-\makeatother
%%%%%%%%% CAPTION RELATED %%%%%%%%%%%%%%%%
@@ -285,11 +282,9 @@
%% Let's also add \footnote to the \TextUppercase exception list, so that footnote text won't be capitalized
%% if given in section headings
-\RequirePackage{xpatch}
- \makeatletter
- \xpatchcmd{\@uclcnotmath}{\@nonchangecase\ref}{\@nonchangecase\ref\@nonchangecase\footnote}{}{}
- \makeatother
-
+\RequirePackage{xpatch}
+\xpatchcmd{\@uclcnotmath}{\@nonchangecase\ref}{\@nonchangecase\ref\@nonchangecase\footnote}{}{}
+
%%% Create an optional argument for unnumbered sections and set pdf bookmark (thru \addcontentsline).
%%% The optional argument will manually set the pdf bookmark for that section; can be used to avoid hyperref
@@ -315,7 +310,7 @@
%% Abstract environment
%% \keywords command should be given someplace before the \end{abstract} command.
-\makeatletter
+
\providecommand{\@keywords}{\relax}
\DeclareDocumentCommand{\keywords}{m}{%
@@ -331,7 +326,6 @@
{\@keywords\bigskip%
}
-\makeatother
%% Nomenclature environment.
%% Increase first optional argument to a dimension > 2em if wide entries cause undesired misalignment of columns.
@@ -358,8 +352,6 @@
%%%%%%%%%%%%%%%%% Headers and Title %%%%%%%%%%%%%%%%%%%%%
-\makeatletter
-
\newcommand{\ConfName}[1]{\long\gdef\@ConfName{#1}}
\providecommand\@ConfName{\hbox{ }}
@@ -400,7 +392,6 @@
}%
}
-\makeatother
%%%%%%%%%%% Author block %%%%%%%%%%%%%%%%
@@ -480,7 +471,7 @@
\let\savethefootnote\thefootnote
%% Flag for corresponding author (expecting just one, but if two enter both email addresses and flag both authors)
-\makeatletter
+
\newif\ifCA\CAfalse
\newcommand{\CAemail}[1]{\gdef\@CAemail{#1}}
@@ -492,7 +483,7 @@
}
%% Flag for joint first authors (two or more)
-\makeatletter
+
\newif\ifJA\JAfalse
\DeclareDocumentCommand{\JointFirstAuthor}{}{%
@@ -523,10 +514,9 @@
\fi
\let\thefootnote\savethefootnote
}
-\makeatother
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Provide sans serif upright Greek letters, following a suggestion
%% to the class author by Michael Sharpe (March 2019).