diff options
author | Norbert Preining <norbert@preining.info> | 2021-01-27 03:00:30 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-01-27 03:00:30 +0000 |
commit | 71fd3749ed2ec982d2ef2863bf8e99760d33b562 (patch) | |
tree | 1fd604415fa31f3cfbc9d7c2289e07166097f292 /macros/latex/contrib/asmeconf | |
parent | 94ac70b92400e4b95d43d570ad53a713c036118b (diff) |
CTAN sync 202101270300
Diffstat (limited to 'macros/latex/contrib/asmeconf')
-rw-r--r-- | macros/latex/contrib/asmeconf/README.md | 6 | ||||
-rw-r--r-- | macros/latex/contrib/asmeconf/asmeconf-template.pdf | bin | 637772 -> 637547 bytes | |||
-rw-r--r-- | macros/latex/contrib/asmeconf/asmeconf-template.tex | 4 | ||||
-rw-r--r-- | macros/latex/contrib/asmeconf/asmeconf.cls | 175 |
4 files changed, 94 insertions, 91 deletions
diff --git a/macros/latex/contrib/asmeconf/README.md b/macros/latex/contrib/asmeconf/README.md index caa2ea960b..70d8dd097f 100644 --- a/macros/latex/contrib/asmeconf/README.md +++ b/macros/latex/contrib/asmeconf/README.md @@ -1,7 +1,7 @@ #asmeconf: A template for ASME conference papers# - Version 1.23 dated 2021/01/18. + Version 1.24 dated 2021/01/26. ####Overview#### This class provides a template to format ASME Conference papers according to @@ -77,6 +77,10 @@ ####Change log#### + v1.24 (2021/01/26): + - fix issue with math accents in headings & captions (Thanks to Beomjun Kye for reporting the problem) + - adjust code for sans-serif upright Greek letters + v1.23 (2021/01/18): - Several minor edits and corrections diff --git a/macros/latex/contrib/asmeconf/asmeconf-template.pdf b/macros/latex/contrib/asmeconf/asmeconf-template.pdf Binary files differindex 7749450f4c..917c11e071 100644 --- a/macros/latex/contrib/asmeconf/asmeconf-template.pdf +++ b/macros/latex/contrib/asmeconf/asmeconf-template.pdf diff --git a/macros/latex/contrib/asmeconf/asmeconf-template.tex b/macros/latex/contrib/asmeconf/asmeconf-template.tex index 728d9b7d51..90d45ed9b0 100644 --- a/macros/latex/contrib/asmeconf/asmeconf-template.tex +++ b/macros/latex/contrib/asmeconf/asmeconf-template.tex @@ -4,7 +4,7 @@ %% This file is asmeconf-template.tex, a template to format ASME Conference papers according to %% the requirements on ASME's conference web pages, and including hypertext support for the pdf. %% -%% This file is version 1.23 dated 2021/1/18 +%% This file is version 1.24 dated 2021/1/26 %% %% As of version 1.11, this template follows ASME's newer conference guidelines first posted July 2019. %% The new guidelines have changed the requested author block formatting to be inline. @@ -251,7 +251,7 @@ Sections may either be numbered or left unnumbered. Simple mathematical expressions can be used in either captions or section headings. For a section heading that includes more complicated math (and macros), you may use the optional argument of \verb|\section[..]{..}| to create a pdf bookmark without losing characters or producing warnings or errors. See the \texttt{asmeconf-template.tex} source file for examples of this procedure. These bookmarks should usually be text expressions, although some math is supported. -If you wish to override the default math format in captions, put \verb|\mathversion{normal}| in the caption. +To override the \texttt{sansbold} math version in captions, put \verb|\NoCaseChange{\mathversion{normal}}| in the caption. \subsection{Subsection and Sub-subsection Headings} Subsections and sub-subsection headings should be entered in title case, with the first letter of primary words capitalized. Sub-subsections (i.e., paragraphs) are never numbered. diff --git a/macros/latex/contrib/asmeconf/asmeconf.cls b/macros/latex/contrib/asmeconf/asmeconf.cls index c5b01acb43..0b151ded5f 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 2020. %% %% This file's version and date: - \def\versionno{1.23} - \def\versiondate{2021/01/18\space} + \def\versionno{1.24} + \def\versiondate{2021/01/26\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -751,15 +751,19 @@ %\renewcommand\footnotesize{\@setfontsize\footnotesize{8}{9.5}} % same as default -%% This provides sans serif italic and sans serif bold italic math. -%% These fonts are for use in the figure captions and section headings. Use \mathbf{..}, \mathversion{bold}, or \bm{..} elsewhere. +%% This provides sans-serif italic and sans-serif bold italic math. +%% These fonts are for use in the figure captions and section headings. +%% Use \mathbf{..}, \mathversion{bold}, or \bm{..} elsewhere. \DeclareMathVersion{sansbold} \SetSymbolFont{letters}{sansbold}{OML}{ntxsfmi}{b}{it} \SetSymbolFont{lettersA}{sansbold}{U}{ntxsfmia}{b}{it} \SetSymbolFont{symbols}{sansbold}{LMS}{ntxsy}{b}{n} +\SetSymbolFont{largesymbols}{sansbold}{LMX}{ntxexx}{b}{n}% added 25 Jan 2021 +\SetSymbolFont{largesymbolsTXA}{sansbold}{U}{ntxexa}{b}{n}% added 25 Jan 2021 \SetSymbolFont{operators}{sansbold}{\encodingdefault}{\sfdefault}{\bfdefault}{n} \SetMathAlphabet{\mathsf}{sansbold}{\encodingdefault}{\sfdefault}{b}{it} + % Nice solution from DPC to prevent aux file errors (due to active characters from babel) when switching from pdflatex to lualatex. \ifx\directlua\undefined \AtBeginDocument{\immediate\write\@auxout{\detokenize{% @@ -1417,97 +1421,92 @@ \RenewDocumentCommand{\date}{m}{\versionfootnote{#1}}% if one wants to use \date this same way; fixed bug 14/01/2021 -%%%%%%%%%%%%%% Special font definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%% Sans serif upright greek and sans mathversion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Provide sans serif upright Greek letters, following a suggestion by Michael Sharpe (March 2019). +%% Provide sans-serif *upright* Greek letters, following a suggestion by Michael Sharpe (March 2019). %% Following Sharpe's newtxsf implementation of the STIX fonts, under the LaTeX Project Public License. +%% (Note that \mathversion{sansbold} provides sans-serif *italic* Greek letters.) Various edits 25 Jan 2021 \DeclareSymbolFont{lettersAB}{U}{ntxsfmia}{m}{it} +\SetSymbolFont{lettersAB}{normal}{U}{ntxsfmia}{m}{it} \SetSymbolFont{lettersAB}{bold}{U}{ntxsfmia}{b}{it} +\SetSymbolFont{lettersAB}{sansbold}{U}{ntxsfmia}{b}{it}% added 25/01/2021, to get this bold in captions, etc. \DeclareFontSubstitution{U}{ntxsfmia}{m}{it} -\DeclareMathSymbol{\Gammaup}{\mathalpha}{lettersAB}{0} -\newcommand*{\sfGamma}{\text{\ensuremath\Gammaup}} - -\DeclareMathSymbol{\Deltaup}{\mathalpha}{lettersAB}{1} -\newcommand*{\sfDelta}{\text{\ensuremath\Deltaup}} -\DeclareMathSymbol{\Thetaup}{\mathalpha}{lettersAB}{2} -\newcommand*{\sfTheta}{\text{\ensuremath\Thetaup}} -\DeclareMathSymbol{\Lambdaup}{\mathalpha}{lettersAB}{3} -\newcommand*{\sfLambda}{\text{\ensuremath\Lambdaup}} -\DeclareMathSymbol{\Xiup}{\mathalpha}{lettersAB}{4} -\newcommand*{\sfXi}{\text{\ensuremath\Xiup}} -\DeclareMathSymbol{\Piup}{\mathalpha}{lettersAB}{5} -\newcommand*{\sfPi}{\text{\ensuremath\Piup}} - -\DeclareMathSymbol{\Sigmaup}{\mathalpha}{lettersAB}{6} -\newcommand*{\sfSigma}{\text{\ensuremath\Sigmaup}} -\DeclareMathSymbol{\Upsilonup}{\mathalpha}{lettersAB}{7} -\newcommand*{\sfUpsilon}{\text{\ensuremath\Upsilonup}} -\DeclareMathSymbol{\Phiup}{\mathalpha}{lettersAB}{8} -\newcommand*{\sfPhi}{\text{\ensuremath\Phiup}} -\DeclareMathSymbol{\Psiup}{\mathalpha}{lettersAB}{9} -\newcommand*{\sfPsi}{\text{\ensuremath\Psiup}} -\DeclareMathSymbol{\Omegaup}{\mathalpha}{lettersAB}{10} -\newcommand*{\sfOmega}{\text{\ensuremath\Omegaup}} - -\DeclareMathSymbol{\alphaup}{\mathalpha}{lettersAB}{11} -\newcommand*{\sfalpha}{\text{\ensuremath\alphaup}} -\DeclareMathSymbol{\betaup}{\mathalpha}{lettersAB}{12} -\newcommand*{\sfbeta}{\text{\ensuremath\betaup}} -\DeclareMathSymbol{\gammaup}{\mathalpha}{lettersAB}{13} -\newcommand*{\sfgamma}{\text{\ensuremath\gammaup}} -\DeclareMathSymbol{\deltaup}{\mathalpha}{lettersAB}{14} -\newcommand*{\sfdelta}{\text{\ensuremath\deltaup}} -\DeclareMathSymbol{\epsilonup}{\mathalpha}{lettersAB}{15} -\newcommand*{\sfepsilon}{\text{\ensuremath\epsilonup}} - -\DeclareMathSymbol{\zetaup}{\mathalpha}{lettersAB}{16} -\newcommand*{\sfzeta}{\text{\ensuremath\zetaup}} -\DeclareMathSymbol{\etaup}{\mathalpha}{lettersAB}{17} -\newcommand*{\sfeta}{\text{\ensuremath\etaup}} -\DeclareMathSymbol{\thetaup}{\mathalpha}{lettersAB}{18} -\newcommand*{\sftheta}{\text{\ensuremath\thetaup}} -\DeclareMathSymbol{\iotaup}{\mathalpha}{lettersAB}{19} -\newcommand*{\sfiota}{\text{\ensuremath\iotaup}} -\DeclareMathSymbol{\kappaup}{\mathalpha}{lettersAB}{20} -\newcommand*{\sfkappa}{\text{\ensuremath\kappaup}} - -\DeclareMathSymbol{\lambdaup}{\mathalpha}{lettersAB}{21} -\newcommand*{\sflambda}{\text{\ensuremath\lambdaup}} -\DeclareMathSymbol{\muup}{\mathalpha}{lettersAB}{22} -\newcommand*{\sfmu}{\text{\ensuremath\muup}} -\DeclareMathSymbol{\nuup}{\mathalpha}{lettersAB}{23} -\newcommand*{\sfnu}{\text{\ensuremath\nuup}} -\DeclareMathSymbol{\xiup}{\mathalpha}{lettersAB}{24} -\newcommand*{\sfxi}{\text{\ensuremath\xiup}} -\DeclareMathSymbol{\piup}{\mathalpha}{lettersAB}{25} -\newcommand*{\sfpi}{\text{\ensuremath\piup}} - -\DeclareMathSymbol{\rhoup}{\mathalpha}{lettersAB}{26} -\newcommand*{\sfrho}{\text{\ensuremath\rhoup}} -\DeclareMathSymbol{\sigmaup}{\mathalpha}{lettersAB}{27} -\newcommand*{\sfsigma}{\text{\ensuremath\sigmaup}} -\DeclareMathSymbol{\tauup}{\mathalpha}{lettersAB}{28} -\newcommand*{\sftau}{\text{\ensuremath\tauup}} -\DeclareMathSymbol{\upsilonup}{\mathalpha}{lettersAB}{29} -\newcommand*{\sfupsilon}{\text{\ensuremath\upsilonup}} -\DeclareMathSymbol{\phiup}{\mathalpha}{lettersAB}{30} -\newcommand*{\sfphi}{\text{\ensuremath\phiup}} - -\DeclareMathSymbol{\chiup}{\mathalpha}{lettersAB}{31} -\newcommand*{\sfchi}{\text{\ensuremath\chiup}} -\DeclareMathSymbol{\psiup}{\mathalpha}{lettersAB}{32} -\newcommand*{\sfpsi}{\text{\ensuremath\psiup}} -\DeclareMathSymbol{\omegaup}{\mathalpha}{lettersAB}{33} -\newcommand*{\sfomega}{\text{\ensuremath\omegaup}} - -\DeclareMathSymbol{\varepsilonup}{\mathalpha}{lettersAB}{34} -\newcommand*{\sfvarepsilon}{\text{\ensuremath\varepsilonup}} -\DeclareMathSymbol{\varthetaup}{\mathalpha}{lettersAB}{35} -\newcommand*{\sfvartheta}{\text{\ensuremath\varthetaup}} -\DeclareMathSymbol{\varomegaup}{\mathalpha}{lettersAB}{36} -\newcommand*{\sfvaromega}{\text{\ensuremath\varomegaup}} +\DeclareMathSymbol{\sfGamma}{\mathalpha}{lettersAB}{0}% adjust to avoid overwriting newtxmath commands 25/01/2021 +\DeclareMathSymbol{\sfDelta}{\mathalpha}{lettersAB}{1} +\DeclareMathSymbol{\sfTheta}{\mathalpha}{lettersAB}{2} +\DeclareMathSymbol{\sfLambda}{\mathalpha}{lettersAB}{3} +\DeclareMathSymbol{\sfXi}{\mathalpha}{lettersAB}{4} +\DeclareMathSymbol{\sfPi}{\mathalpha}{lettersAB}{5} + +\DeclareMathSymbol{\sfSigma}{\mathalpha}{lettersAB}{6} +\DeclareMathSymbol{\sfUpsilon}{\mathalpha}{lettersAB}{7} +\DeclareMathSymbol{\sfPhi}{\mathalpha}{lettersAB}{8} +\DeclareMathSymbol{\sfPsi}{\mathalpha}{lettersAB}{9} +\DeclareMathSymbol{\sfOmega}{\mathalpha}{lettersAB}{10} + +\DeclareMathSymbol{\sfalpha}{\mathalpha}{lettersAB}{11} +\DeclareMathSymbol{\sfbeta}{\mathalpha}{lettersAB}{12} +\DeclareMathSymbol{\sfgamma}{\mathalpha}{lettersAB}{13} +\DeclareMathSymbol{\sfdelta}{\mathalpha}{lettersAB}{14} +\DeclareMathSymbol{\sfepsilon}{\mathalpha}{lettersAB}{15} + +\DeclareMathSymbol{\sfzeta}{\mathalpha}{lettersAB}{16} +\DeclareMathSymbol{\sfeta}{\mathalpha}{lettersAB}{17} +\DeclareMathSymbol{\sftheta}{\mathalpha}{lettersAB}{18} +\DeclareMathSymbol{\sfiota}{\mathalpha}{lettersAB}{19} +\DeclareMathSymbol{\sfkappa}{\mathalpha}{lettersAB}{20} + +\DeclareMathSymbol{\sflambda}{\mathalpha}{lettersAB}{21} +\DeclareMathSymbol{\sfmu}{\mathalpha}{lettersAB}{22} +\DeclareMathSymbol{\sfnu}{\mathalpha}{lettersAB}{23} +\DeclareMathSymbol{\sfxi}{\mathalpha}{lettersAB}{24} +\DeclareMathSymbol{\sfpi}{\mathalpha}{lettersAB}{25} + +\DeclareMathSymbol{\sfrho}{\mathalpha}{lettersAB}{26} +\DeclareMathSymbol{\sfsigma}{\mathalpha}{lettersAB}{27} +\DeclareMathSymbol{\sftau}{\mathalpha}{lettersAB}{28} +\DeclareMathSymbol{\sfUpsilon}{\mathalpha}{lettersAB}{29} +\DeclareMathSymbol{\sfphi}{\mathalpha}{lettersAB}{30} + +\DeclareMathSymbol{\sfchi}{\mathalpha}{lettersAB}{31} +\DeclareMathSymbol{\sfpsi}{\mathalpha}{lettersAB}{32} +\DeclareMathSymbol{\sfomega}{\mathalpha}{lettersAB}{33} +\DeclareMathSymbol{\sfvarepsilon}{\mathalpha}{lettersAB}{34} +\DeclareMathSymbol{\sfvartheta}{\mathalpha}{lettersAB}{35} + +\DeclareMathSymbol{\sfvarpi}{\mathord}{lettersAB}{36}% added these 25/01/2021 +\DeclareMathSymbol{\sfvarrho}{\mathord}{lettersAB}{37} +\DeclareMathSymbol{\sfvarsigma}{\mathord}{lettersAB}{38} +\DeclareMathSymbol{\sfvarphi}{\mathord}{lettersAB}{39} +\DeclareMathSymbol{\sfitvarkappa}{\mathalpha}{lettersAB}{40} +\DeclareMathSymbol{\sfvarkappa}{\mathalpha}{lettersAB}{40} +\DeclareMathSymbol{\sfitnabla}{\mathalpha}{lettersAB}{42} +\DeclareMathSymbol{\sfnabla}{\mathalpha}{lettersAB}{43} +\DeclareMathSymbol{\sfhslash}{\mathalpha}{lettersAB}{52}% this is not upright +\DeclareMathSymbol{\sfhbar}{\mathalpha}{lettersAB}{53}% this is not upright + +\DeclareMathAccent{\grave}{\mathord}{lettersAB}{254}% added these after bug report 24/01/2021 +\DeclareMathAccent{\acute}{\mathord}{lettersAB}{255} +\DeclareMathAccent{\check}{\mathord}{lettersAB}{186} +\DeclareMathAccent{\breve}{\mathord}{lettersAB}{187} +\DeclareMathAccent{\bar}{\mathord}{lettersAB}{221} +\DeclareMathAccent{\mathring}{\mathord}{lettersAB}{222} +\DeclareMathAccent{\hat}{\mathord}{lettersAB}{223} +\DeclareMathAccent{\dot}{\mathord}{lettersAB}{224} +\DeclareMathAccent{\tilde}{\mathord}{lettersAB}{219} + +%%% sans math version, potential value with PGFPlots, e.g., not for use in main text. 25/01/2021 %%% +\DeclareMathVersion{sans} +\SetSymbolFont{letters}{sans}{OML}{ntxsfmi}{m}{it} +\SetSymbolFont{lettersA}{sans}{U}{ntxsfmia}{m}{it} +\SetSymbolFont{lettersAB}{sans}{U}{ntxsfmia}{m}{it} +\SetSymbolFont{symbols}{sans}{LMS}{ntxsy}{m}{n} +\SetSymbolFont{largesymbols}{sans}{LMX}{ntxexx}{m}{n} +\SetSymbolFont{largesymbolsTXA}{sans}{U}{ntxexa}{m}{n} +\SetSymbolFont{operators}{sans}{\encodingdefault}{\sfdefault}{m}{n} +\SetMathAlphabet{\mathsf}{sans}{\encodingdefault}{\sfdefault}{m}{it} %%%%%%%%%%%%%%%%%% Times-like fonts for specific languages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |