texlive[64901] Master/texmf-dist: hep-math-font (2nov22)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 2 23:02:15 CET 2022


Revision: 64901
          http://tug.org/svn/texlive?view=revision&revision=64901
Author:   karl
Date:     2022-11-02 23:02:15 +0100 (Wed, 02 Nov 2022)
Log Message:
-----------
hep-math-font (2nov22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib
    trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.pdf
    trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex
    trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-implementation.pdf
    trunk/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx
    trunk/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty

Modified: trunk/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib	2022-11-02 22:01:53 UTC (rev 64900)
+++ trunk/Master/texmf-dist/doc/fonts/hep-math-font/bibliography.bib	2022-11-02 22:02:15 UTC (rev 64901)
@@ -21,7 +21,7 @@
 author = "Jan Hajer",
 year = "2021",
 eprinttype = "ctan",
-eprint = "hep-acronyms",
+eprint = "hep-acronym",
 related = "hep-paper-1",
 }
 
@@ -95,6 +95,24 @@
 related = "hep-paper-1",
 }
 
+ at article{hep-reference,
+title = "The |hep-reference| package",
+subtitle = "Selection of reference improvements",
+author = "Jan Hajer",
+year = "2021",
+eprinttype = "ctan",
+eprint = "hep-reference",
+related = "hep-paper-1",
+}
+
+ at article{hep-cv,
+title = "The |hep-cv| package",
+subtitle = "Appealing curricula vitarum",
+author = "Jan Hajer",
+year = "2020",
+related = "hep-paper-1",
+}
+
 @article{kvoptions,
 title = "The |kvoptions| package",
 subtitle = "Key value format for package options",
@@ -1053,3 +1071,144 @@
 eprint = "soulutf8",
 }
 
+ at article{moderncv,
+title = "The |moderncv| package",
+subtitle = "A modern curriculum vitae class",
+author = "Xavier Danaux",
+year = "2006",
+eprinttype = "ctan",
+eprint = "moderncv",
+related = "moderncv-1",
+}
+
+ at article{anyfontsize,
+title = "The |anyfontsize| package",
+subtitle = "Select any font size in \hologo{LaTeX}",
+author = "Péter Szabó",
+date = "2007",
+eprinttype = "ctan",
+eprint = "anyfontsize",
+}
+
+ at article{array,
+title = "A new implementation of \hologo{LaTeX}’s |tabular| and |array| environment",
+subtitle = "Extending the |array| and |tabular| environments",
+author = "Frank Mittelbach, David Carlisle",
+collaboration= "\hologo{LaTeX} Team",
+year = "1993",
+eprinttype = "ctan",
+eprint = "array",
+}
+
+ at article{dashrule,
+title = "The |dashrule| package",
+subtitle = "Draw dashed rules",
+author = "Scott Pakin",
+date = "2008",
+eprinttype = "ctan",
+eprint = "dashrule",
+}
+
+ at article{fancyhdr,
+title = "The |fancyhdr| and |extramarks| packages",
+subtitle = "Extensive control of page headers and footers in \hologo{LaTeX2e}",
+author = "Piet van Oostrum",
+date = "1994",
+eprinttype = "ctan",
+eprint = "fancyhdr",
+}
+
+ at article{lastpage,
+title = "The |lastpage| package",
+subtitle = "Reference last page for Page $N$ of $M$ type footers",
+author = "Hans-Martin Münch and Jeffrey Goldberg",
+date = "1994",
+eprinttype = "ctan",
+eprint = "lastpage",
+}
+
+ at article{textpos,
+title = "|Textpos|: absolute positioning of text on the page",
+subtitle = "Place boxes at arbitrary positions on the \hologo{LaTeX} page",
+author = "Norman Gray",
+date = "1999",
+eprinttype = "ctan",
+eprint = "textpos",
+related = "textpos-1",
+}
+
+ at manual{textpos-1,
+eprinttype = "bitbucket",
+eprintclass = "nxg",
+eprint = "textpos",
+}
+
+ at article{subfiles,
+title = "The |subfiles| package: A Document Class and a Package for Handling Multi-File Projects",
+subtitle = "Individual typesetting of subfiles of a \enquote{main} document",
+author = "Federico Garcia and Gernot Salzer",
+date = "2002",
+eprinttype = "ctan",
+eprint = "subfiles",
+related = "subfiles-1",
+}
+
+ at manual{subfiles-1,
+eprinttype = "github",
+eprintclass = "gsalzer",
+eprint = "subfiles",
+}
+
+ at article{titlesec,
+title = "The |titlesec|, |titleps| and |titletoc| packages",
+subtitle = "Select alternative section titles",
+author = "Javier Bezos",
+year = "1998",
+eprinttype = "ctan",
+eprint = "titlesec",
+related = "titlesec-1",
+}
+
+ at manual{titlesec-1,
+eprinttype = "github",
+eprintclass = "jbezos",
+eprint = "titlesec",
+}
+
+ at article{calc,
+title = "The |calc| package",
+subtitle = "Simple arithmetic in \hologo{LaTeX} commands",
+author = "Kresten Krab Thorup and Frank Jensen",
+collaboration = "\hologo{LaTeX3} Project",
+year = "1992",
+eprinttype = "ctan",
+eprint = "calc",
+}
+
+ at article{tabulary,
+title = "The |tabulary| package",
+subtitle = "Tabular with variable width columns balanced",
+author = "David Carlisle",
+year = "1995",
+eprinttype = "ctan",
+eprint = "tabulary",
+}
+
+ at article{xcolor,
+title = "The |xcolor| package",
+subtitle = "Driver-independent color extensions for \hologo{LaTeX} and \hologo{pdfLaTeX}",
+author = "Uwe Kern",
+collaboration = "\hologo{LaTeX} Project",
+year = "2003",
+eprinttype = "ctan",
+eprint = "xcolor",
+}
+
+ at article{overlays,
+title = "The |overlays| package",
+subtitle = "Incremental slides",
+author = "Andreas Nolda",
+year = "2016",
+eprinttype = "ctan",
+eprint = "overlays",
+}

Modified: trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex	2022-11-02 22:01:53 UTC (rev 64900)
+++ trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-documentation.tex	2022-11-02 22:02:15 UTC (rev 64901)
@@ -15,7 +15,7 @@
 %% and version 1.3c or later is part of all distributions of
 %% LaTeX version 2005/12/01 or later.
 
-\ProvidesFile{hep-math-font-documentation.tex}[2021/09/01 v1.0 hep-math-Font documentation]
+\ProvidesFile{hep-math-font-documentation.tex}[2022/11/01 v1.1 hep-math-Font documentation]
 
 \RequirePackage[l2tabu, orthodox]{nag}
 
@@ -44,7 +44,7 @@
 
 \title{The \software{hep-math-font} package\thanks{This document corresponds to \software{hep-math-font}~\fileversion.}}
 \subtitle{Extended Greek and sans-serif math}
-\author{Jan Hajer \email{jan.hajer at unibas.ch}}
+\author{Jan Hajer \email{jan.hajer at tecnico.ulisboa.pt}}
 \date{\filedate}
 
 \begin{document}
@@ -63,7 +63,7 @@
 
 If the document "\familydefault" font is switched to the sansserif "\sfdefault" font the math font is adjusted accordingly using fonts compatible to \LM and \CM.
 \DescribeMacro{warning}
-In order to be able to easily switch large chucks of math from serif to sans-serif documents the meaning of "\mathrm" and "\mathsf" is adjusted so that the first generates upright sans-serif math and the second serif math.
+In order to be able to easily switch large chucks of math from serif to sans-serif documents the meaning of "\mathrm" and "\mathsf" is adjusted in this case so that the first generates upright sans-serif math and the second serif math.
 This is is neither the literal meaning of the macros nor the best behaviour if a single large document is written in sans-serif.
 However, it simplifies working in an environment where one copies pieces of math between serif and sans-serif documents \eg publications \vs talks and funding applications.
 
@@ -71,7 +71,7 @@
 Greek letters can be written by using their unicode characters.
 
 \DescribeMacro{symbols}
-The "symbols"=\meta{family} sets the family of the symbol fonts.
+The "symbols"=\meta{family} class option sets the family of the symbol fonts.
 "symbols=ams" loads the two \hologo{AmS} fonts \cite{amsfonts} and the \software{bm} bold fonts.
 The default "symbols=true" replaces additionally the blackboard font with the \software{dsfont} \cite{dsfont}.
 "symbols=minion" switches the symbol fonts to the Adobe MinionPro companion font from the \software{MnSymbol} package \cite{MnSymbol}.
@@ -200,14 +200,19 @@
 Of the 16 available math alphabets, \hologo{TeX} loads four by default
 \begin{enumdescript}[start=0,label=\arabic*)]
 \item{OT1} \label{it:math text} Text (latin, upper case greek, numerals, text symbols)
+
+The text font \ref{it:math text}\strut\ of \CM is \textbf{cmr10} "\OT1/cmr/m/n/10", which is replaced by \LM to be \textbf{rm-lmr10} "\OT1/lmr/m/n/10", the "sansserif" option uses \textbf{rm-lmss10} "\OT1/lmss/m/n/10".
 \item{OML} \label{it:math italic} Math Italic (latin, greek, numerals, text symbols)
+
+The italic math font \ref{it:math italic} of \CM is \textbf{cmmi10} "\OML/cmm/m/it/"\allowbreak"10", and is replaced by \LM to be \textbf{lmmi10} "\OML/lmm/m/it/10", the "sansserif" options uses \textbf{cmssmi10} "\OML/cmssrm/m/it/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
 \item{OMS} \label{it:math symbol} Symbol ("\mathcal", operators)
+
+The symbol font \ref{it:math symbol}\strut\ of \CM is \textbf{cmsy10} "\OMS/cmsy/m/n/10", and is replaced by \LM to be \textbf{lmsy10} "\OMS/lmsy/m/n/10", the "sansserif" options uses \textbf{cmsssy10} "\OMS/cmsssy/m/n/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
 \item{OMX} \label{it:math extension} Math Extension (big operators, delimiters)
+
+The extension font \ref{it:math extension}\strut\ of \CM is \textbf{cmex10} "\OMX/cmex/m/n/5", and is replaced by the \software{exscale} package \cite{exscale} to be \textbf{cmex10} "\OMX/cmex/m/n/10", the "sansserif" option loads \textbf{cmssex10} "\OMX/cmssex/m/n/10".
 \end{enumdescript}
-The text font \ref{it:math text}\strut\ of \CM is \textbf{cmr10} "\OT1/cmr/m/n/10", which is replaced by \LM to be \textbf{rm-lmr10} "\OT1/lmr/m/n/10", the "sansserif" option uses \textbf{rm-lmss10} "\OT1/lmss/m/n/10".
-The italic math font \ref{it:math italic} of \CM is \textbf{cmmi10} "\OML/cmm/m/it/"\allowbreak"10", and is replaced by \LM to be \textbf{lmmi10} "\OML/lmm/m/it/10", the "sansserif" options uses \textbf{cmssmi10} "\OML/cmssrm/m/it/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
-The symbol font \ref{it:math symbol}\strut\ of \CM is \textbf{cmsy10} "\OMS/cmsy/m/n/10", and is replaced by \LM to be \textbf{lmsy10} "\OMS/lmsy/m/n/10", the "sansserif" options uses \textbf{cmsssy10} "\OMS/cmsssy/m/n/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
-The extension font \ref{it:math extension}\strut\ of \CM is \textbf{cmex10} "\OMX/cmex/m/n/5", and is replaced by the \software{exscale} package \cite{exscale} to be \textbf{cmex10} "\OMX/cmex/m/n/10", the "sansserif" option loads \textbf{cmssex10} "\OMX/cmssex/m/n/10".
+
 The \software{amssymb} (\software{amsfonts}) packages \cite{amssymb} load two more symbol fonts
 \begin{enumdescript}[start=4,label=\arabic*)]
 \item{msam10} \label{it:math ams a} "\U/msa/m/n/10" AMS symbol font A (special math operators)
@@ -214,6 +219,7 @@
 \item{msbm10} \label{it:math ams b} "\U/msb/m/n/10" AMS symbol font B ("\mathbb", negated operators)
 \end{enumdescript}
 The "sansserif" option replaces them with \textbf{ssmsam10} "\U/ssmsa/m/n/10" and \textbf{ssmsbm10} "\U/ssmsb/m/n/10" from the \software{sansmathfonts} package \cite{sansmathfonts}, respectively.
+
 The \software{bm} package \cite{bm} loads the bold version for the fonts \labelcref{it:math text,it:math italic,it:math symbol}.
 
 Other math alphabets are only loaded on demand, \eg "\mathsf" uses a sans-serif font and "\mathbf" without the \software{bm} package uses a bold font.

Modified: trunk/Master/texmf-dist/doc/fonts/hep-math-font/hep-math-font-implementation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx
===================================================================
--- trunk/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx	2022-11-02 22:01:53 UTC (rev 64900)
+++ trunk/Master/texmf-dist/source/fonts/hep-math-font/hep-math-font-implementation.dtx	2022-11-02 22:02:15 UTC (rev 64901)
@@ -18,8 +18,8 @@
 % \iffalse
 
 %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-math-font}[2021/09/01 v1.0 selection of math fonts for latin modern]
-%<documentation>\ProvidesFile{hep-math-font-documentation.tex}[2021/09/01 v1.0 hep-math-Font documentation]
+%<package>\ProvidesPackage{hep-math-font}[2022/11/01 v1.1 selection of math fonts for latin modern]
+%<documentation>\ProvidesFile{hep-math-font-documentation.tex}[2022/11/01 v1.1 hep-math-Font documentation]
 %
 %<*documentation>
 
@@ -57,7 +57,7 @@
 %
 % \fi
 %
-% \CheckSum{793}
+% \CheckSum{794}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -76,6 +76,7 @@
 %   Right brace   \}     Tilde         \~}
 %
 % \changes{v1.0}{2021/09/01}{Initial version of the style file.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
 %
 % \ifshort
 %<*documentation>
@@ -85,7 +86,7 @@
 
 \title{The \software{hep-math-font} package\thanks{This document corresponds to \software{hep-math-font}~\fileversion.}}
 \subtitle{Extended Greek and sans-serif math}
-\author{Jan Hajer \email{jan.hajer at unibas.ch}}
+\author{Jan Hajer \email{jan.hajer at tecnico.ulisboa.pt}}
 \date{\filedate}
 
 % \ifshort
@@ -106,7 +107,7 @@
 
 If the document "\familydefault" font is switched to the sansserif "\sfdefault" font the math font is adjusted accordingly using fonts compatible to \LM and \CM.
 \DescribeMacro{warning}
-In order to be able to easily switch large chucks of math from serif to sans-serif documents the meaning of "\mathrm" and "\mathsf" is adjusted so that the first generates upright sans-serif math and the second serif math.
+In order to be able to easily switch large chucks of math from serif to sans-serif documents the meaning of "\mathrm" and "\mathsf" is adjusted in this case so that the first generates upright sans-serif math and the second serif math.
 This is is neither the literal meaning of the macros nor the best behaviour if a single large document is written in sans-serif.
 However, it simplifies working in an environment where one copies pieces of math between serif and sans-serif documents \eg publications \vs talks and funding applications.
 
@@ -114,7 +115,7 @@
 Greek letters can be written by using their unicode characters.
 
 \DescribeMacro{symbols}
-The "symbols"=\meta{family} sets the family of the symbol fonts.
+The "symbols"=\meta{family} class option sets the family of the symbol fonts.
 "symbols=ams" loads the two \hologo{AmS} fonts \cite{amsfonts} and the \software{bm} bold fonts.
 The default "symbols=true" replaces additionally the blackboard font with the \software{dsfont} \cite{dsfont}.
 "symbols=minion" switches the symbol fonts to the Adobe MinionPro companion font from the \software{MnSymbol} package \cite{MnSymbol}.
@@ -243,14 +244,19 @@
 Of the 16 available math alphabets, \hologo{TeX} loads four by default
 \begin{enumdescript}[start=0,label=\arabic*)]
 \item{OT1} \label{it:math text} Text (latin, upper case greek, numerals, text symbols)
+
+The text font \ref{it:math text}\strut\ of \CM is \textbf{cmr10} "\OT1/cmr/m/n/10", which is replaced by \LM to be \textbf{rm-lmr10} "\OT1/lmr/m/n/10", the "sansserif" option uses \textbf{rm-lmss10} "\OT1/lmss/m/n/10".
 \item{OML} \label{it:math italic} Math Italic (latin, greek, numerals, text symbols)
+
+The italic math font \ref{it:math italic} of \CM is \textbf{cmmi10} "\OML/cmm/m/it/"\allowbreak"10", and is replaced by \LM to be \textbf{lmmi10} "\OML/lmm/m/it/10", the "sansserif" options uses \textbf{cmssmi10} "\OML/cmssrm/m/it/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
 \item{OMS} \label{it:math symbol} Symbol ("\mathcal", operators)
+
+The symbol font \ref{it:math symbol}\strut\ of \CM is \textbf{cmsy10} "\OMS/cmsy/m/n/10", and is replaced by \LM to be \textbf{lmsy10} "\OMS/lmsy/m/n/10", the "sansserif" options uses \textbf{cmsssy10} "\OMS/cmsssy/m/n/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
 \item{OMX} \label{it:math extension} Math Extension (big operators, delimiters)
+
+The extension font \ref{it:math extension}\strut\ of \CM is \textbf{cmex10} "\OMX/cmex/m/n/5", and is replaced by the \software{exscale} package \cite{exscale} to be \textbf{cmex10} "\OMX/cmex/m/n/10", the "sansserif" option loads \textbf{cmssex10} "\OMX/cmssex/m/n/10".
 \end{enumdescript}
-The text font \ref{it:math text}\strut\ of \CM is \textbf{cmr10} "\OT1/cmr/m/n/10", which is replaced by \LM to be \textbf{rm-lmr10} "\OT1/lmr/m/n/10", the "sansserif" option uses \textbf{rm-lmss10} "\OT1/lmss/m/n/10".
-The italic math font \ref{it:math italic} of \CM is \textbf{cmmi10} "\OML/cmm/m/it/"\allowbreak"10", and is replaced by \LM to be \textbf{lmmi10} "\OML/lmm/m/it/10", the "sansserif" options uses \textbf{cmssmi10} "\OML/cmssrm/m/it/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
-The symbol font \ref{it:math symbol}\strut\ of \CM is \textbf{cmsy10} "\OMS/cmsy/m/n/10", and is replaced by \LM to be \textbf{lmsy10} "\OMS/lmsy/m/n/10", the "sansserif" options uses \textbf{cmsssy10} "\OMS/cmsssy/m/n/10" from the \software{sansmathfonts} package \cite{sansmathfonts}.
-The extension font \ref{it:math extension}\strut\ of \CM is \textbf{cmex10} "\OMX/cmex/m/n/5", and is replaced by the \software{exscale} package \cite{exscale} to be \textbf{cmex10} "\OMX/cmex/m/n/10", the "sansserif" option loads \textbf{cmssex10} "\OMX/cmssex/m/n/10".
+
 The \software{amssymb} (\software{amsfonts}) packages \cite{amssymb} load two more symbol fonts
 \begin{enumdescript}[start=4,label=\arabic*)]
 \item{msam10} \label{it:math ams a} "\U/msa/m/n/10" AMS symbol font A (special math operators)
@@ -257,6 +263,7 @@
 \item{msbm10} \label{it:math ams b} "\U/msb/m/n/10" AMS symbol font B ("\mathbb", negated operators)
 \end{enumdescript}
 The "sansserif" option replaces them with \textbf{ssmsam10} "\U/ssmsa/m/n/10" and \textbf{ssmsbm10} "\U/ssmsb/m/n/10" from the \software{sansmathfonts} package \cite{sansmathfonts}, respectively.
+
 The \software{bm} package \cite{bm} loads the bold version for the fonts \labelcref{it:math text,it:math italic,it:math symbol}.
 
 Other math alphabets are only loaded on demand, \eg "\mathsf" uses a sans-serif font and "\mathbf" without the \software{bm} package uses a bold font.
@@ -333,7 +340,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% Define conditionals based on the "symbols" package option.
+% Define conditionals based on the "symbols" package option using the \software{pdftexcmds} package \cite{pdftexcmds}.
 %    \begin{macrocode}
 \RequirePackage{pdftexcmds}
 \newif\ifhepmathfont at symbols
@@ -449,7 +456,7 @@
 % \subsection{Greek letters}
 %
 % Load the \software{fixmath} \cite{fixmath} and \software{textalpha} \cite{textalpha} packages ensuring that upper Greek letters in math mode are italic and providing upright Greek letters in text mode, respectively.
-% Define the "hep at greek" macro ensuring that both "\text" and "\mathrm" produce upright Greek letters.
+% Define the "hep at greek" macro ensuring that both "\text" and "\mathrm" produce upright Greek letters using the \software{amssymb} \cite{amssymb} and \software{amstext} \cite{amstext} packages.
 %    \begin{macrocode}
 \ifhepmathfont at symbols
   \RequirePackage{amssymb}
@@ -457,7 +464,7 @@
   \RequirePackage{fixmath}
   \RequirePackage{textalpha}
   \def\hep at Greek#1#2#3{
-    \def#1{\TextOrMath{#3}{\ifnum\fam=0 \text{#3}\else#2\fi}}%
+    \protected\def#1{\TextOrMath{#3}{\ifnum\fam=0 \text{#3}\else#2\fi}}%
   }
   \def\hep at greek#1#2#3{\let#2=#1\hep at Greek#1#2#3}
 %    \end{macrocode}
@@ -678,7 +685,7 @@
 %
 % \subsection{Additional math fonts}
 %
-% Either load the \software{MnSymbol} package \cite{MnSymbol} or the the \software{exscale} package in order to fix Latin Modern "lmex" fonts.
+% Either load the \software{MnSymbol} package \cite{MnSymbol} or the the \software{exscale} package \cite{exscale} in order to fix Latin Modern "lmex" fonts.
 % Additionally, load the \software{amssymb} package \cite{amsfonts} which provides further math symbols and also loads the \software{amsfonts} package \cite{amsfonts}.
 %    \begin{macrocode}
   \ifhep at minion

Modified: trunk/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty	2022-11-02 22:01:53 UTC (rev 64900)
+++ trunk/Master/texmf-dist/tex/latex/hep-math-font/hep-math-font.sty	2022-11-02 22:02:15 UTC (rev 64901)
@@ -16,7 +16,7 @@
 %% LaTeX version 2005/12/01 or later.
 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{hep-math-font}[2021/09/01 v1.0 selection of math fonts for latin modern]
+\ProvidesPackage{hep-math-font}[2022/11/01 v1.1 selection of math fonts for latin modern]
 
 \RequirePackage{kvoptions}
 \SetupKeyvalOptions{
@@ -95,7 +95,7 @@
   \RequirePackage{fixmath}
   \RequirePackage{textalpha}
   \def\hep at Greek#1#2#3{
-    \def#1{\TextOrMath{#3}{\ifnum\fam=0 \text{#3}\else#2\fi}}%
+    \protected\def#1{\TextOrMath{#3}{\ifnum\fam=0 \text{#3}\else#2\fi}}%
   }
   \def\hep at greek#1#2#3{\let#2=#1\hep at Greek#1#2#3}
   \providecommand*{\Alpha}{\textAlpha}



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