From 6f3ea19c12e4e035a14c4092c3fdc4cbc359a7fb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 Sep 2013 22:08:47 +0000 Subject: lgrx (13sep13) git-svn-id: svn://tug.org/texlive/trunk@31646 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/lgrx/README | 137 +-- Master/texmf-dist/doc/latex/lgrx/README.html | 150 +-- .../texmf-dist/doc/latex/lgrx/alphabeta-test.pdf | Bin 264875 -> 0 bytes .../texmf-dist/doc/latex/lgrx/alphabeta-test.tex | 232 ---- .../texmf-dist/doc/latex/lgrx/alphabeta.sty.html | 1144 -------------------- Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf | Bin 236572 -> 236572 bytes Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html | 6 +- .../texmf-dist/doc/latex/lgrx/textalpha-test.pdf | Bin 331428 -> 0 bytes .../texmf-dist/doc/latex/lgrx/textalpha-test.tex | 224 ---- .../texmf-dist/doc/latex/lgrx/textalpha.sty.html | 969 ----------------- Master/texmf-dist/tex/latex/lgrx/alphabeta.sty | 438 -------- Master/texmf-dist/tex/latex/lgrx/lgrxenc.def | 83 +- Master/texmf-dist/tex/latex/lgrx/textalpha.sty | 254 ----- 13 files changed, 85 insertions(+), 3552 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/lgrx/alphabeta-test.pdf delete mode 100644 Master/texmf-dist/doc/latex/lgrx/alphabeta-test.tex delete mode 100644 Master/texmf-dist/doc/latex/lgrx/alphabeta.sty.html delete mode 100644 Master/texmf-dist/doc/latex/lgrx/textalpha-test.pdf delete mode 100644 Master/texmf-dist/doc/latex/lgrx/textalpha-test.tex delete mode 100644 Master/texmf-dist/doc/latex/lgrx/textalpha.sty.html delete mode 100644 Master/texmf-dist/tex/latex/lgrx/alphabeta.sty delete mode 100644 Master/texmf-dist/tex/latex/lgrx/textalpha.sty (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/lgrx/README b/Master/texmf-dist/doc/latex/lgrx/README index ab87415a71d..e252413d879 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README +++ b/Master/texmf-dist/doc/latex/lgrx/README @@ -8,13 +8,13 @@ Greek text with the LGR font encoding conditions of the `LaTeX Project Public License`_, either version 1.3 of this license or any later version. -:Abstract: The `lgrx` bundle provides packages that help typesetting Greek - symbols with 8-bit LaTeX in multi-lingual documents. - +:Abstract: Obsolete package for Greek in text. News ==== +The `lgrx` package is obsoleted by greek-fontenc_ and greek-inputenc_. + :2013-05-28: The new package greek-fontenc_ provides a comprehensive LGR font encoding file ``lgrenc.def``, that supersedes both this bundles ``lgrxenc.def`` and the minimal ``lgrenc.def`` @@ -31,137 +31,40 @@ News ``lgrxenc.def`` now loads ``lgrenc.def`` and adds some backwards compatibility definitions. -.. note:: The TeXLive 2012 pre-release contained the Unicode definition file - ``lgrenc.dfu`` in the documentation instead of the TEXPATH. To enable - `utf-8 support for Greek`_, update via `tlmgr` or place a copy in the - TEXPATH «by hand». See - http://tug.org/pipermail/tex-live/2012-June/031757.html +:2013-09-13: ``alphabeta.sty`` and ``textalpha.sty`` moved to greek-fontenc_ + and now also support XeTeX/LuaTeX. - -Files +Usage ===== -LaTeX files: - :textalpha.sty: `Default text macros for Greek symbols`_ independent of - the current font encoding. Requires greek-fontenc_, - enhances greek-inputenc_. - - Literal source: ``_ - - :alphabeta.sty: `Generic macros for Greek symbols`_ in text and math. - Requires ``textalpha.sty``. - - Literal source: ``_ - - :lgrxenc.def: backwards compatibility file. New documents should use - greek-fontenc_'s ``lgrenc.def`` instead. - -Documentation and test documents: - .. class:: run-in - - :``_: `The textalpha package`, - source ``__ - :``_: `The alphabeta package`, - source ``__ - :``_: source ``__ - - -Components of the `lgrx` bundle -=============================== - - -The `lgrx` bundle consists of the `textalpha` and `alphabeta` packages and -the backwards compatibility file ``lgrxenc.def``. +To update existing documents, replace, e.g., :: + \usepackage[LGRx,T1]{fontenc} -Default text macros for Greek symbols -------------------------------------- +with :: -``textalpha.sty`` makes the ``\textalpha``, ``\textbeta`` ... macros as well as -the ``\ensuregreek`` command aviable in any font encoding. With the -greek-inputenc_ package, Unicode input of Greek letters works in any font -encoding, too. + \usepackage[LGR,T1]{fontenc} -.. _limitations: +No change is required for documents using the ``textalpha`` or ``alphabeta`` +packages now bundled with greek-fontenc_. -However, in any font encoding except LGR: -* there is no kerning between Greek characters, -* composition of diacritics (like ``\'"``) fails, -* accent macros do not select precomposed characters - (pre-composed Unicode literals work fine). - -See the literal source textalpha.sty.html_ and the example document -textalpha-test.pdf_ for details on usage, limitations, and recommended -workarounds. - - -Generic macros for Greek symbols --------------------------------- - -``alphabeta.sty`` allows you to use ``\alpha``, ``\beta``, ... in both, text -and math mode. For this, the math macros are redefined with the help of -``\TextOrMath`` from the standard package fixltx2e_. - -Unicode input of Greek letters works also in mathematical formulas. - -See the literal source alphabeta.sty.html_ and the example document -alphabeta-test.pdf_ for details. - - -LGR font encoding definition file ---------------------------------- - -``lgrxenc.def`` was an alternative to the rudimentary LGR encoding -definition file ``lgrenc.def`` that came with babel_'s Greek -support. It is now superseded by ``lgrenc.def`` from greek-fontenc_ but kept -here for backwards compatibility. - - -UTF-8 support for Greek ------------------------ - -Moved to the greek-inputenc_ package. +Files +===== +``_ + backwards compatibility font encoding file -References -========== +``_, ``_ + test document -.. [fntguide] LaTeX3 Project Team, `LaTeX 2ε font selection`, 2005. - http://mirror.ctan.org/macros/latex/doc/fntguide.pdf -.. [encguide] Frank Mittelbach, Robin Fairbairns, Werner Lemberg, - LaTeX3 Project Team, `LaTeX font encodings`, 2006. - http://mirror.ctan.org/macros/latex/doc/encguide.pdf -.. [greek-usage] Apostolos Syropoulos, `Writing Greek with the greek option - of the babel package`, 1997. - http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf -.. [cbfonts] Claudio Beccari, `The CB Greek fonts`, Εὔτυπον, τεῦχος № 21, 2008. - http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf -.. [teubner-doc] Claudio Beccari, ``teubner.sty`` - `An extension to the greek option of the babel package`, 2011. - http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf -.. [lemberg2008] Werner Lemberg, - `Unicode support for the Greek LGR encoding`, Εὔτυπον, τεῦχος № 20, 2008. - http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf +.. References + ========== .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -.. _CB Fonts: http://www.ctan.org/pkg/cbgreek-complete -.. _grtimes: http://www.ctan.org/pkg/grtimes -.. _GFS font collection: http://www.ctan.org/pkg/gfs -.. _Kerkis: http://www.ctan.org/pkg/kerkis -.. _lgrx: http://www.ctan.org/pkg/lgrx -.. _substitutefont: http://www.ctan.org/pkg/substitutefont -.. _babel: http://www.ctan.org/pkg/babel .. _babel-greek: http://www.ctan.org/pkg/babel-greek .. _fontenc: http://www.ctan.org/pkg/fontenc -.. _inputenc: http://www.ctan.org/pkg/inputenc -.. _fontspec: http://www.ctan.org/pkg/fontspec .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc .. _greek-inputenc: http://www.ctan.org/pkg/greek-inputenc -.. _polyglossia: http://www.ctan.org/pkg/polyglossia -.. _textgreek: http://www.ctan.org/pkg/textgreek -.. _fixltx2e: http://www.ctan.org/pkg/fixltx2e -.. _hyperref: http://www.ctan.org/pkg/hyperref -.. _bookmark: http://www.ctan.org/pkg/bookmark diff --git a/Master/texmf-dist/doc/latex/lgrx/README.html b/Master/texmf-dist/doc/latex/lgrx/README.html index b84b420dd23..8343ea15860 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README.html +++ b/Master/texmf-dist/doc/latex/lgrx/README.html @@ -3,7 +3,7 @@ - + Greek text with the LGR font encoding - - - -
-

alphabeta: Greek symbols in text and math

- -
- - -
Licence
-

This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3 of this license or any later version.

-
-
Identification
-
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{alphabeta}
-[2013/05/28 v0.3 macros for Greek letters in text and math]
-
-

This package is part of the lgrx bundle.

-
-
-
-

Abstract

-

Use \alpha, \beta, ... for Greek letters in text and math -mode.

-
-
-
Changelog:
-
----- - - - - - - - - - - - - - - - - - - -

2012-06-26

0.1

initial version

2013-05-03

0.2

new accent macro names with lgrxenc.def 0.7

2013-05-28

0.3

use lgrenc.def from greek-fontenc,

- 

enable Unicode input in math mode

-
-
-
-

Motivation

-

By default, the \alpha, \beta, ... macros for Greek letters -are only valid in mathematical mode.

-

With this package, the math macros are redefined to work in both, text and -math mode, so that Greek letters can be specified with the established -command names in text, too.

-

If used together with the utf8 option of inputenc, literal Unicode -characters can be used for Greek symbols in mathematical formulas.

-
-
Attention
-

The macros work well in any font encoding for single symbols.

-

However, the automatic font-encoding switches behind the doors interfere -with kerning between letters and replacement of accent+character with a -pre-composed character. Therefore, Greek text should be wrapped in the -provided \ensuregreek macro or written with the help of babel, -setting the language to greek.

-
-
-
-
-

Implementation

-
-

Requirements

-

This package extends the textalpha package:

-
\RequirePackage{textalpha}
-
-

textalpha depends on greek-fontenc and recommends greek-inputenc.

-

This package requires the e-TeX extensions (i.e. a not too old TeX -distribution) for the \ifdefined test.

-

It uses the \TextOrMath test from the fixltx2e standard LaTeX -package:

-
\RequirePackage{fixltx2e}
-
-
-
-

Postpone the re-definitions

-

To prevent other packages overwriting the re-defined commands we postpone -the next steps until the start of the document body:

-
\AtBeginDocument{
-
-
-
-

Save math macros

-

Provide an alias for the standard math commands:

-
\let\mathGamma\Gamma
-\let\mathDelta\Delta
-\let\mathTheta\Theta
-\let\mathLambda\Lambda
-\let\mathXi\Xi
-\let\mathPi\Pi
-\let\mathSigma\Sigma
-\let\mathUpsilon\Upsilon
-\let\mathPhi\Phi
-\let\mathPsi\Psi
-\let\mathOmega\Omega
-%
-\let\mathalpha\alpha
-\let\mathbeta\beta
-\let\mathgamma\gamma
-\let\mathdelta\delta
-\let\mathepsilon\epsilon
-\let\mathzeta\zeta
-\let\matheta\eta
-\let\maththeta\theta
-\let\mathiota\iota
-\let\mathkappa\kappa
-\let\mathlambda\lambda
-\let\mathmu\mu
-\let\mathnu\nu
-\let\mathxi\xi
-\let\mathpi\pi
-\let\mathrho\rho
-\let\mathsigma\sigma
-\let\mathvarsigma\varsigma
-\let\mathtau\tau
-\let\mathupsilon\upsilon
-\let\mathphi\phi
-\let\mathchi\chi
-\let\mathpsi\psi
-\let\mathomega\omega
-% ``\digamma`` is defined by amsmath, provide a fallback
-\providecommand*{\digamma}{\textit{\textdigamma}}
-\let\mathdigamma\digamma
-
-
-
-

Commands to access Greek letters by name

-

For letters defined in math mode, the commands work in both, text and math.

-

Some Greek letters look identic to Latin letters and can therefore not be -used as variable symbols in math formulas. These letters are not defined in -TeX’s math mode, we provide an alias to the corrsponding \text... -command.

-
\providecommand*{\Alpha}{\textAlpha}
-\providecommand*{\Beta}{\textBeta}
-\renewcommand*{\Gamma}{\TextOrMath{\textGamma}{\mathGamma}}
-\renewcommand*{\Delta}{\TextOrMath{\textDelta}{\mathDelta}}
-\providecommand*{\Epsilon}{\textEpsilon}
-\providecommand*{\Zeta}{\textZeta}
-\providecommand*{\Eta}{\textEta}
-\renewcommand*{\Theta}{\TextOrMath{\textTheta}{\mathTheta}}
-\providecommand*{\Iota}{\textIota}
-\providecommand*{\Kappa}{\textKappa}
-\renewcommand*{\Lambda}{\TextOrMath{\textLambda}{\mathLambda}}
-\providecommand*{\Mu}{\textMu}
-\providecommand*{\Nu}{\textNu}
-\renewcommand*{\Xi}{\TextOrMath{\textXi}{\mathXi}}
-\providecommand*{\Omicron}{\textOmicron}
-\renewcommand*{\Pi}{\TextOrMath{\textPi}{\mathPi}}
-\providecommand*{\Rho}{\textRho}
-\renewcommand*{\Sigma}{\TextOrMath{\textSigma}{\mathSigma}}
-\providecommand*{\Tau}{\textTau}
-\renewcommand*{\Upsilon}{\TextOrMath{\textUpsilon}{\mathUpsilon}}
-\renewcommand*{\Phi}{\TextOrMath{\textPhi}{\mathPhi}}
-\providecommand*{\Chi}{\textChi}
-\renewcommand*{\Psi}{\TextOrMath{\textPsi}{\mathPsi}}
-\renewcommand*{\Omega}{\TextOrMath{\textOmega}{\mathOmega}}
-%
-\renewcommand*{\alpha}{\TextOrMath{\textalpha}{\mathalpha}}
-\renewcommand*{\beta}{\TextOrMath{\textbeta}{\mathbeta}}
-\renewcommand*{\gamma}{\TextOrMath{\textgamma}{\mathgamma}}
-\renewcommand*{\delta}{\TextOrMath{\textdelta}{\mathdelta}}
-\renewcommand*{\epsilon}{\TextOrMath{\textepsilon}{\mathepsilon}}
-\renewcommand*{\zeta}{\TextOrMath{\textzeta}{\mathzeta}}
-\renewcommand*{\eta}{\TextOrMath{\texteta}{\matheta}}
-\renewcommand*{\theta}{\TextOrMath{\texttheta}{\maththeta}}
-\renewcommand*{\iota}{\TextOrMath{\textiota}{\mathiota}}
-\renewcommand*{\kappa}{\TextOrMath{\textkappa}{\mathkappa}}
-\renewcommand*{\lambda}{\TextOrMath{\textlambda}{\mathlambda}}
-\renewcommand*{\mu}{\TextOrMath{\textmu}{\mathmu}}
-\renewcommand*{\nu}{\TextOrMath{\textnu}{\mathnu}}
-\renewcommand*{\xi}{\TextOrMath{\textxi}{\mathxi}}
-\providecommand*{\omicron}{\textomicron}
-\renewcommand*{\pi}{\TextOrMath{\textpi}{\mathpi}}
-\renewcommand*{\rho}{\TextOrMath{\textrho}{\mathrho}}
-\renewcommand*{\sigma}{\TextOrMath{\textsigma}{\mathsigma}}
-\renewcommand*{\varsigma}{\TextOrMath{\textvarsigma}{\mathvarsigma}}
-\providecommand*{\finalsigma}{\varsigma}
-\renewcommand*{\tau}{\TextOrMath{\texttau}{\mathtau}}
-\renewcommand*{\upsilon}{\TextOrMath{\textupsilon}{\mathupsilon}}
-\renewcommand*{\phi}{\TextOrMath{\textphi}{\mathphi}}
-\renewcommand*{\chi}{\TextOrMath{\textchi}{\mathchi}}
-\renewcommand*{\psi}{\TextOrMath{\textpsi}{\mathpsi}}
-\renewcommand*{\omega}{\TextOrMath{\textomega}{\mathomega}}
-
-
-

Archaic letters

-
\renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ
-\providecommand*{\Digamma}{\textDigamma}     % Ϝ
-\providecommand*{\stigma}{\textstigma}       % ϛ
-\providecommand*{\varstigma}{\textvarstigma} % stigma variant (CB.enc, teubner)
-\providecommand*{\koppa}{\textkoppa}         % ϟ (greek small letter koppa)
-\providecommand*{\qoppa}{\textqoppa}         % ϙ (archaic koppa)
-\providecommand*{\Qoppa}{\textQoppa}         % Ϙ (archaic Koppa)
-\providecommand*{\Stigma}{\textStigma}       % Ϛ (in some fonts ϹΤ ligature)
-\providecommand*{\Sampi}{\textSampi}         % Ϡ
-\providecommand*{\sampi}{\textsampi}         % ϡ
-
-
-
-
-

TextCompositeCommands for the generic macros

-

The NFSS TextComposite mechanism looks for the next token without expanding -it. In order to let compositions like \TextGreek{\'\Alpha} or -\TextGreek{\>"\alpha} work as expected we define TextComposites with the -letter name commands. (Composition only works if the active font encoding -is LGR).

-
\DeclareTextComposite{\accvaria}{LGR}{\alpha}{128}
-\DeclareTextComposite{\accdasia}{LGR}{\alpha}{129}
-\DeclareTextComposite{\accpsili}{LGR}{\alpha}{130}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\alpha}{131}
-\DeclareTextComposite{\acctonos}{LGR}{\alpha}{136}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\alpha}{137}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\alpha}{138}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\alpha}{139}
-\DeclareTextComposite{\accperispomeni}{LGR}{\alpha}{144}
-\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\alpha}{145}
-\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\alpha}{146}
-\DeclareTextComposite{\accvaria}{LGR}{\eta}{152}
-\DeclareTextComposite{\accdasia}{LGR}{\eta}{153}
-\DeclareTextComposite{\accpsili}{LGR}{\eta}{154}
-\DeclareTextComposite{\acctonos}{LGR}{\eta}{160}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\eta}{161}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\eta}{162}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\eta}{163}
-\DeclareTextComposite{\accperispomeni}{LGR}{\eta}{168}
-\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\eta}{169}
-\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\eta}{170}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\eta}{171}
-\DeclareTextComposite{\accvaria}{LGR}{\omega}{176}
-\DeclareTextComposite{\accdasia}{LGR}{\omega}{177}
-\DeclareTextComposite{\accpsili}{LGR}{\omega}{178}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\omega}{179}
-\DeclareTextComposite{\acctonos}{LGR}{\omega}{184}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\omega}{185}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\omega}{186}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\omega}{187}
-\DeclareTextComposite{\accperispomeni}{LGR}{\omega}{192}
-\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\omega}{193}
-\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\omega}{194}
-\DeclareTextComposite{\accvaria}{LGR}{\iota}{200}
-\DeclareTextComposite{\accdasia}{LGR}{\iota}{201}
-\DeclareTextComposite{\accpsili}{LGR}{\iota}{202}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\iota}{203}
-\DeclareTextComposite{\acctonos}{LGR}{\iota}{208}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\iota}{209}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\iota}{210}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\iota}{211}
-\DeclareTextComposite{\accperispomeni}{LGR}{\iota}{216}
-\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\iota}{217}
-\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\iota}{218}
-\DeclareTextComposite{\accdialytika}{LGR}{\iota}{240}
-\DeclareTextComposite{\accdialytikavaria}{LGR}{\iota}{241}
-\DeclareTextComposite{\accdialytikatonos}{LGR}{\iota}{242}
-\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\iota}{243}
-\DeclareTextComposite{\accvaria}{LGR}{\upsilon}{204}
-\DeclareTextComposite{\accdasia}{LGR}{\upsilon}{205}
-\DeclareTextComposite{\accpsili}{LGR}{\upsilon}{206}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\upsilon}{207}
-\DeclareTextComposite{\acctonos}{LGR}{\upsilon}{212}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\upsilon}{213}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\upsilon}{214}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\upsilon}{215}
-\DeclareTextComposite{\accperispomeni}{LGR}{\upsilon}{220}
-\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\upsilon}{221}
-\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\upsilon}{222}
-\DeclareTextComposite{\accdialytika}{LGR}{\upsilon}{244}
-\DeclareTextComposite{\accdialytikavaria}{LGR}{\upsilon}{245}
-\DeclareTextComposite{\accdialytikatonos}{LGR}{\upsilon}{246}
-\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\upsilon}{247}
-\DeclareTextComposite{\accvaria}{LGR}{\epsilon}{224}
-\DeclareTextComposite{\accdasia}{LGR}{\epsilon}{225}
-\DeclareTextComposite{\accpsili}{LGR}{\epsilon}{226}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\epsilon}{227}
-\DeclareTextComposite{\acctonos}{LGR}{\epsilon}{232}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\epsilon}{233}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\epsilon}{234}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\epsilon}{235}
-\DeclareTextComposite{\accvaria}{LGR}{\omicron}{228}
-\DeclareTextComposite{\accdasia}{LGR}{\omicron}{229}
-\DeclareTextComposite{\accpsili}{LGR}{\omicron}{230}
-\DeclareTextComposite{\accdasiavaria}{LGR}{\omicron}{231}
-\DeclareTextComposite{\acctonos}{LGR}{\omicron}{236}
-\DeclareTextComposite{\accdasiaoxia}{LGR}{\omicron}{237}
-\DeclareTextComposite{\accpsilioxia}{LGR}{\omicron}{238}
-\DeclareTextComposite{\accpsilivaria}{LGR}{\omicron}{239}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Alpha}{<A}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Alpha}{<`A}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Alpha}{<'A}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Alpha}{<\char126A}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\Alpha}{>A}
-\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Alpha}{>`A}
-\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Alpha}{>'A}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Alpha}{>\char126A}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Alpha}{'A}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Alpha}{`A}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Epsilon}{<E}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Epsilon}{<'E}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Epsilon}{<`E}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\Epsilon}{>E}
-\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Epsilon}{>'E}
-\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Epsilon}{>`E}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Epsilon}{'E}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Epsilon}{`E}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Eta}{<H}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Eta}{<`H}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Eta}{<'H}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Eta}{<\char126H}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\Eta}{>H}
-\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Eta}{>`H}
-\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Eta}{>'H}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Eta}{>\char126H}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Eta}{'H}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Eta}{`H}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Iota}{<I}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Iota}{<`I}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Iota}{<'I}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Iota}{<\char126I}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\Iota}{>I}
-\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Iota}{>`I}
-\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Iota}{>'I}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Iota}{>\char126I}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Iota}{'I}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Iota}{`I}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Omicron}{<O}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Omicron}{<`O}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Omicron}{<'O}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\Omicron}{>O}
-\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omicron}{>`O}
-\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omicron}{>'O}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Omicron}{'O}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Omicron}{`O}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Upsilon}{<U}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Upsilon}{<`U}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Upsilon}{<'U}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Upsilon}{<\char126U}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Upsilon}{'U}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Upsilon}{`U}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\Omega}{<W}
-\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Omega}{<`W}
-\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Omega}{<'W}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Omega}{<\char126W}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\Omega}{>W}
-\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omega}{>`W}
-\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omega}{>'W}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Omega}{>\char126W}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\Omega}{'W}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\Omega}{`W}
-\DeclareTextComposite{\accdialytika}{LGR}{\Iota}{219}
-\DeclareTextComposite{\accdialytika}{LGR}{\Upsilon}{223}
-\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Alpha}{\LGR@A@hiatus}
-\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Epsilon}{\LGR@E@hiatus}
-
-
-
-

Re-definition for Greek Unicode input in math mode

-

Check with \ifdefined for the definition of -\DeclareUnicodeCharacter. In contrast to \@ifdefined, this works -without side-effects. It makes, however, the package dependent on the e-TeX -extensions. Alternatively, we could provide a dummy definition

-
\providecommand*{\DeclareUnicodeCharacter}[2]{}
-
-

Map Greek characters that are also defined in math mode to the generic -macros:

-
\ifdefined\DeclareUnicodeCharacter
-  \DeclareUnicodeCharacter{0393}{\Gamma}   % Γ
-  \DeclareUnicodeCharacter{0394}{\Delta}   % Δ
-  \DeclareUnicodeCharacter{0398}{\Theta}   % Θ
-  \DeclareUnicodeCharacter{039B}{\Lambda}  % Λ
-  \DeclareUnicodeCharacter{039E}{\Xi}      % Ξ
-  \DeclareUnicodeCharacter{03A0}{\Pi}      % Π
-  \DeclareUnicodeCharacter{03A3}{\Sigma}   % Σ
-  \DeclareUnicodeCharacter{03A5}{\Upsilon} % Υ
-  \DeclareUnicodeCharacter{03A6}{\Phi}     % Φ
-  \DeclareUnicodeCharacter{03A8}{\Psi}     % Ψ
-  \DeclareUnicodeCharacter{03A9}{\Omega}   % Ω
-
-  \DeclareUnicodeCharacter{03B1}{\alpha}    % α
-  \DeclareUnicodeCharacter{03B2}{\beta}     % β
-  \DeclareUnicodeCharacter{03B3}{\gamma}    % γ
-  \DeclareUnicodeCharacter{03B4}{\delta}    % δ
-  \DeclareUnicodeCharacter{03B5}{\epsilon}  % ε
-  \DeclareUnicodeCharacter{03B6}{\zeta}     % ζ
-  \DeclareUnicodeCharacter{03B7}{\eta}      % η
-  \DeclareUnicodeCharacter{03B8}{\theta}    % θ
-  \DeclareUnicodeCharacter{03B9}{\iota}     % ι
-  \DeclareUnicodeCharacter{03BA}{\kappa}    % κ
-  \DeclareUnicodeCharacter{03BB}{\lambda}   % λ
-  \DeclareUnicodeCharacter{03BC}{\mu}       % μ
-  \DeclareUnicodeCharacter{03BD}{\nu}       % ν
-  \DeclareUnicodeCharacter{03BE}{\xi}       % ξ
-  \DeclareUnicodeCharacter{03C0}{\pi}       % π
-  \DeclareUnicodeCharacter{03C1}{\rho}      % ρ
-  \DeclareUnicodeCharacter{03C2}{\varsigma} % ς
-  \DeclareUnicodeCharacter{03C3}{\sigma}    % σ
-  \DeclareUnicodeCharacter{03C4}{\tau}      % τ
-  \DeclareUnicodeCharacter{03C5}{\upsilon}  % υ
-  \DeclareUnicodeCharacter{03C6}{\phi}      % φ
-  \DeclareUnicodeCharacter{03C7}{\chi}      % χ
-  \DeclareUnicodeCharacter{03C8}{\psi}      % ψ
-  \DeclareUnicodeCharacter{03C9}{\omega}    % ω
-
-  \DeclareUnicodeCharacter{03DD}{\digamma}  % ϝ
-\fi
-
-
} % close the \AtBeginDocument macro
-
- -
-
-
- - diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf b/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf index 058ffe32c44..7dad0528684 100644 Binary files a/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf and b/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf differ diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html b/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html index bc6b06f298b..2936bf2d222 100644 --- a/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html +++ b/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html @@ -3,7 +3,7 @@ - + lgrxenc.def - - - -
-

textalpha: Greek symbols in text

- -
- - -
Licence
-

This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3 of this license or any later version.

-
-
Identification
-
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{textalpha}
-[2013/05/28 v0.4 macros for Greek letters in text]
-
-

This package is part of the lgrx bundle.

-
-
-
-

Abstract

-

Provide a set of \text* macros for Greek letters -outside math.

-
-
-

Note

-

The package was renamed from textgreek to textalpha to prevent -confusion with the textgreek package by Leonard Michlmayr.

-
-
-
Changelog:
-
----- - - - - - - - - - - - - - - - - - - -

2010-06-16

0.1

initial version

2012-06-27

0.2

support for compound Unicode definitions outside LGR

2013-05-03

0.3

new accent macro names with lgrxenc.def 0.7

2013-05-28

0.4

use lgrenc.def from greek-fontenc

-
-
-
-

Motivation

-

By default, TeX macros for Greek letters are only valid in mathematical -mode. This package declares the LGR font encoding as default for Greek LICR -macros (\textalpha\textOmega).

-
    -
  • Symbols from a Greek text font (e.g. the CB fonts) can be accessed -without the need for an explicite font-encoding switch.

  • -
  • In combination with \usepackage[utf8]{inputenc} and lgrenc.dfu -from greek-inputenc, Unicode input of Greek characters is supported in -any font encoding.

  • -
  • In combination with the \text macro from amsmath, this can be used to -get matching upright and bold upright Greek symbols in math mode.

  • -
-
-
Attention
-

The macros work well in any font encoding for single symbols.

-

However, the automatic font-encoding switches behind the doors interfere -with kerning between letters and replacement of accent+character with a -pre-composed character. Therefore, Greek text should be written with the -help of babel, setting the language to greek or wrapped in the -provided ensuregreek macro.

-
-
-

The package uses NFSS default definitions as explained in the fntguide -(section 5.3).

-
-
-

Implementation

-
-

Requirements

-

This package requires the font encoding definitions from greek-fontenc:

-
\input{lgrenc.def}
-
-
-
-

ensuregreek

-

The \ensuregreek command can be used to ensure that its argument is set in -a font encoding with support for Greek. We define LGR as default encoding for -Greek text:

-
\DeclareTextCommandDefault{\ensuregreek}[1]{{\fontencoding{LGR}\selectfont #1}}
-
- -

Eventually, all font encodings supporting Greek script (e.g. LGI, PU, EU1, -EU2) will declare \ensuregreek as text command that passes the argument -unchanged. This way, kerning and selection of precomposed glyphs would work -also for cases like \ensuregreek{\'A}U.

- -
-
-

Greek Alphabet

-

Define the text* marcos as default for all font encodings:

-
\DeclareTextSymbolDefault{\textAlpha}{LGR}
-\DeclareTextSymbolDefault{\textBeta}{LGR}
-\DeclareTextSymbolDefault{\textGamma}{LGR}
-\DeclareTextSymbolDefault{\textDelta}{LGR}
-\DeclareTextSymbolDefault{\textEpsilon}{LGR}
-\DeclareTextSymbolDefault{\textZeta}{LGR}
-\DeclareTextSymbolDefault{\textEta}{LGR}
-\DeclareTextSymbolDefault{\textTheta}{LGR}
-\DeclareTextSymbolDefault{\textIota}{LGR}
-\DeclareTextSymbolDefault{\textKappa}{LGR}
-\DeclareTextSymbolDefault{\textLambda}{LGR}
-\DeclareTextSymbolDefault{\textMu}{LGR}
-\DeclareTextSymbolDefault{\textNu}{LGR}
-\DeclareTextSymbolDefault{\textXi}{LGR}
-\DeclareTextSymbolDefault{\textOmicron}{LGR}
-\DeclareTextSymbolDefault{\textPi}{LGR}
-\DeclareTextSymbolDefault{\textRho}{LGR}
-\DeclareTextSymbolDefault{\textSigma}{LGR}
-\DeclareTextSymbolDefault{\textTau}{LGR}
-\DeclareTextSymbolDefault{\textUpsilon}{LGR}
-\DeclareTextSymbolDefault{\textPhi}{LGR}
-\DeclareTextSymbolDefault{\textChi}{LGR}
-\DeclareTextSymbolDefault{\textPsi}{LGR}
-\DeclareTextSymbolDefault{\textOmega}{LGR}
-%
-\DeclareTextSymbolDefault{\textalpha}{LGR}
-\DeclareTextSymbolDefault{\textbeta}{LGR}
-\DeclareTextSymbolDefault{\textgamma}{LGR}
-\DeclareTextSymbolDefault{\textdelta}{LGR}
-\DeclareTextSymbolDefault{\textepsilon}{LGR}
-\DeclareTextSymbolDefault{\textzeta}{LGR}
-\DeclareTextSymbolDefault{\texteta}{LGR}
-\DeclareTextSymbolDefault{\texttheta}{LGR}
-\DeclareTextSymbolDefault{\textiota}{LGR}
-\DeclareTextSymbolDefault{\textkappa}{LGR}
-\DeclareTextSymbolDefault{\textlambda}{LGR}
-\DeclareTextSymbolDefault{\textmu}{LGR}
-\DeclareTextSymbolDefault{\textnu}{LGR}
-\DeclareTextSymbolDefault{\textxi}{LGR}
-\DeclareTextSymbolDefault{\textomicron}{LGR}
-\DeclareTextSymbolDefault{\textpi}{LGR}
-\DeclareTextSymbolDefault{\textrho}{LGR}
-\DeclareTextSymbolDefault{\textsigma}{LGR}
-\DeclareTextSymbolDefault{\textvarsigma}{LGR}
-\DeclareTextSymbolDefault{\textfinalsigma}{LGR} % alias for \textvarsigma
-\DeclareTextSymbolDefault{\textautosigma}{LGR}  % char 115 in LGR
-\DeclareTextSymbolDefault{\texttau}{LGR}
-\DeclareTextSymbolDefault{\textupsilon}{LGR}
-\DeclareTextSymbolDefault{\textphi}{LGR}
-\DeclareTextSymbolDefault{\textchi}{LGR}
-\DeclareTextSymbolDefault{\textpsi}{LGR}
-\DeclareTextSymbolDefault{\textomega}{LGR}
-
-
-

Additional Greek symbols

-

Including alias names for compatibility with hyperref’s puenc.def.

-

Ancient Greek Numbers (Athenian Numerals):

-
\DeclareTextSymbolDefault{\textpentedeka}{LGR}    % GREEK ACROPHONIC ATTIC FIFTY
-\DeclareTextSymbolDefault{\textpentehekaton}{LGR} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
-\DeclareTextSymbolDefault{\textpenteqilioi}{LGR}  % GREEK ACROPHONIC ATTIC FIVE THOUSAND
-\DeclareTextSymbolDefault{\textpentemurioi}{LGR}  % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
-
-

Archaic letters:

-
\DeclareTextSymbolDefault{\textstigma}{LGR}      % ϛ
-\DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def)
-\DeclareTextSymbolDefault{\textvarstigma}{LGR}   % stigma variant
-\DeclareTextSymbolDefault{\textkoppa}{LGR}       % ϟ (greek small letter koppa)
-\DeclareTextSymbolDefault{\textkoppagreek}{LGR}  % ϟ (puenc.def)
-\DeclareTextSymbolDefault{\textqoppa}{LGR}       % ϙ (archaic koppa)
-\DeclareTextSymbolDefault{\textQoppa}{LGR}       % Ϙ (archaic Koppa)
-\DeclareTextSymbolDefault{\textStigma}{LGR}      % Ϛ ϹΤ ligature in some fonts
-\DeclareTextSymbolDefault{\textStigmagreek}{LGR} % Ϛ (puenc.def)
-\DeclareTextSymbolDefault{\textSampi}{LGR}       % Ϡ
-\DeclareTextSymbolDefault{\textSampigreek}{LGR}  % Ϡ (puenc.def)
-\DeclareTextSymbolDefault{\textsampi}{LGR}       % ϡ
-\DeclareTextSymbolDefault{\textsampigreek}{LGR}  % ϡ (puenc.def)
-\DeclareTextSymbolDefault{\textanoteleia}{LGR}   % ·
-\DeclareTextSymbolDefault{\texterotimatiko}{LGR} % ; (003B is the preferred character)
-\DeclareTextSymbolDefault{\textdigamma}{LGR}     % ϝ
-\DeclareTextSymbolDefault{\textDigamma}{LGR}     % Ϝ
-\DeclareTextSymbolDefault{\textdigammagreek}{LGR} % ϝ (puenc.def)
-\DeclareTextSymbolDefault{\textDigammagreek}{LGR} % Ϝ (puenc.def)
-
-

numeral signs: http://en.wikipedia.org/wiki/Greek_numerals

-
\DeclareTextSymbolDefault{\textnumeralsigngreek}{LGR}      % (puenc.def)
-\DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def)
-
-
-
-
-

Diacritics

-

Greek diacritics via “named” macros:

-
\DeclareTextAccentDefault{\accdasia}{LGR}
-\DeclareTextAccentDefault{\accpsili}{LGR}
-\DeclareTextAccentDefault{\acctonos}{LGR}
-\DeclareTextAccentDefault{\accvaria}{LGR}
-\DeclareTextAccentDefault{\accperispomeni}{LGR}
-\DeclareTextAccentDefault{\accdialytika}{LGR}
-\DeclareTextAccentDefault{\<}{LGR}
-\DeclareTextAccentDefault{\>}{LGR}
-%
-\DeclareTextAccentDefault{\accdasiaoxia}{LGR}
-\DeclareTextAccentDefault{\accdasiavaria}{LGR}
-\DeclareTextAccentDefault{\accdasiaperispomeni}{LGR}
-\DeclareTextAccentDefault{\accpsilioxia}{LGR}
-\DeclareTextAccentDefault{\accpsilivaria}{LGR}
-\DeclareTextAccentDefault{\accpsiliperispomeni}{LGR}
-\DeclareTextAccentDefault{\accdialytikatonos}{LGR}
-\DeclareTextAccentDefault{\accdialytikavaria}{LGR}
-\DeclareTextAccentDefault{\accdialytikaperispomeni}{LGR}
-
-

Postfix accents:

-
\DeclareTextSymbolDefault{\ypogegrammeni}{LGR} % "small" sub-iota
-\DeclareTextSymbolDefault{\prosgegrammeni}{LGR}  % "capital" sub-iota
-
-
-
-

Auxiliary macros

-

\MakeUppercase requires two internal commands:

-
\DeclareTextAccentDefault{\LGR@hiatus}{LGR}
-\DeclareTextAccentDefault{\LGR@Dialytika}{LGR}
-
- -
-
-
- - diff --git a/Master/texmf-dist/tex/latex/lgrx/alphabeta.sty b/Master/texmf-dist/tex/latex/lgrx/alphabeta.sty deleted file mode 100644 index 8d687ac6c49..00000000000 --- a/Master/texmf-dist/tex/latex/lgrx/alphabeta.sty +++ /dev/null @@ -1,438 +0,0 @@ -% alphabeta: Greek symbols in text and math -% ***************************************** -% -% :Copyright: © 2010 Günter Milde -% :Licence: This work may be distributed and/or modified under the -% conditions of the `LaTeX Project Public License`_, either -% version 1.3 of this license or any later version. -% -% :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math -% mode. -% -% :Identification: -% :: - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{alphabeta} -[2013/05/28 v0.3 macros for Greek letters in text and math] - -% This package is part of the lgrx_ bundle. -% -% Changelog: -% .. class:: borderless -% -% ========== ===== ========================================================= -% 2012-06-26 0.1 initial version -% 2013-05-03 0.2 new accent macro names with ``lgrxenc.def`` 0.7 -% 2013-05-28 0.3 use ``lgrenc.def`` from greek-fontenc, -% .. enable Unicode input in math mode -% ========== ===== ========================================================= -% -% Motivation -% ========== -% -% By default, the ``\alpha, \beta, ...`` macros for Greek letters -% are only valid in mathematical mode. -% -% With this package, the math macros are redefined to work in both, text and -% math mode, so that Greek letters can be specified with the established -% command names in text, too. -% -% If used together with the ``utf8`` option of inputenc_, literal Unicode -% characters can be used for Greek symbols in mathematical formulas. -% -% Attention -% The macros work well in any font encoding for single symbols. -% -% However, the automatic font-encoding switches behind the doors interfere -% with kerning between letters and replacement of accent+character with a -% pre-composed character. Therefore, Greek text should be wrapped in the -% provided ``\ensuregreek`` macro or written with the help of babel_, -% setting the language to ``greek``. -% -% -% Implementation -% ============== -% -% Requirements -% ------------ -% -% This package extends the `textalpha `_ package:: - -\RequirePackage{textalpha} - -% `textalpha` depends on greek-fontenc_ and recommends greek-inputenc_. -% -% This package requires the e-TeX_ extensions (i.e. a not too old TeX -% distribution) for the ``\ifdefined`` test. -% -% It uses the ``\TextOrMath`` test from the fixltx2e_ standard LaTeX -% package:: - -\RequirePackage{fixltx2e} - -% .. _fixltx2e: http://www.ctan.org/pkg/fixltx2e -% -% -% Postpone the re-definitions -% --------------------------- -% -% To prevent other packages overwriting the re-defined commands we postpone -% the next steps until the start of the document body:: - -\AtBeginDocument{ - -% Save math macros -% ---------------- -% -% Provide an alias for the standard math commands:: - -\let\mathGamma\Gamma -\let\mathDelta\Delta -\let\mathTheta\Theta -\let\mathLambda\Lambda -\let\mathXi\Xi -\let\mathPi\Pi -\let\mathSigma\Sigma -\let\mathUpsilon\Upsilon -\let\mathPhi\Phi -\let\mathPsi\Psi -\let\mathOmega\Omega -% -\let\mathalpha\alpha -\let\mathbeta\beta -\let\mathgamma\gamma -\let\mathdelta\delta -\let\mathepsilon\epsilon -\let\mathzeta\zeta -\let\matheta\eta -\let\maththeta\theta -\let\mathiota\iota -\let\mathkappa\kappa -\let\mathlambda\lambda -\let\mathmu\mu -\let\mathnu\nu -\let\mathxi\xi -\let\mathpi\pi -\let\mathrho\rho -\let\mathsigma\sigma -\let\mathvarsigma\varsigma -\let\mathtau\tau -\let\mathupsilon\upsilon -\let\mathphi\phi -\let\mathchi\chi -\let\mathpsi\psi -\let\mathomega\omega -% ``\digamma`` is defined by amsmath, provide a fallback -\providecommand*{\digamma}{\textit{\textdigamma}} -\let\mathdigamma\digamma - - -% Commands to access Greek letters by name -% ---------------------------------------- -% -% For letters defined in math mode, the commands work in both, text and math. -% -% Some Greek letters look identic to Latin letters and can therefore not be -% used as variable symbols in math formulas. These letters are not defined in -% TeX's math mode, we provide an alias to the corrsponding ``\text...`` -% command. -% :: - -\providecommand*{\Alpha}{\textAlpha} -\providecommand*{\Beta}{\textBeta} -\renewcommand*{\Gamma}{\TextOrMath{\textGamma}{\mathGamma}} -\renewcommand*{\Delta}{\TextOrMath{\textDelta}{\mathDelta}} -\providecommand*{\Epsilon}{\textEpsilon} -\providecommand*{\Zeta}{\textZeta} -\providecommand*{\Eta}{\textEta} -\renewcommand*{\Theta}{\TextOrMath{\textTheta}{\mathTheta}} -\providecommand*{\Iota}{\textIota} -\providecommand*{\Kappa}{\textKappa} -\renewcommand*{\Lambda}{\TextOrMath{\textLambda}{\mathLambda}} -\providecommand*{\Mu}{\textMu} -\providecommand*{\Nu}{\textNu} -\renewcommand*{\Xi}{\TextOrMath{\textXi}{\mathXi}} -\providecommand*{\Omicron}{\textOmicron} -\renewcommand*{\Pi}{\TextOrMath{\textPi}{\mathPi}} -\providecommand*{\Rho}{\textRho} -\renewcommand*{\Sigma}{\TextOrMath{\textSigma}{\mathSigma}} -\providecommand*{\Tau}{\textTau} -\renewcommand*{\Upsilon}{\TextOrMath{\textUpsilon}{\mathUpsilon}} -\renewcommand*{\Phi}{\TextOrMath{\textPhi}{\mathPhi}} -\providecommand*{\Chi}{\textChi} -\renewcommand*{\Psi}{\TextOrMath{\textPsi}{\mathPsi}} -\renewcommand*{\Omega}{\TextOrMath{\textOmega}{\mathOmega}} -% -\renewcommand*{\alpha}{\TextOrMath{\textalpha}{\mathalpha}} -\renewcommand*{\beta}{\TextOrMath{\textbeta}{\mathbeta}} -\renewcommand*{\gamma}{\TextOrMath{\textgamma}{\mathgamma}} -\renewcommand*{\delta}{\TextOrMath{\textdelta}{\mathdelta}} -\renewcommand*{\epsilon}{\TextOrMath{\textepsilon}{\mathepsilon}} -\renewcommand*{\zeta}{\TextOrMath{\textzeta}{\mathzeta}} -\renewcommand*{\eta}{\TextOrMath{\texteta}{\matheta}} -\renewcommand*{\theta}{\TextOrMath{\texttheta}{\maththeta}} -\renewcommand*{\iota}{\TextOrMath{\textiota}{\mathiota}} -\renewcommand*{\kappa}{\TextOrMath{\textkappa}{\mathkappa}} -\renewcommand*{\lambda}{\TextOrMath{\textlambda}{\mathlambda}} -\renewcommand*{\mu}{\TextOrMath{\textmu}{\mathmu}} -\renewcommand*{\nu}{\TextOrMath{\textnu}{\mathnu}} -\renewcommand*{\xi}{\TextOrMath{\textxi}{\mathxi}} -\providecommand*{\omicron}{\textomicron} -\renewcommand*{\pi}{\TextOrMath{\textpi}{\mathpi}} -\renewcommand*{\rho}{\TextOrMath{\textrho}{\mathrho}} -\renewcommand*{\sigma}{\TextOrMath{\textsigma}{\mathsigma}} -\renewcommand*{\varsigma}{\TextOrMath{\textvarsigma}{\mathvarsigma}} -\providecommand*{\finalsigma}{\varsigma} -\renewcommand*{\tau}{\TextOrMath{\texttau}{\mathtau}} -\renewcommand*{\upsilon}{\TextOrMath{\textupsilon}{\mathupsilon}} -\renewcommand*{\phi}{\TextOrMath{\textphi}{\mathphi}} -\renewcommand*{\chi}{\TextOrMath{\textchi}{\mathchi}} -\renewcommand*{\psi}{\TextOrMath{\textpsi}{\mathpsi}} -\renewcommand*{\omega}{\TextOrMath{\textomega}{\mathomega}} - - -% Archaic letters -% ''''''''''''''' -% -% :: - -\renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ -\providecommand*{\Digamma}{\textDigamma} % Ϝ -\providecommand*{\stigma}{\textstigma} % ϛ -\providecommand*{\varstigma}{\textvarstigma} % stigma variant (CB.enc, teubner) -\providecommand*{\koppa}{\textkoppa} % ϟ (greek small letter koppa) -\providecommand*{\qoppa}{\textqoppa} % ϙ (archaic koppa) -\providecommand*{\Qoppa}{\textQoppa} % Ϙ (archaic Koppa) -\providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) -\providecommand*{\Sampi}{\textSampi} % Ϡ -\providecommand*{\sampi}{\textsampi} % ϡ - - -% TextCompositeCommands for the generic macros -% -------------------------------------------- -% -% The NFSS TextComposite mechanism looks for the next token without expanding -% it. In order to let compositions like ``\TextGreek{\'\Alpha}`` or -% ``\TextGreek{\>"\alpha}`` work as expected we define TextComposites with the -% `letter name commands`. (Composition only works if the active font encoding -% is LGR). :: - -\DeclareTextComposite{\accvaria}{LGR}{\alpha}{128} -\DeclareTextComposite{\accdasia}{LGR}{\alpha}{129} -\DeclareTextComposite{\accpsili}{LGR}{\alpha}{130} -\DeclareTextComposite{\accdasiavaria}{LGR}{\alpha}{131} -\DeclareTextComposite{\acctonos}{LGR}{\alpha}{136} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\alpha}{137} -\DeclareTextComposite{\accpsilioxia}{LGR}{\alpha}{138} -\DeclareTextComposite{\accpsilivaria}{LGR}{\alpha}{139} -\DeclareTextComposite{\accperispomeni}{LGR}{\alpha}{144} -\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\alpha}{145} -\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\alpha}{146} -\DeclareTextComposite{\accvaria}{LGR}{\eta}{152} -\DeclareTextComposite{\accdasia}{LGR}{\eta}{153} -\DeclareTextComposite{\accpsili}{LGR}{\eta}{154} -\DeclareTextComposite{\acctonos}{LGR}{\eta}{160} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\eta}{161} -\DeclareTextComposite{\accpsilioxia}{LGR}{\eta}{162} -\DeclareTextComposite{\accdasiavaria}{LGR}{\eta}{163} -\DeclareTextComposite{\accperispomeni}{LGR}{\eta}{168} -\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\eta}{169} -\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\eta}{170} -\DeclareTextComposite{\accpsilivaria}{LGR}{\eta}{171} -\DeclareTextComposite{\accvaria}{LGR}{\omega}{176} -\DeclareTextComposite{\accdasia}{LGR}{\omega}{177} -\DeclareTextComposite{\accpsili}{LGR}{\omega}{178} -\DeclareTextComposite{\accdasiavaria}{LGR}{\omega}{179} -\DeclareTextComposite{\acctonos}{LGR}{\omega}{184} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\omega}{185} -\DeclareTextComposite{\accpsilioxia}{LGR}{\omega}{186} -\DeclareTextComposite{\accpsilivaria}{LGR}{\omega}{187} -\DeclareTextComposite{\accperispomeni}{LGR}{\omega}{192} -\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\omega}{193} -\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\omega}{194} -\DeclareTextComposite{\accvaria}{LGR}{\iota}{200} -\DeclareTextComposite{\accdasia}{LGR}{\iota}{201} -\DeclareTextComposite{\accpsili}{LGR}{\iota}{202} -\DeclareTextComposite{\accdasiavaria}{LGR}{\iota}{203} -\DeclareTextComposite{\acctonos}{LGR}{\iota}{208} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\iota}{209} -\DeclareTextComposite{\accpsilioxia}{LGR}{\iota}{210} -\DeclareTextComposite{\accpsilivaria}{LGR}{\iota}{211} -\DeclareTextComposite{\accperispomeni}{LGR}{\iota}{216} -\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\iota}{217} -\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\iota}{218} -\DeclareTextComposite{\accdialytika}{LGR}{\iota}{240} -\DeclareTextComposite{\accdialytikavaria}{LGR}{\iota}{241} -\DeclareTextComposite{\accdialytikatonos}{LGR}{\iota}{242} -\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\iota}{243} -\DeclareTextComposite{\accvaria}{LGR}{\upsilon}{204} -\DeclareTextComposite{\accdasia}{LGR}{\upsilon}{205} -\DeclareTextComposite{\accpsili}{LGR}{\upsilon}{206} -\DeclareTextComposite{\accdasiavaria}{LGR}{\upsilon}{207} -\DeclareTextComposite{\acctonos}{LGR}{\upsilon}{212} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\upsilon}{213} -\DeclareTextComposite{\accpsilioxia}{LGR}{\upsilon}{214} -\DeclareTextComposite{\accpsilivaria}{LGR}{\upsilon}{215} -\DeclareTextComposite{\accperispomeni}{LGR}{\upsilon}{220} -\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\upsilon}{221} -\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\upsilon}{222} -\DeclareTextComposite{\accdialytika}{LGR}{\upsilon}{244} -\DeclareTextComposite{\accdialytikavaria}{LGR}{\upsilon}{245} -\DeclareTextComposite{\accdialytikatonos}{LGR}{\upsilon}{246} -\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\upsilon}{247} -\DeclareTextComposite{\accvaria}{LGR}{\epsilon}{224} -\DeclareTextComposite{\accdasia}{LGR}{\epsilon}{225} -\DeclareTextComposite{\accpsili}{LGR}{\epsilon}{226} -\DeclareTextComposite{\accdasiavaria}{LGR}{\epsilon}{227} -\DeclareTextComposite{\acctonos}{LGR}{\epsilon}{232} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\epsilon}{233} -\DeclareTextComposite{\accpsilioxia}{LGR}{\epsilon}{234} -\DeclareTextComposite{\accpsilivaria}{LGR}{\epsilon}{235} -\DeclareTextComposite{\accvaria}{LGR}{\omicron}{228} -\DeclareTextComposite{\accdasia}{LGR}{\omicron}{229} -\DeclareTextComposite{\accpsili}{LGR}{\omicron}{230} -\DeclareTextComposite{\accdasiavaria}{LGR}{\omicron}{231} -\DeclareTextComposite{\acctonos}{LGR}{\omicron}{236} -\DeclareTextComposite{\accdasiaoxia}{LGR}{\omicron}{237} -\DeclareTextComposite{\accpsilioxia}{LGR}{\omicron}{238} -\DeclareTextComposite{\accpsilivaria}{LGR}{\omicron}{239} -\DeclareTextCompositeCommand{\accdasia}{LGR}{\Alpha}{A} -\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Alpha}{>`A} -\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Alpha}{>'A} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Alpha}{>\char126A} -\DeclareTextCompositeCommand{\acctonos}{LGR}{\Alpha}{'A} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\Alpha}{`A} -\DeclareTextCompositeCommand{\accdasia}{LGR}{\Epsilon}{E} -\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Epsilon}{>'E} -\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Epsilon}{>`E} -\DeclareTextCompositeCommand{\acctonos}{LGR}{\Epsilon}{'E} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\Epsilon}{`E} -\DeclareTextCompositeCommand{\accdasia}{LGR}{\Eta}{H} -\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Eta}{>`H} -\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Eta}{>'H} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Eta}{>\char126H} -\DeclareTextCompositeCommand{\acctonos}{LGR}{\Eta}{'H} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\Eta}{`H} -\DeclareTextCompositeCommand{\accdasia}{LGR}{\Iota}{I} -\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Iota}{>`I} -\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Iota}{>'I} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Iota}{>\char126I} -\DeclareTextCompositeCommand{\acctonos}{LGR}{\Iota}{'I} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\Iota}{`I} -\DeclareTextCompositeCommand{\accdasia}{LGR}{\Omicron}{O} -\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omicron}{>`O} -\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omicron}{>'O} -\DeclareTextCompositeCommand{\acctonos}{LGR}{\Omicron}{'O} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\Omicron}{`O} -\DeclareTextCompositeCommand{\accdasia}{LGR}{\Upsilon}{W} -\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omega}{>`W} -\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omega}{>'W} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Omega}{>\char126W} -\DeclareTextCompositeCommand{\acctonos}{LGR}{\Omega}{'W} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\Omega}{`W} -\DeclareTextComposite{\accdialytika}{LGR}{\Iota}{219} -\DeclareTextComposite{\accdialytika}{LGR}{\Upsilon}{223} -\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Alpha}{\LGR@A@hiatus} -\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Epsilon}{\LGR@E@hiatus} - - -% Re-definition for Greek Unicode input in math mode -% -------------------------------------------------- -% -% Check with ``\ifdefined`` for the definition of -% ``\DeclareUnicodeCharacter``. In contrast to ``\@ifdefined``, this works -% without side-effects. It makes, however, the package dependent on the `e-TeX` -% extensions. Alternatively, we could provide a dummy definition -% -% .. code:: latex -% -% \providecommand*{\DeclareUnicodeCharacter}[2]{} -% -% Map Greek characters that are also defined in math mode to the generic -% macros:: - -\ifdefined\DeclareUnicodeCharacter - \DeclareUnicodeCharacter{0393}{\Gamma} % Γ - \DeclareUnicodeCharacter{0394}{\Delta} % Δ - \DeclareUnicodeCharacter{0398}{\Theta} % Θ - \DeclareUnicodeCharacter{039B}{\Lambda} % Λ - \DeclareUnicodeCharacter{039E}{\Xi} % Ξ - \DeclareUnicodeCharacter{03A0}{\Pi} % Π - \DeclareUnicodeCharacter{03A3}{\Sigma} % Σ - \DeclareUnicodeCharacter{03A5}{\Upsilon} % Υ - \DeclareUnicodeCharacter{03A6}{\Phi} % Φ - \DeclareUnicodeCharacter{03A8}{\Psi} % Ψ - \DeclareUnicodeCharacter{03A9}{\Omega} % Ω - - \DeclareUnicodeCharacter{03B1}{\alpha} % α - \DeclareUnicodeCharacter{03B2}{\beta} % β - \DeclareUnicodeCharacter{03B3}{\gamma} % γ - \DeclareUnicodeCharacter{03B4}{\delta} % δ - \DeclareUnicodeCharacter{03B5}{\epsilon} % ε - \DeclareUnicodeCharacter{03B6}{\zeta} % ζ - \DeclareUnicodeCharacter{03B7}{\eta} % η - \DeclareUnicodeCharacter{03B8}{\theta} % θ - \DeclareUnicodeCharacter{03B9}{\iota} % ι - \DeclareUnicodeCharacter{03BA}{\kappa} % κ - \DeclareUnicodeCharacter{03BB}{\lambda} % λ - \DeclareUnicodeCharacter{03BC}{\mu} % μ - \DeclareUnicodeCharacter{03BD}{\nu} % ν - \DeclareUnicodeCharacter{03BE}{\xi} % ξ - \DeclareUnicodeCharacter{03C0}{\pi} % π - \DeclareUnicodeCharacter{03C1}{\rho} % ρ - \DeclareUnicodeCharacter{03C2}{\varsigma} % ς - \DeclareUnicodeCharacter{03C3}{\sigma} % σ - \DeclareUnicodeCharacter{03C4}{\tau} % τ - \DeclareUnicodeCharacter{03C5}{\upsilon} % υ - \DeclareUnicodeCharacter{03C6}{\phi} % φ - \DeclareUnicodeCharacter{03C7}{\chi} % χ - \DeclareUnicodeCharacter{03C8}{\psi} % ψ - \DeclareUnicodeCharacter{03C9}{\omega} % ω - - \DeclareUnicodeCharacter{03DD}{\digamma} % ϝ -\fi - -% :: - -} % close the \AtBeginDocument macro - -% .. References -% ---------- -% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -% .. _CB Fonts: http://www.ctan.org/pkg/cbgreek-complete -% .. _babel: http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel -% .. _e-TeX: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=etex -% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc -% .. _greek-inputenc: http://www.ctan.org/pkg/greek-inputenc -% .. _inputenc: http://www.ctan.org/pkg/inputenc -% .. _lgrx: http://www.ctan.org/pkg/lgrx -% .. _fixltx2e: http://www.ctan.org/pkg/fixltx2e diff --git a/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def b/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def index bd9861db6c8..0c1f8e8b69c 100644 --- a/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def +++ b/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def @@ -1,30 +1,27 @@ % lgrxenc.def % *********** -% +% % comprehensive LGR Greek font encoding definitions % ================================================= -% +% % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. -% -% :Abstract: This file is only kept for backwards compatibility with existing -% documents. -% -% For new documents, use ``lgrenc.def`` from greek-fontenc_ (which -% is also required by this file). -% -% This file is part of the lgrx_ bundle. -% +% +% :Abstract: Obsolete font encoding file for Greek in text. +% +% For new documents, use ``lgrenc.def`` from greek-fontenc_ (which +% is also required by this file). +% % .. contents:: -% -% +% +% % Changelog % --------- -% +% % .. class:: borderless -% +% % ===== ============ ==================================================== % 0.1 2010-03-31 initial attempt % 0.2 2010-04-20 diacritics dropped in UPPERCASE @@ -42,46 +39,46 @@ % 0.7 2013-05-03 documentation update, new accent macros names % 0.8 2013-05-30 backwards compatibility file for new lgrenc.def % ===== ============ ==================================================== -% +% % Usage % ----- -% +% % This file is only kept for backwards compatibility with existing documents. -% +% % For new documents, use ``lgrenc.def`` from greek-fontenc_ (which is also % required by this file). -% +% % Example: % Select font encodings `T1` (as default) and `LGR`: -% +% % .. code:: latex -% +% % \usepackage[LGR,T1]{fontenc} -% +% % Select font encodings `T1` and (as default) `LGR`: -% +% % .. code:: latex -% +% % \usepackage[T1,LGR]{fontenc} -% +% % Babel_'s "greek" option and the textalpha and alphabeta packages also load % ``lgrenc.def``, so after any of the following lines, "LGR" is declared and % set up as a font encoding: -% +% % .. code:: latex -% +% % \usepackage[greek,english]{babel} % default language English -% +% % \usepackage[greek,english]{babel} % default language Greek -% +% % \usepackage{textalpha} -% +% % \usepackage{alphabeta} -% -% +% +% % Implementation % -------------- -% +% % Identification % ~~~~~~~~~~~~~~ % :: @@ -92,7 +89,7 @@ % Requirements % ~~~~~~~~~~~~ -% +% % To declare and set up the LGR font encoding, we use the successor file % ``lgrenc.def`` from greek-fontenc_:: @@ -100,21 +97,21 @@ % Backwards compatibility definitions % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -% +% % ``\TextGreek`` is now called ``\ensuregreek``:: \DeclareTextCommand{\TextGreek}{LGR}[1]{#1} - + % Additional Greek symbols % """""""""""""""""""""""" -% +% % Compatibility aliases (defined via `TextCommand` so that up/downcasing works % without the need for additional uclclist entries. -% +% % Ancient Greek Numbers (Athenian Numerals) % ''''''''''''''''''''''''''''''''''''''''' -% +% % Names from the athnum_ package:: \DeclareTextCommand{\PiDelta}{LGR}{\pentedeka} % GREEK ACROPHONIC ATTIC FIFTY @@ -124,7 +121,7 @@ % Archaic letters % ''''''''''''''' -% +% % Names from babel_'s ``greek.ldf`` and teubner_ :: \DeclareTextCommand{\vardigamma}{LGR}{\textvarstigma} % greek.ldf @@ -146,7 +143,7 @@ % Numeral signs % ''''''''''''' % See also http://en.wikipedia.org/wiki/Greek_numerals -% +% % Names from babel_, teubner_, and hyperref_'s puenc.def:: \DeclareTextCommand{\anwtonos}{LGR}{\textnumeralsigngreek} % ʹ (Dexia keraia) @@ -155,7 +152,7 @@ % Diacritics % ~~~~~~~~~~ -% +% % Backwards compatibility with LGRx versions < 0.7:: \DeclareTextCommand{\Ypogegrammeni}{LGR}{\ypogegrammeni} @@ -182,7 +179,7 @@ % .. References % ---------- -% +% % .. _alphabeta: alphabeta.sty.html % .. _athnum: http://www.ctan.org/pkg/athnum % .. _Babel: http://www.ctan.org/pkg/babel diff --git a/Master/texmf-dist/tex/latex/lgrx/textalpha.sty b/Master/texmf-dist/tex/latex/lgrx/textalpha.sty deleted file mode 100644 index 11d8a1f5dc2..00000000000 --- a/Master/texmf-dist/tex/latex/lgrx/textalpha.sty +++ /dev/null @@ -1,254 +0,0 @@ -% textalpha: Greek symbols in text -% ******************************** -% -% :Copyright: © 2010 Günter Milde -% :Licence: This work may be distributed and/or modified under the -% conditions of the `LaTeX Project Public License`_, either -% version 1.3 of this license or any later version. -% -% :Abstract: Provide a set of ``\text*`` macros for Greek letters -% outside math. -% -% :Identification: -% :: - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{textalpha} -[2013/05/28 v0.4 macros for Greek letters in text] - -% This package is part of the lgrx_ bundle. -% -% .. note:: -% -% The package was renamed from `textgreek` to `textalpha` to prevent -% confusion with the textgreek_ package by Leonard Michlmayr. -% -% -% Changelog: -% .. class:: borderless -% -% ========== ===== ========================================================= -% 2010-06-16 0.1 initial version -% 2012-06-27 0.2 support for compound Unicode definitions outside LGR -% 2013-05-03 0.3 new accent macro names with ``lgrxenc.def`` 0.7 -% 2013-05-28 0.4 use ``lgrenc.def`` from greek-fontenc -% ========== ===== ========================================================= -% -% Motivation -% ========== -% -% By default, TeX macros for Greek letters are only valid in mathematical -% mode. This package declares the LGR font encoding as default for Greek LICR -% macros (``\textalpha`` -- ``\textOmega``). -% -% * Symbols from a Greek text font (e.g. the `CB fonts`_) can be accessed -% without the need for an explicite font-encoding switch. -% -% * In combination with ``\usepackage[utf8]{inputenc}`` and ``lgrenc.dfu`` -% from greek-inputenc_, Unicode input of Greek characters is supported in -% any font encoding. -% -% * In combination with the ``\text`` macro from amsmath, this can be used to -% get matching upright and bold upright Greek symbols in math mode. -% -% Attention -% The macros work well in any font encoding for single symbols. -% -% However, the automatic font-encoding switches behind the doors interfere -% with kerning between letters and replacement of accent+character with a -% pre-composed character. Therefore, Greek text should be written with the -% help of babel_, setting the language to ``greek`` or wrapped in the -% provided ensuregreek_ macro. -% -% The package uses NFSS default definitions as explained in the fntguide_ -% (section 5.3). -% -% -% Implementation -% ============== -% -% Requirements -% ------------ -% -% This package requires the font encoding definitions from greek-fontenc_:: - -\input{lgrenc.def} - -% ensuregreek -% ----------- -% -% The ``\ensuregreek`` command can be used to ensure that its argument is set in -% a font encoding with support for Greek. We define LGR as default encoding for -% Greek text:: - -\DeclareTextCommandDefault{\ensuregreek}[1]{{\fontencoding{LGR}\selectfont #1}} - -% .. The [fntguide_] writes -% -% Note that ``\DeclareTextAccentDefault`` can be used on any -% one-argument encoding-specific command, not just those defined with -% ``\DeclareTextAccent``. -% -% However, the simpler alternative -% ``\DeclareTextAccentDefault{\ensuregreek}{LGR}`` fails with the table of -% Unicode characters in the test document ``__: -% -% ``! You can't use a prefix with `end-group character }'.`` -% -% Eventually, all font encodings supporting Greek script (e.g. LGI, PU, EU1, -% EU2) will declare ``\ensuregreek`` as text command that passes the argument -% unchanged. This way, kerning and selection of precomposed glyphs would work -% also for cases like ``\ensuregreek{\'A}U``. -% -% .. Do this for PU here? ``\DeclareTextCommand{\ensuregreek}{PU}[1]{#1}`` -% -% Can lead to infinite recursion (``TeX capacity exeeded``) without the -% ``unicode=true`` hyperref option. -% (How about a test whether the PU font encoding is defined?). -% -% -% Greek Alphabet -% -------------- -% -% Define the ``text*`` marcos as default for all font encodings:: - -\DeclareTextSymbolDefault{\textAlpha}{LGR} -\DeclareTextSymbolDefault{\textBeta}{LGR} -\DeclareTextSymbolDefault{\textGamma}{LGR} -\DeclareTextSymbolDefault{\textDelta}{LGR} -\DeclareTextSymbolDefault{\textEpsilon}{LGR} -\DeclareTextSymbolDefault{\textZeta}{LGR} -\DeclareTextSymbolDefault{\textEta}{LGR} -\DeclareTextSymbolDefault{\textTheta}{LGR} -\DeclareTextSymbolDefault{\textIota}{LGR} -\DeclareTextSymbolDefault{\textKappa}{LGR} -\DeclareTextSymbolDefault{\textLambda}{LGR} -\DeclareTextSymbolDefault{\textMu}{LGR} -\DeclareTextSymbolDefault{\textNu}{LGR} -\DeclareTextSymbolDefault{\textXi}{LGR} -\DeclareTextSymbolDefault{\textOmicron}{LGR} -\DeclareTextSymbolDefault{\textPi}{LGR} -\DeclareTextSymbolDefault{\textRho}{LGR} -\DeclareTextSymbolDefault{\textSigma}{LGR} -\DeclareTextSymbolDefault{\textTau}{LGR} -\DeclareTextSymbolDefault{\textUpsilon}{LGR} -\DeclareTextSymbolDefault{\textPhi}{LGR} -\DeclareTextSymbolDefault{\textChi}{LGR} -\DeclareTextSymbolDefault{\textPsi}{LGR} -\DeclareTextSymbolDefault{\textOmega}{LGR} -% -\DeclareTextSymbolDefault{\textalpha}{LGR} -\DeclareTextSymbolDefault{\textbeta}{LGR} -\DeclareTextSymbolDefault{\textgamma}{LGR} -\DeclareTextSymbolDefault{\textdelta}{LGR} -\DeclareTextSymbolDefault{\textepsilon}{LGR} -\DeclareTextSymbolDefault{\textzeta}{LGR} -\DeclareTextSymbolDefault{\texteta}{LGR} -\DeclareTextSymbolDefault{\texttheta}{LGR} -\DeclareTextSymbolDefault{\textiota}{LGR} -\DeclareTextSymbolDefault{\textkappa}{LGR} -\DeclareTextSymbolDefault{\textlambda}{LGR} -\DeclareTextSymbolDefault{\textmu}{LGR} -\DeclareTextSymbolDefault{\textnu}{LGR} -\DeclareTextSymbolDefault{\textxi}{LGR} -\DeclareTextSymbolDefault{\textomicron}{LGR} -\DeclareTextSymbolDefault{\textpi}{LGR} -\DeclareTextSymbolDefault{\textrho}{LGR} -\DeclareTextSymbolDefault{\textsigma}{LGR} -\DeclareTextSymbolDefault{\textvarsigma}{LGR} -\DeclareTextSymbolDefault{\textfinalsigma}{LGR} % alias for \textvarsigma -\DeclareTextSymbolDefault{\textautosigma}{LGR} % char 115 in LGR -\DeclareTextSymbolDefault{\texttau}{LGR} -\DeclareTextSymbolDefault{\textupsilon}{LGR} -\DeclareTextSymbolDefault{\textphi}{LGR} -\DeclareTextSymbolDefault{\textchi}{LGR} -\DeclareTextSymbolDefault{\textpsi}{LGR} -\DeclareTextSymbolDefault{\textomega}{LGR} - -% Additional Greek symbols -% """""""""""""""""""""""" -% -% Including alias names for compatibility with hyperref's puenc.def. -% -% Ancient Greek Numbers (Athenian Numerals):: - -\DeclareTextSymbolDefault{\textpentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareTextSymbolDefault{\textpentehekaton}{LGR} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareTextSymbolDefault{\textpenteqilioi}{LGR} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareTextSymbolDefault{\textpentemurioi}{LGR} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND - -% Archaic letters:: - -\DeclareTextSymbolDefault{\textstigma}{LGR} % ϛ -\DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def) -\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant -\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ (greek small letter koppa) -\DeclareTextSymbolDefault{\textkoppagreek}{LGR} % ϟ (puenc.def) -\DeclareTextSymbolDefault{\textqoppa}{LGR} % ϙ (archaic koppa) -\DeclareTextSymbolDefault{\textQoppa}{LGR} % Ϙ (archaic Koppa) -\DeclareTextSymbolDefault{\textStigma}{LGR} % Ϛ ϹΤ ligature in some fonts -\DeclareTextSymbolDefault{\textStigmagreek}{LGR} % Ϛ (puenc.def) -\DeclareTextSymbolDefault{\textSampi}{LGR} % Ϡ -\DeclareTextSymbolDefault{\textSampigreek}{LGR} % Ϡ (puenc.def) -\DeclareTextSymbolDefault{\textsampi}{LGR} % ϡ -\DeclareTextSymbolDefault{\textsampigreek}{LGR} % ϡ (puenc.def) -\DeclareTextSymbolDefault{\textanoteleia}{LGR} % · -\DeclareTextSymbolDefault{\texterotimatiko}{LGR} % ; (003B is the preferred character) -\DeclareTextSymbolDefault{\textdigamma}{LGR} % ϝ -\DeclareTextSymbolDefault{\textDigamma}{LGR} % Ϝ -\DeclareTextSymbolDefault{\textdigammagreek}{LGR} % ϝ (puenc.def) -\DeclareTextSymbolDefault{\textDigammagreek}{LGR} % Ϝ (puenc.def) - -% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals :: - -\DeclareTextSymbolDefault{\textnumeralsigngreek}{LGR} % (puenc.def) -\DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def) - -% Diacritics -% ---------- -% -% Greek diacritics via "named" macros:: - -\DeclareTextAccentDefault{\accdasia}{LGR} -\DeclareTextAccentDefault{\accpsili}{LGR} -\DeclareTextAccentDefault{\acctonos}{LGR} -\DeclareTextAccentDefault{\accvaria}{LGR} -\DeclareTextAccentDefault{\accperispomeni}{LGR} -\DeclareTextAccentDefault{\accdialytika}{LGR} -\DeclareTextAccentDefault{\<}{LGR} -\DeclareTextAccentDefault{\>}{LGR} -% -\DeclareTextAccentDefault{\accdasiaoxia}{LGR} -\DeclareTextAccentDefault{\accdasiavaria}{LGR} -\DeclareTextAccentDefault{\accdasiaperispomeni}{LGR} -\DeclareTextAccentDefault{\accpsilioxia}{LGR} -\DeclareTextAccentDefault{\accpsilivaria}{LGR} -\DeclareTextAccentDefault{\accpsiliperispomeni}{LGR} -\DeclareTextAccentDefault{\accdialytikatonos}{LGR} -\DeclareTextAccentDefault{\accdialytikavaria}{LGR} -\DeclareTextAccentDefault{\accdialytikaperispomeni}{LGR} - -% Postfix accents:: - -\DeclareTextSymbolDefault{\ypogegrammeni}{LGR} % "small" sub-iota -\DeclareTextSymbolDefault{\prosgegrammeni}{LGR} % "capital" sub-iota - -% Auxiliary macros -% ---------------- -% -% ``\MakeUppercase`` requires two internal commands:: - -\DeclareTextAccentDefault{\LGR@hiatus}{LGR} -\DeclareTextAccentDefault{\LGR@Dialytika}{LGR} - - -% .. References -% ---------- -% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -% .. _CB fonts: http://www.ctan.org/pkg/cbgreek-complete -% .. _babel: http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel -% .. _fntguide: http://www.ctan.org/tex-archive/macros/latex/doc/fntguide.pdf -% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc -% .. _greek-inputenc: http://www.ctan.org/pkg/greek-inputenc -% .. _lgrx: http://www.ctan.org/pkg/lgrx -% .. _textgreek: http://www.ctan.org/pkg/textgreek -- cgit v1.2.3