diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/fixcmex/README | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fixcmex/fixcmex.pdf | bin | 0 -> 199306 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx | 154 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/fixcmex/fixcmex.ins | 53 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fixcmex/fixcmex.sty | 57 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/fixcmex.tlpsrc | 0 |
8 files changed, 302 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/fixcmex/README b/Master/texmf-dist/doc/latex/fixcmex/README new file mode 100644 index 00000000000..8da42621de2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fixcmex/README @@ -0,0 +1,36 @@ +The fixcmex package provides fully scalable +Computer Modern Math Extensions font. + +This is version 1.0 of the package + + Copyright 2015 Enrico Gregorio + + This program is provided under the terms of the + LaTeX Project Public License distributed from CTAN + archives in directory macros/latex/base/lppl.txt. + + Author: Enrico Gregorio + Enrico dot Gregorio at univr dot it + + This work has the LPPL maintenance status "author-maintained". + + This work consists of the following files: + +README (this file) +fixcmex.dtx +fixcmex.ins +fixcmex.pdf + + and of the derived file + +fixcmex.sty + +To install the distribution: + +o run "latex fixcmex.ins" +o move "fixcmex.sty" to locations where LaTeX will find + it (the FAQ on CTAN in /help/uktug-FAQ gives more + information about this magic place + +2015/11/10 +Enrico Gregorio diff --git a/Master/texmf-dist/doc/latex/fixcmex/fixcmex.pdf b/Master/texmf-dist/doc/latex/fixcmex/fixcmex.pdf Binary files differnew file mode 100644 index 00000000000..99499025371 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fixcmex/fixcmex.pdf diff --git a/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx b/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx new file mode 100644 index 00000000000..89b932b6717 --- /dev/null +++ b/Master/texmf-dist/source/latex/fixcmex/fixcmex.dtx @@ -0,0 +1,154 @@ +% \iffalse meta-comment +% +% Copyright (C) 2015 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. +% The latest version of this license is in: +% +% http://www.latex-project.org/lppl.txt +% +% and version 1.3c or later is part of all distributions of LaTeX +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{fixcmex.dtx} +%</driver> +%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%<package>\ProvidesPackage{fixcmex} +%<*package> + [2015/11/10 v1.0 Scalable math extensions font (Enrico Gregorio)] +%</package> +% +%<*driver> +\documentclass{ltxdoc} + +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{fixcmex.dtx} +\end{document} +%</driver> +% \fi +% +% \CheckSum{45} +% +% \changes{v1.0}{2015/11/10}{Initial version} +% +% \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 +% +% \section{Description} +% +% Knuth's Computer Modern fonts only provide the math extensions +% font \texttt{cmex10} at just one size. Together with a release +% of AMS-\TeX{}, the American Mathematical Society also provided +% the font at sizes 7, 8 and 9; these fonts are automatically loaded +% when \verb+\usepackage{amsmath}+ is done for a document. The +% option \texttt{cmex10} is allowed for reverting back to the fixed +% size, but it should only be used when the \TeX{} distribution is +% more than, say twenty years old (at the time of writing). +% +% 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 +% independent of the main point size of a document. +% +% When \textsf{amsmath} (or \textsf{exscale}) is loaded, the symbols +% will be scaled, but only at the standard sizes, not arbitrarily. +% This is not a limitation any more, because the Type1 version of +% the \texttt{cmex} fonts has been available for several years and +% 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 +% 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 +% provided at a fixed size. +% +% The present package can be used when the main font of the document +% is Computer Modern (or European Modern, if T1 encoding is selected) +% or Latin Modern. It redefines the math extensions font so that it +% is arbitrarily scalable, using the optical size fonts provided by +% the AMS together with the original \texttt{cmex10} font. +% +% The package should be loaded as late as possible, in any case +% \emph{after} any font package. Its position with respect to +% \textsf{hyperref} or \textsf{cleveref} is irrelevant. It will do +% nothing if the math extensions font turns out to be not from +% Computer Modern or Latin Modern (with a warning). +% +% There are no options and no commands. +% +% \StopEventually{\PrintChanges\PrintIndex} +% +% \section{Implementation} +% \begin{macro}{\fixcmex@fix} +% The main command just resets the math extensions font to +% be \texttt{cmex}, fully scalable. +% \begin{macrocode} +%<*package> +\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 +% \end{macrocode} +% \end{macro} +% +% Next, at begin document, the \verb+\check@mathfonts+ command +% makes sure the font assignments are performed for the normal +% size and the family name corresponding to the OMX encoding +% is extracted. If it is either \texttt{cmex} or \texttt{lmex} +% the command \verb+\fixcmex@fix+ will be executed. Otherwise +% a warning is issued, telling that the package has done nothing. +% \begin{macrocode} +\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 +} +%</package> +% \end{macrocode} +% \Finale +\endinput diff --git a/Master/texmf-dist/source/latex/fixcmex/fixcmex.ins b/Master/texmf-dist/source/latex/fixcmex/fixcmex.ins new file mode 100644 index 00000000000..e3fd8f97791 --- /dev/null +++ b/Master/texmf-dist/source/latex/fixcmex/fixcmex.ins @@ -0,0 +1,53 @@ +%% +%% Copyright (C) 2015 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. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3c or later is part of all distributions of LaTeX +%% + +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/fixcmex} + +\preamble + +This is a generated file. + +Copyright (C) 2015 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. The latest version of this +license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.3c or later is part of all distributions of LaTeX + +\endpreamble + +\generate{\file{fixcmex.sty}{\from{fixcmex.dtx}{package}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* fixcmex.sty *} +\Msg{* *} +\Msg{* To produce the documentation run the file skeleton.dtx *} +\Msg{* through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{*************************************************************} + +\endbatchfile 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 <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.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'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 2afa545d21f..bedd8e52bda 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -237,7 +237,7 @@ my @TLP_working = qw( fibeamer fifinddo-info fifo-stack fig4latex figbas figbib figflow figsize filecontents filedate filehook fileinfo filemod findhyph fink finstrut fira first-latex-doc fitbox fithesis - fix2col fixfoot fixlatvian fixltxhyph fixme fixmetodonotes + fix2col fixcmex fixfoot fixlatvian fixltxhyph fixme fixmetodonotes fixpdfmag fjodor flabels flacards flagderiv flashcards flashmovie flipbook flippdf diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 0d082f28607..66d3a12e48e 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -372,6 +372,7 @@ depend filemod depend fink depend finstrut depend fithesis +depend fixcmex depend fixfoot depend fixme depend fixmetodonotes diff --git a/Master/tlpkg/tlpsrc/fixcmex.tlpsrc b/Master/tlpkg/tlpsrc/fixcmex.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/fixcmex.tlpsrc |