summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-05 21:07:15 +0000
committerKarl Berry <karl@freefriends.org>2019-08-05 21:07:15 +0000
commited8fbf608b1e485e6192e33e130bb536227c967f (patch)
tree3752b7ad152855a3a00690c8bc530cb3b884446b /Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx
parente334438909540160245e2816174a5ac70479116e (diff)
fixcmex (5aug19)
git-svn-id: svn://tug.org/texlive/trunk@51825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx')
-rw-r--r--Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx35
1 files changed, 19 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx b/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx
index 89b932b6717..1e400300742 100644
--- a/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx
+++ b/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx
@@ -1,9 +1,9 @@
% \iffalse meta-comment
%
-% Copyright (C) 2015 by Enrico Gregorio
+% Copyright (C) 2015-2019 by Enrico Gregorio
% <Enrico dot Gregorio (at) univr dot it>
% ---------------------------------------
-%
+%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
@@ -11,7 +11,7 @@
%
% http://www.latex-project.org/lppl.txt
%
-% and version 1.3c or later is part of all distributions of LaTeX
+% and version 1.3c or later is part of all distributions of LaTeX
%
% \fi
%
@@ -22,13 +22,13 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{fixcmex}
%<*package>
- [2015/11/10 v1.0 Scalable math extensions font (Enrico Gregorio)]
+ [2019/08/05 v1.1 Scalable math extensions font (Enrico Gregorio)]
%</package>
%
%<*driver>
\documentclass{ltxdoc}
-\EnableCrossrefs
+\EnableCrossrefs
\CodelineIndex
\RecordChanges
\begin{document}
@@ -37,23 +37,24 @@
%</driver>
% \fi
%
-% \CheckSum{45}
-%
+% \CheckSum{48}
+%
% \changes{v1.0}{2015/11/10}{Initial version}
+% \changes{v1.1}{2019/08/05}{Fix lmodern}
%
% \GetFileInfo{fixcmex.dtx}
%
% \DoNotIndex{\begingroup,\endgroup,\aftergroup,\@nil,\cmex,\lmex}
% \DoNotIndex{\def,\edef,\else,\escapechar,\expandafter,\fi,\ifx}
% \DoNotIndex{\m@ne,\string,\textfont,\the,\thr@@}
-%
+%
%
% \title{The \textsf{fixcmex} package\thanks{This document corresponds
% to \textsf{itnumpar}~\fileversion, dated \filedate.}}
-%
+%
% \author{Enrico Gregorio \\ \texttt{Enrico dot Gregorio (at) univr
% dot it}}
-%
+%
% \date{\filedate}
%
% \maketitle
@@ -71,7 +72,7 @@
%
% Where's the difference? With the standard setup, a symbol like
% summation or integral in a footnote or in a \verb+\Large+ context
-% will have the same size as in normal text. This size is also
+% will have the same size as in normal text. This size is also
% independent of the main point size of a document.
%
% When \textsf{amsmath} (or \textsf{exscale}) is loaded, the symbols
@@ -81,7 +82,7 @@
% this package addresses it.
%
% Many people use the Latin Modern fonts that are, in several respects,
-% superior to the European Modern fonts when T1 font encoding is
+% superior to the European Modern fonts when T1 font encoding is
% required. However, when \verb+\usepackage{lmodern}+ is done,
% the situation about the math extensions font goes back to the
% standard state described above, because \texttt{lmex10} is only
@@ -105,6 +106,7 @@
%
% \section{Implementation}
% \begin{macro}{\fixcmex@fix}
+% \changes{v1.1}{2019/08/05}{Fix lmodern}
% The main command just resets the math extensions font to
% be \texttt{cmex}, fully scalable.
% \begin{macrocode}
@@ -115,8 +117,10 @@
<7.5-8.5> cmex8
<8.5-9.5> cmex9
<9.5-> cmex10
- }{}
- \DeclareSymbolFont{largesymbols}{OMX}{cmex}{m}{n}
+ }{}%
+ \SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n}%
+ \SetSymbolFont{largesymbols}{bold}{OMX}{cmex}{m}{n}%
+ \mathversion{\math@version}%
}
\@onlypreamble\fixcmex@fix
% \end{macrocode}
@@ -142,8 +146,7 @@
\ifx\f@family
\fixcmex@lmex\aftergroup\fixcmex@fix
\else
- \PackageWarningNoLine{fixcmex}
- {No change in the math extension font}%
+ \PackageWarningNoLine{fixcmex}{No change in the math extension font}%
\fi
\fi
\endgroup