diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-20 22:19:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-20 22:19:08 +0000 |
commit | aee629c82791eca01c580bd673d30c8677235806 (patch) | |
tree | f3884a90ce65d2d2f942bb5ed55cbcf6002e5e44 /Master/texmf-dist/tex | |
parent | b87968da8916aed6b5fbca2f3d82e37738094e49 (diff) |
addfont (20mar21)
git-svn-id: svn://tug.org/texlive/trunk@58559 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/addfont/addfont.sty | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/addfont/addfont.sty b/Master/texmf-dist/tex/latex/addfont/addfont.sty index 7b25c71c694..74d6bf63a40 100644 --- a/Master/texmf-dist/tex/latex/addfont/addfont.sty +++ b/Master/texmf-dist/tex/latex/addfont/addfont.sty @@ -1,4 +1,4 @@ -% Copyright 2016 (c) Palle Joergensen +% Copyright 2016-21 (c) Palle Joergensen % % This file is part of addfont. % @@ -15,21 +15,21 @@ % You should have received a copy of the GNU General Public License % along with addfont. If not, see <http://www.gnu.org/licenses/>. \ProvidesPackage{addfont}% - [2016/09/01 v1.0 Easier usage of fonts without LaTeX support.] + [2021/03/20 v. 1.1 Easier usage of fonts without LaTeX support.] \newif\ifaddfont@fixed \addfont@fixedtrue \RequirePackage{twoopt} \RequirePackage{ifthen} -\newcommandtwoopt*\addfont@all[5][][]{% scale, sel-cmd, enc, font, cmd +\newcommandtwoopt*\addfont@all[5][][]{% #1:scale, #2:sel-cmd, #3:enc, #4:family/font, #5:cmd \addfont@fixedfalse \def\addfont@latestencoding{#3}% \def\addfont@latestfamily{#4}% \ifthenelse{\equal{#1}{\@empty}}{\let\addfont@latestscale\@empty}{\def\addfont@latestscale{s*[#1]}} \DeclareFontFamily{#3}{#4}{#2}% - \DeclareFontShape{#3}{#4}{m}{n}{<->#3}{}% + \DeclareFontShape{#3}{#4}{m}{n}{<->#4}{}% \def#5{\fontencoding{#3}\fontfamily{#4}\mdseries\upshape}} -\newcommandtwoopt*\addfont@fixed[5][][]{% scale, sel-cmd, enc, font, cmd +\newcommandtwoopt*\addfont@fixed[5][][]{% #1:scale, #2:sel-cmd, #3:enc, #4:font, #5:cmd \addfont@fixedtrue \def\addfont@latestencoding{#3}% \def\addfont@latestfamily{#4}% |