diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-03 22:27:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-03 22:27:09 +0000 |
commit | f075bfd65ba4e1d7134779fbae632ba3f73e7a58 (patch) | |
tree | 99142573fa21876421779f838f2e0838062afc48 /Master/texmf-dist | |
parent | 6042eb279379a6e85116dea83de5ed78910614c2 (diff) |
mweights (3dec16)
git-svn-id: svn://tug.org/texlive/trunk@42632 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/mweights/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mweights/mweights.sty | 33 |
2 files changed, 17 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/mweights/README b/Master/texmf-dist/doc/latex/mweights/README index 35bcc709365..cfa30b18e99 100644 --- a/Master/texmf-dist/doc/latex/mweights/README +++ b/Master/texmf-dist/doc/latex/mweights/README @@ -1,4 +1,4 @@ -This is the README for the mweights package, version 2016-08-15. +This is the README for the mweights package, version 2016-12-02. Many font families available for use with LaTeX have multiple weights, especially when originally aimed at use on the web. For diff --git a/Master/texmf-dist/tex/latex/mweights/mweights.sty b/Master/texmf-dist/tex/latex/mweights/mweights.sty index ea40621dedd..a50156de382 100644 --- a/Master/texmf-dist/tex/latex/mweights/mweights.sty +++ b/Master/texmf-dist/tex/latex/mweights/mweights.sty @@ -1,23 +1,22 @@ \ProvidesPackage{mweights} - [2016/08/15 (Bob Tennent) Support package for multiple-weight font packages. ] + [2016/12/02 (Bob Tennent) Support package for multiple-weight font packages. ] -\AtBeginDocument{% - % Define any undefined \mdseries@rm etc. - % Defined \mdseries@rm etc. assumed to be fully expanded! - \ifdefined\mdseries@rm\else\edef\mdseries@rm{\mddefault}\fi - \ifdefined\bfseries@rm\else\edef\bfseries@rm{\bfdefault}\fi - \ifdefined\mdseries@sf\else\edef\mdseries@sf{\mddefault}\fi - \ifdefined\bfseries@sf\else\edef\bfseries@sf{\bfdefault}\fi - \ifdefined\mdseries@tt\else\edef\mdseries@tt{\mddefault}\fi - \ifdefined\bfseries@tt\else\edef\bfseries@tt{\bfdefault}\fi - % In case any unexpanded macros present in \rmdefault, etc - \edef\rmdef@ult{\rmdefault} - \edef\sfdef@ult{\sfdefault} - \edef\ttdef@ult{\ttdefault} - \edef\bfdef@ult{\bfdefault} - \edef\mddef@ult{\mddefault} -} +% Define any undefined \mdseries@rm etc. +% Defined \mdseries@rm etc. assumed to be fully expanded! +\ifdefined\mdseries@rm\else\edef\mdseries@rm{\mddefault}\fi +\ifdefined\bfseries@rm\else\edef\bfseries@rm{\bfdefault}\fi +\ifdefined\mdseries@sf\else\edef\mdseries@sf{\mddefault}\fi +\ifdefined\bfseries@sf\else\edef\bfseries@sf{\bfdefault}\fi +\ifdefined\mdseries@tt\else\edef\mdseries@tt{\mddefault}\fi +\ifdefined\bfseries@tt\else\edef\bfseries@tt{\bfdefault}\fi + +% In case any unexpanded macros present in \rmdefault, etc +\edef\rmdef@ult{\rmdefault} +\edef\sfdef@ult{\sfdefault} +\edef\ttdef@ult{\ttdefault} +\edef\bfdef@ult{\bfdefault} +\edef\mddef@ult{\mddefault} \DeclareRobustCommand\bfseries{% \not@math@alphabet\bfseries\mathbf |