summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/fonts/ams-math.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-09-06 23:13:44 +0000
committerKarl Berry <karl@freefriends.org>2013-09-06 23:13:44 +0000
commita5409c09805bf26ec9aa61b1c32fddbd4a5d2a67 (patch)
tree30056c5ca7998f3dd66ed8be5f8c3383620679d7 /Master/texmf-dist/tex/csplain/fonts/ams-math.tex
parentd211c476a793546259e3fe8b6417f3f36d477a99 (diff)
csplain (6sep13)
git-svn-id: svn://tug.org/texlive/trunk@31589 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/fonts/ams-math.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/fonts/ams-math.tex23
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/csplain/fonts/ams-math.tex b/Master/texmf-dist/tex/csplain/fonts/ams-math.tex
index 260194c8a18..a8338ed7e0e 100644
--- a/Master/texmf-dist/tex/csplain/fonts/ams-math.tex
+++ b/Master/texmf-dist/tex/csplain/fonts/ams-math.tex
@@ -154,7 +154,7 @@
% but now there is a different usage of the \resizefont:
% \def\dgsize{17pt}\def\sizespec{at\dgsize}\resizefont\tenrm
-\def\corrmsizes#1{} % see tx-math for the example of \corrmsizes
+\def\corrmsizes{} % see tx-math for the example of \corrmsizes
%% macros:
@@ -163,23 +163,23 @@
\def\mitvariables{\def\rm{\fam0\tenrm}%
\mathcodechanges 0:0-9\mathcodechanges 1:A-Z\mathcodechanges 1:a-z}
-\def\loadmathfamily #1 #2 {\corrmsizes{#1}%
+\def\loadmathfamily #1 #2 {\chardef\tmp#1\relax\corrmsizes
\let\dgsize=\sizemtext
- \font\tmp=\whichtfm{#2} at\dgsize \textfont#1=\tmp
+ \font\mF=\whichtfm{#2} at\dgsize \textfont#1=\mF
\let\dgsize=\sizemscript
- \font\tmp=\whichtfm{#2} at \dgsize \scriptfont#1=\tmp
+ \font\mF=\whichtfm{#2} at \dgsize \scriptfont#1=\mF
\let\dgsize=\sizemsscript
- \font\tmp=\whichtfm{#2} at\dgsize \scriptscriptfont#1=\tmp
+ \font\mF=\whichtfm{#2} at\dgsize \scriptscriptfont#1=\mF
\ptmunit=1pt \let\dgsize=\undefined
}
-\def\setmathfamily #1#2{\corrmsizes{#1}%
+\def\setmathfamily #1#2{\let\mF=#2%
\let\dgsize=\sizemtext
- \font\tmp = \specfontname #2 at\sizemtext \textfont#1=\tmp
+ \font#2= \specfontname\mF \space at\sizemtext \textfont#1=#2%
\let\dgsize=\sizemscript
- \font\tmp = \specfontname #2 at\sizemscript \scriptfont#1=\tmp
+ \font#2= \specfontname\mF \space at\sizemscript \scriptfont#1=#2%
\let\dgsize=\sizemsscript
- \font\tmp = \specfontname #2 at\sizemsscript \scriptscriptfont#1=\tmp
- \ptmunit=1pt \let\dgsize=\undefined
+ \font#2= \specfontname\mF \space at\sizemsscript \scriptscriptfont#1=#2%
+ \let\dgsize=\undefined \let#2=\mF
}
\def\specfontname #1{\expandafter \ignoreatpt \fontname #1 \relax}
\def\ignoreatpt #1 #2\relax{\whichtfm{#1}}
@@ -512,3 +512,6 @@ Jul. 2013: \ifx\dgsize\undefined added
Jul. 2013: \def\corrmsizes{} without dependency
Aug. 2013: \mathpreloaded introduced
Aug. 2013: \newdimen\ptmunit only once
+Aug. 2013: \tmp -> \mF (the sequence is printed in overfull messages)
+ \mF tuned in \setmathfamily
+ \corrmsizes without parameter