diff options
Diffstat (limited to 'language/greek/greek-fontenc/greek-fontenc.def')
-rw-r--r-- | language/greek/greek-fontenc/greek-fontenc.def | 96 |
1 files changed, 57 insertions, 39 deletions
diff --git a/language/greek/greek-fontenc/greek-fontenc.def b/language/greek/greek-fontenc/greek-fontenc.def index 0af15b2cab..8f90f9362e 100644 --- a/language/greek/greek-fontenc/greek-fontenc.def +++ b/language/greek/greek-fontenc/greek-fontenc.def @@ -12,7 +12,7 @@ % :: \ProvidesFile{greek-fontenc.def} -[2020/09/25 1.0 Common Greek font encoding definitions] +[2020/10/30 2.0 Common Greek font encoding definitions] % :Abstract: This file provides definitions that are shared between % font encodings providing Greek characters. @@ -27,7 +27,8 @@ % 0.12 2014-12-12 Remove symbol macros for breathing accents. % 0.13 2015-08-04 No @uclclist entry for ypogegrammeni/prosgegrammeni. % 0.13.4 2019-07-10 ``@uclclist`` entry for ``\prosgegrammeni``. -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` in LGR. +% 1.0 2020-09-25 ``\textKoppagreek`` and ``\textstigmagreek`` aliases. +% 2.0 2020/10/30 Alias definitions matching mathematical variant symbols. % ====== ============ ========================================================= % % Usage @@ -67,9 +68,25 @@ % % Aliases are defined via `DeclareTextCommand` so that up/downcasing works % without the need for additional uclclist_ entries. -% + + +% Names matching mathematical variant symbols:: + +% \var... matching GREEK ... SYMBOL +\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} % ϐ +\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{\textkappasymbol} % ϰ +\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{\textThetasymbol} % ϴ +\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{\textthetasymbol} % ϑ +\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{\textpisymbol} % ϖ +\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{\textrhosymbol} % ϱ +% \var... matching GREEK LETTER ... +\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{\textepsilon} % ε +\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{\textphi} % φ +\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{\textfinalsigma} % ς + % Compatibility aliases for hyperref_'s puenc.def:: +\DeclareTextCommand{\textmugreek}{\LastDeclaredEncoding}{\textmu} \DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa} \DeclareTextCommand{\textKoppagreek}{\LastDeclaredEncoding}{\textKoppa} \DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma} @@ -92,6 +109,7 @@ % Two Unicode code points and names for one character:: \DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos} +\DeclareTextCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\accdialyikatonos} \DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili} % Symbol macros for the breathings: @@ -129,6 +147,7 @@ % % .. code:: latex % +% \accdialyticavaria\textalpha, % \accdialytica\accvaria\textalpha, % \"\'\textalpha, % \"'\textalpha, or @@ -249,7 +268,7 @@ % % Based on the `babel patch`_ and ``fontenc.sty``. % -% The definition of an auxiliary, self-restting macro makes this idempotent +% The definition of an auxiliary, self-resetting macro makes this idempotent % (only the first use of this function will expand the ``@uclclist``). % The second and third lines are TeX' way of writing ``uclclist += …``:: @@ -271,38 +290,38 @@ \accdialytikaperispomeni\LGR@accDialytika \accperispomeni\LGR@accdropped \LGR@ypogegrammeni\prosgegrammeni - \textalpha \textAlpha - \textbeta \textBeta - \textgamma \textGamma - \textdelta \textDelta - \textepsilon \textEpsilon - \textzeta \textZeta - \texteta \textEta - \texttheta \textTheta - \textiota \textIota - \textkappa \textKappa - \textlambda \textLambda - \textmu \textMu - \textnu \textNu - \textxi \textXi - \textomicron \textOmicron - \textpi \textPi - \textrho \textRho - \textvarsigma \textSigma - \textsigma \textSigma - \textautosigma \textSigma - \texttau \textTau - \textupsilon \textUpsilon - \textphi \textPhi - \textchi \textChi - \textpsi \textPsi - \textomega \textOmega - \textkoppa \textKoppa - \textqoppa \textQoppa - \textvarstigma \textStigma - \textstigma \textStigma - \textsampi \textSampi - \textdigamma \textDigamma + \textalpha \textAlpha + \textbeta \textBeta + \textgamma \textGamma + \textdelta \textDelta + \textepsilon \textEpsilon + \textzeta \textZeta + \texteta \textEta + \texttheta \textTheta + \textiota \textIota + \textkappa \textKappa + \textlambda \textLambda + \textmu \textMu + \textnu \textNu + \textxi \textXi + \textomicron \textOmicron + \textpi \textPi + \textrho \textRho + \textfinalsigma \textSigma + \textsigma \textSigma + \textautosigma \textSigma + \texttau \textTau + \textupsilon \textUpsilon + \textphi \textPhi + \textchi \textChi + \textpsi \textPsi + \textomega \textOmega + \textkoppa \textKoppa + \textqoppa \textQoppa + \textvarstigma \textStigma + \textstigma \textStigma + \textsampi \textSampi + \textdigamma \textDigamma }% \let\update@uclc@with@greek\relax } @@ -354,8 +373,8 @@ % Epsilon. As ``\@ifnextchar`` gobbles spaces the lookahead macro definition % from ``amsgen.sty`` is used: % -% This macro is a new version of LaTeX’s ``\@ifnextchar``, macro -% that does not skip over spaces. +% This macro is a variant of LaTeX’s ``\@ifnextchar``, macro +% that does not skip over spaces. % % :: @@ -370,7 +389,6 @@ } - % .. References % ---------- % |