texlive[57537] Master/texmf-dist: asmeconf (27jan21)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 27 23:05:31 CET 2021


Revision: 57537
          http://tug.org/svn/texlive?view=revision&revision=57537
Author:   karl
Date:     2021-01-27 23:05:31 +0100 (Wed, 27 Jan 2021)
Log Message:
-----------
asmeconf (27jan21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
    trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
    trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
    trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2021-01-27 22:05:09 UTC (rev 57536)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2021-01-27 22:05:31 UTC (rev 57537)
@@ -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
  

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2021-01-27 22:05:09 UTC (rev 57536)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2021-01-27 22:05:31 UTC (rev 57537)
@@ -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 @@
 
 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.

Modified: trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2021-01-27 22:05:09 UTC (rev 57536)
+++ trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2021-01-27 22:05:31 UTC (rev 57537)
@@ -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,98 +1421,93 @@
 \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{\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{\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{\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{\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{\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{\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{\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{\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{\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{\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{\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{\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{\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{\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{\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
 
-\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}}
+\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  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \ifpdftex % Under lualatex, babel has problems with the following approach. Use [fontspec] option instead.



More information about the tex-live-commits mailing list.