diff options
Diffstat (limited to 'macros/latex/contrib/asmeconf/asmeconf.cls')
-rw-r--r-- | macros/latex/contrib/asmeconf/asmeconf.cls | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/macros/latex/contrib/asmeconf/asmeconf.cls b/macros/latex/contrib/asmeconf/asmeconf.cls index 8a2a2c952f..e513eee7b8 100644 --- a/macros/latex/contrib/asmeconf/asmeconf.cls +++ b/macros/latex/contrib/asmeconf/asmeconf.cls @@ -5,8 +5,8 @@ %% ASME conference requirements as represented on ASME's conference web pages in 2022. %% %% This file's version and date: - \def\versionno{1.28} - \def\versiondate{2022/02/14\space} + \def\versionno{1.29} + \def\versiondate{2022/03/10\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -349,9 +349,9 @@ \DeclareOption{lineno}{\ac@linenotrue} %% option to omit ASME footer [nofoot] -\DeclareOption{nofoot}{% - \AtBeginDocument{\pagestyle{plain}}% -} +\newif\ifac@nofoot\ac@nofootfalse +\DeclareOption{nofoot}{\ac@nofoottrue} + %%% option [contractor] to obtain government contractor copyright notice. \newif\ifac@contractor\ac@contractorfalse @@ -507,12 +507,12 @@ \RequirePackage[]{babel} \ifpdftex - \RequirePackage[]{newtxtext} - \RequirePackage[varqu,varl]{inconsolata}% sans typewriter font + \RequirePackage[helvratio=.91]{newtxtext}% rescaled 22/03/10 + \RequirePackage[varqu,varl,scale=1.05]{inconsolata}% sans typewriter font % rescaled 22/03/10 \RequirePackage[]{newtxmath} \else \ifac@fontspec - \RequirePackage[varqu,varl]{inconsolata} % typewriter font for math + \RequirePackage[varqu,varl]{inconsolata} % typewriter font for math \renewcommand\rmdefault{ntxtlf} % roman font for math \RequirePackage[T1]{fontenc} % qhv is not TU encoded, 2021/12/24 \DeclareFontFamily{T1}{\sfdefault}{} % sf for math @@ -538,11 +538,11 @@ BoldFont = *-bold, BoldItalicFont = *-bolditalic, Numbers = Lining, - Scale=0.94,% same as for newtx; former value 0.9 too small 2022/01/15 + Scale=0.91,% same as for newtx; former value 0.9 too small 2022/01/15 ] \setmonofont{Inconsolatazi4}[% This otf font ships with the LaTeX Inconsolata package (it's in TeX Live) \MonoNotMono,% match newtxtext if we enable wordspacing - Scale=1, + Scale=1.05,% rescaled from 1, 22/03/10 Extension = .otf, UprightFont = *-Regular, ItalicFont = *-Regular,% has no italic face @@ -905,8 +905,8 @@ \babelprovide[import, captions/abstract = Muhtasari, language = Default]{swahili} % \else % use lualatex without font support for other languages (easier set-up and still enables luacode for numerics) - \RequirePackage[nofontspec]{newtxtext}% will lose some accented characters this way ... better to use fontspec - \RequirePackage[varqu,varl]{inconsolata}% sans typewriter font + \RequirePackage[nofontspec,helvratio=0.91]{newtxtext}% will lose some accented characters this way ... better to use fontspec + \RequirePackage[varqu,varl,scale=1.05]{inconsolata}% sans typewriter font \RequirePackage[]{newtxmath} \fi \fi @@ -999,6 +999,9 @@ \fancyfoot[CE,CO]{\@SetFont\thepage\\[1ex]\footnotesize The United States Government retains, and by accepting the article for publication, the publisher acknowledges that the United States Government retains, a non-exclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for United States Government purposes.} \fi +\ifac@nofoot + \fancyfoot[RO,RE]{} +\fi %%%%%% footnotes %%%%%%% \RequirePackage{fnpos} |