diff options
Diffstat (limited to 'Master/texmf-dist/tex/csplain/fonts/tx-math.tex')
-rw-r--r-- | Master/texmf-dist/tex/csplain/fonts/tx-math.tex | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/csplain/fonts/tx-math.tex b/Master/texmf-dist/tex/csplain/fonts/tx-math.tex index e02a1bc3796..f5df0efe4b2 100644 --- a/Master/texmf-dist/tex/csplain/fonts/tx-math.tex +++ b/Master/texmf-dist/tex/csplain/fonts/tx-math.tex @@ -3,6 +3,7 @@ % Petr Olsak, 2012 \message{FONT: TX math fonts - \string\mathchardef's prepared, 14 math families preloaded.} +\let\mathpreloaded=X % After \input tx-math % @@ -87,12 +88,13 @@ \txxdef\txr{txr}\txxdef\txmi{txmi} % \fam0, \fam1 normal \txxdef\txb{txb}\txxdef\txbmi{txbmi} % \fam0, \fam1 bold -\txxdef\bfsans{phvb8z}\txxdef\bisans{phvbo8z} % \bffam, \bifam normal -\txxdef\bbfsans{phvb8z}\txxdef\bbisans{phvbo8z} % \bffam, \bifam bold -\ifx\corrmsizes\undefined % wee need to correct - \def\corrmsizes#1{\ifnum#1=10 \ptmunit=.83pt \fi % the sizes o phvb8t and - \ifnum#1=11 \ptmunit=.83pt \fi} % phvbo8t fonts -\fi +\ifx\bisans\undefined % user can define his own \bfsans, \bisans + \def\bfsans{phvb8z}\def\bisans{phvbo8z} % \bffam, \bifam normal + \def\bbfsans{phvb8z}\def\bbisans{phvbo8z} % \bffam, \bifam bold + \def\corrmsizes#1{\ifnum#1=10 \ptmunit=.83pt \fi % wee need to correct + \ifnum#1=11 \ptmunit=.83pt \fi} % the sizes o phvb8t and +\fi % phvbo8t fonts +\ifx\corrmsizes\undefined \def\corrmsizes#1{}\fi % macros: @@ -134,7 +136,7 @@ \def\sizemtext{#1\ptmunit}\def\sizemscript{#2\ptmunit}% \def\sizemsscript{#3\ptmunit}% } -\newdimen\ptmunit \ptmunit=1pt +\ifx\ptmunit\undefined \csname newdimen\endcsname\ptmunit\fi \ptmunit=1pt \setmathsizes[10/7/5] \ifx\tenbi\undefined \font\tenbi=ptmbi8z \relax \fi @@ -708,3 +710,6 @@ % end of tx-math.tex file +Jul. 2013: \corrmsizes defined if \bisans undefined +Aug. 2013: \mathpreloaded introduced +Aug. 2013: \newdimen\ptmunit only once |