summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-20 22:21:08 +0000
committerKarl Berry <karl@freefriends.org>2021-03-20 22:21:08 +0000
commit2b95da381354c173049bcedba3cd258d6965d1ff (patch)
tree13c6d2f2b820334406fa06b9af36f688e5de8527 /Master/texmf-dist/tex
parent9092e7b4966f481e63983203f1937ee9b91d01cd (diff)
addfont (20mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58567 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/addfont/addfont.sty10
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}%