From cfedff84c2eb997ea48b7db2fb55fe8c83f2d10e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 10 Nov 2015 22:21:04 +0000 Subject: fixcmex (10nov15) git-svn-id: svn://tug.org/texlive/trunk@38816 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/fixcmex/fixcmex.sty | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/fixcmex/fixcmex.sty (limited to 'Master/texmf-dist/tex/latex/fixcmex') diff --git a/Master/texmf-dist/tex/latex/fixcmex/fixcmex.sty b/Master/texmf-dist/tex/latex/fixcmex/fixcmex.sty new file mode 100644 index 00000000000..669b75fd8f1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fixcmex/fixcmex.sty @@ -0,0 +1,57 @@ +%% +%% This is file `fixcmex.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% fixcmex.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2015 by Enrico Gregorio +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{fixcmex} + [2015/11/10 v1.0 Scalable math extensions font (Enrico Gregorio)] +\def\fixcmex@fix{% + \DeclareFontShape{OMX}{cmex}{m}{n}{% + <-7.5> cmex7 + <7.5-8.5> cmex8 + <8.5-9.5> cmex9 + <9.5-> cmex10 + }{} + \DeclareSymbolFont{largesymbols}{OMX}{cmex}{m}{n} +} +\@onlypreamble\fixcmex@fix +\AtBeginDocument{% + \begingroup + \check@mathfonts + \expandafter\expandafter\expandafter + \split@name\expandafter\string\the\textfont\thr@@\@nil + \escapechar=\m@ne + \edef\fixcmex@cmex{\string\cmex}\edef\fixcmex@lmex{\string\lmex}% + \ifx\f@family\fixcmex@cmex + \aftergroup\fixcmex@fix + \else + \ifx\f@family + \fixcmex@lmex\aftergroup\fixcmex@fix + \else + \PackageWarningNoLine{fixcmex} + {No change in the math extension font}% + \fi + \fi + \endgroup +} +\endinput +%% +%% End of file `fixcmex.sty'. -- cgit v1.2.3