diff options
author | Karl Berry <karl@freefriends.org> | 2023-06-21 20:07:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-06-21 20:07:05 +0000 |
commit | e44615a36a8ac9855eff698c9d9dd5d3780c3ce0 (patch) | |
tree | 22a26bef5776cd2f7df3470358776a64bef5cfc4 /Master/texmf-dist/tex/latex/euler-math | |
parent | ef92b2e8e8c0dc6e8fdbeaec53d03a2e6eb53361 (diff) |
euler-math (21jun23)
git-svn-id: svn://tug.org/texlive/trunk@67429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/euler-math')
-rw-r--r-- | Master/texmf-dist/tex/latex/euler-math/euler-math.sty | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/euler-math/euler-math.sty b/Master/texmf-dist/tex/latex/euler-math/euler-math.sty index 860f76f016c..f87669df3c1 100644 --- a/Master/texmf-dist/tex/latex/euler-math/euler-math.sty +++ b/Master/texmf-dist/tex/latex/euler-math/euler-math.sty @@ -1,6 +1,6 @@ -\NeedsTeXFormat{LaTeX2e}[2018/01/01] -\def\fileversion{0.40} -\def\filedate{2023-03-28} +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\def\fileversion{0.41} +\def\filedate{2023-06-21} \ProvidesPackage{euler-math}[\filedate\space\fileversion] % Ensure luatex or xetex engine @@ -11,18 +11,20 @@ \newopentypefeature{Style}{smaller}{+ss05} \newopentypefeature{Style}{subsetneq}{+ss06} -% Options: forward them to \setmathfont. -\RequirePackage{xkeyval} \newtoks\NEUtoks -\newcommand*{\Store@KV@Option}[2]{% +\newcommand*{\NEstore@KV@Option}[2]{% \NEUtoks=\expandafter{\the\NEUtoks #1={#2},}} -\DeclareOptionX{CharacterVariant}{\Store@KV@Option{CharacterVariant}{#1}} -\DeclareOptionX{StylisticSet}{\Store@KV@Option{StylisticSet}{#1}} -\DeclareOptionX{Style}{\Store@KV@Option{Style}{#1}} -\DeclareOptionX{Scale}{\Store@KV@Option{Scale}{#1}} -\DeclareOptionX{Numbers}{\Store@KV@Option{Numbers}{#1}} -\ProcessOptionsX +% Package options: +\DeclareKeys + { + CharacterVariant.code = \NEstore@KV@Option{CharacterVariant}{#1} , + StylisticSet.code = \NEstore@KV@Option{StylisticSet}{#1} , + Style.code = \NEstore@KV@Option{Style}{#1} , + Scale.code = \NEstore@KV@Option{Scale}{#1} , + Numbers.code = \NEstore@KV@Option{Numbers}{#1} + } +\ProcessKeyOptions % Following Joseph Wright in https://tex.stackexchange.com/questions/451 \begingroup |