diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-11 23:31:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-11 23:31:14 +0000 |
commit | d41b09fae4e020f0ff6108838e6175646f3d2b9e (patch) | |
tree | f92fa339314d12452a3eb93257fa8ac492279da6 | |
parent | 562ae685591240b0ea768aa3de044339bcaee64e (diff) |
lgrx (6jul12)
git-svn-id: svn://tug.org/texlive/trunk@27003 c570f23f-e606-0410-a88d-b1316a301751
22 files changed, 4003 insertions, 1501 deletions
diff --git a/Master/texmf-dist/doc/latex/lgrx/README b/Master/texmf-dist/doc/latex/lgrx/README index cb4a68cee1e..302cf95bc23 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README +++ b/Master/texmf-dist/doc/latex/lgrx/README @@ -1,71 +1,138 @@ .. -*- rst-mode -*- -.. sectnum:: - :depth: 1 - -Greek text with the `LGR` font encoding +Greek text with the LGR font encoding *************************************** :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: The LGRx bundle provides packages and definitions for typesetting - Greek text with fonts in the LGR encoding, the de-facto standard - set by babel. It includes a comprehensive font definition file, - support for Unicode input and macros for Greek letters in - non-Greek text. + +:Abstract: The LGR font encoding is the de-facto standard for Greek + typesetting with (8-bit) LaTeX. However, the encoding definition + file that ships with babel_ misses many of the definitions common + since the advent of the NFSS [fntguide]_. + + The `lgrx` bundle provides packages and definitions for + typesetting Greek text with fonts in the LGR encoding. It works + for both, monotonic and polytonic Greek, independent of the + `babel` package. + + The bundle is available from CTAN__ and included in TeXLive + 2012. Development takes place at the Sourceforge__. + +__ http://www.ctan.org/tex-archive/macros/latex/contrib/lgrx +__ http://milde.users.sourceforge.net/LGR/ + +.. Note:: + + The TeXLive 2012 pre-release contains the Unicode definition file + ``lgrenc.dfu`` in the documentation instead of the TEXPATH. To enable + `Greek Unicode support`_, update via `tlmgr` or place a copy in the + TEXPATH «by hand». + See http://tug.org/pipermail/tex-live/2012-June/031757.html .. contents:: -State of the Art -================ -Up to now, there is no agreement on a Greek standard font encoding -(reserved name `T7`) because the restrictions for general text encodings -are too severe for typesetting polytonic Greek. +Manifest +======== + +The lgrx bundle consists of the following LaTeX files: + +LaTeX files: + :lgrxenc.def: comprehensive LGR encoding definition file + :lgrenc.dfu: support for Unicode input + :textalpha.sty: ``\text...`` macros for Greek letters in non-Greek text + :alphabeta.sty: Greek letters with ``\alpha``, ``\beta``, ... in text + and math + + Literal sources: + `<lgrxenc.def.html>`_, `<lgrenc.dfu.html>`_, + `<textalpha.sty.html>`_, `<alphabeta.sty.html>`_ + +Documentation and test documents: + .. class:: run-in + + :`<lgrx.pdf>`_: user documentation, source `<lgrx.tex>`__ + :`<greekhyperref.pdf>`_: `Greek script in PDF metadata`, + source `<greekhyperref.tex>`__ + :`<greek-unicode.pdf>`_: `Greek Unicode with lgrenc.dfu`, + source `<greek-unicode.tex>`__ + :`<lgrxenc-test.pdf>`_: source `<lgrxenc-test.tex>`__ + :`<textalpha-test.pdf>`_: source `<textalpha-test.tex>`__ + :`<alphabeta-test.pdf>`_: source `<alphabeta-test.tex>`__ + + + +Motivation +========== -The `LGR` font encoding is the de-facto standard for typesetting Greek with +Greek font encodings +-------------------- + +Unicode +~~~~~~~ + +The Unicode standard allows fonts that comprise glyphs from (almost) all +known scripts. With the TeX engines XeTeX or LuaTeX, typesetting Greek with +LaTeX is as easy as finding a font that contains Greek letters and setting +it up with fontspec_. Beware, that you must not use the ``greek`` or +``polutonikogreek`` options of the babel_ package. The `babel` replacement +polyglossia_ provides Greek language support for XeLaTeX/LuaLaTeX. +If you go this way, you don't need the lgrx bundle. + +\*T7 +~~~~ + +The [encguide]_ reserves the name T7 for a Greek `standard font encoding`. +However, up to now, there is no agreement on an implementation because the +restrictions for general text encodings are too severe for typesetting +polytonic Greek. + +LGR +~~~ + +The LGR font encoding is the de-facto standard for typesetting Greek with (8-bit) LaTeX. Fonts in this encoding include the `CB fonts`_ (matching CM), grtimes_ (Greek Times), Kerkis_ (matching URW Bookman), and the `GFS font collection`_. Setup of these fonts as Greek variant to matching Latin fonts is facilitated by the substitutefont_ package. -The `LGR` font encoding generates Greek characters via an ASCII +The LGR font encoding generates Greek characters via an ASCII transliteration. This enables simple input with a Latin keyboard. Characters with diacritics are selected by ligature definitions in the -font (see greek-usage.pdf__, teubner-doc.pdf__, or -`The CB Greek fonts`__). +font (see [greek-usage]_, [teubner-doc]_, [cbfonts]_). -__ http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf -__ http://www.ctan.org/tex-archive/macros/latex/contrib/teubner/teubner-doc.pdf -__ http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf +\*OT7 +~~~~~ -.. compound:: +The name LGR does not reflect status of this font encoding due to historical +reasons. [encguide]_ classifies encodings starting with `L` as "local". +Indeed, LGR started as a local encoding for the `CB fonts`_ by Claudio +Beccari. Later, Apostolos Syropoulos advanced it to the default font +encoding for the `babel` package's ``greek`` option. A better name would be +OT7: - The name `LGR` does not reflect status of this font encoding due to - historical reasons. The encguide_ classifies encodings starting with `L` - as "local". Indeed, `LGR` started as a local encoding for the `CB Greek - fonts` by Claudio Beccari. Later, Apostolos Syropoulos advanced it to the - default font encoding for the `Babel`_ package's ``greek`` option. The - correct name would be ``OT7``: +* It is an 'old' encoding. +* It implements a Latin transcription for a non-Latin script like the + OT2 encoding. +* It is not confined to 128 bit but OT4 shows that this is no + absolute requirement for an `OT` encoding. - * It is an 'old' encoding. - * It implements a Latin transscription for a non-Latin script like the - ``OT2`` encoding. - * It is not confined to 128 bit but ``OT4`` shows that this is no - absolute requirement for an `OT` encoding. +However, due to the fact that the LGR font encoding has been used under its +current name for a long time, the name will not change for compatibility +reasons. - However, due to the fact that this font encoding has been used under its - current name for a long time, the name will not change for compatibility - reasons. +Problems with the default setup +------------------------------- -Problems -======== +The `lgrx` budle adresses a set of problems with the LGR font encoding as +set up by `babel`: -1. Ligatures with prefix notation prevent kerning (see the examples - linked below or the `LGR` documentation linked above). +1. Ligatures with prefix notation prevent kerning (see the example document + lgrxenc-test.pdf_ and [teubner-doc]_). 2. Sub-optimal results with the standard accent macros: @@ -77,7 +144,7 @@ Problems default. Therefore the transliteration for the *perispomeni* accent is not available without re-definition of this character. [#tildehack]_ -4. The ``polutonikogreek`` `Babel` option redefines both, ``~`` and ``\~`` +4. The ``polutonikogreek`` `babel` option redefines both, ``~`` and ``\~`` to produce accents via input ligatures (restricted to the language setting instead of the font encoding). This prevents the placing of a tilde-accent on non-supported characters like in *niño* if the language @@ -85,14 +152,11 @@ Problems 5. There is no Unicode support with `inputenc`_'s ``utf8`` option. - The `ucs` package contributed by Dominique Unruh provides Unicode - support with the ``utf8x`` option. A `babel patch`_ by Werner Lemberg - for Greek Unicode support never got applied.) - -6. The LGR transliteration does not work for PDF bookmarks. + The `ucs` package contributed by Dominique Unruh provides Unicode support + with the ``utf8x`` option. A babel patch by Werner Lemberg for Greek + Unicode support [lemberg2008]_ never got applied.) - -.. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf +6. The LGR transliteration does not work for PDF metadata. .. [#tildehack] Problem 3 can be solved by the simple one-liner :: @@ -100,121 +164,120 @@ Problems \DeclareTextSymbol{\~}{LGR}{126} which results in ``\~`` inserting a plain tilde character if the - font encoding is `LGR`. + font encoding is LGR. Drawback: you cannot place a ~-accent on Greek characters except the ones supported by an input ligature. .. [#poluhack] Fortunately, LaTeX saves copies of the accent macros: ``\~`` is an alias of ``\a~`` (which is an alias of ``\@tabacckludge~``), so it - can be restored after loading `Babel` with:: + can be restored after loading `babel` with:: \addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}} \addto\extrasgreek{\renewcommand*{\~}{\a~}} With this addition, both the comprehensive font encoding definitions and the workaround [#tildehack]_ also work with the ``polutonikogreek`` - `Babel` option. - - -lgrxenc.def: Comprehensive font encoding definitions -==================================================== - -``lgrxenc.def`` is an alternative to the rudimentary `LGR` font -definition file ``lgrenc.def`` which comes with Babel_'s Greek -support. It defines accent macros for the `LGR` font encoding that -select pre-composed glyphs if possible and places the diacritics -according to Greek typesetting rules else. Combined accents can be -specified as backslash + transliteration (``\~>a``) or iteratively -(``\~\>{a}``). - -:Source: `<lgrxenc.def>`_, `<lgrxenc.def.html>`__ -:Doc: `<lgrxenc.tex>`__, `<lgrxenc.pdf>`__ -:Tests: `<lgrxenc-test.tex>`__, `<lgrxenc-test.pdf>`__ - -Usage ------ - -To prevent confusion with Babel_'s ``lgrenc.def``, this file is named -``lgrxenc.def``. Load it by calling fontenc_ with the ``LGRx`` option. + `babel` option. -Example: - Select font encodings `T1` (as default) and `LGR` (with the comprehensive - font encoding definitions) - ``\usepackage[LGRx,T1]{fontenc}`` +Components of the `lgrx` bundle +=============================== -.. Attention:: The name of the font encoding defined by the option ``LGRx`` - is **not** `LGRx` but `LGR`. Therefore, ``LGRx`` may not be the - last option (as fontenc uses the last option to select the default font - encoding). To set `LGR` as as default font encoding specify both, - `LGRx` and `LGR`, e.g. +The `lgrx` bundle comprises tools that help typesetting Greek script +with (8-bit) LaTeX in Greek as well as multi-lingual documents. - ``\usepackage[LGRx,T1,LGR]{fontenc}`` +Comprehensive font encoding definition file +------------------------------------------- +``lgrxenc.def`` is an alternative to the rudimentary LGR encoding +definition file [#fdf]_ ``lgrenc.def`` which comes with babel_'s Greek +support. It defines macros for Greek characters the LGR font encoding that +select pre-composed glyphs if possible and places the diacritics according +to Greek typesetting rules else. Combined accents can be specified as +backslash + transliteration (``\~>a``) or iteratively (``\~\>{a}``). -lgrenc.dfu: Greek Unicode support -================================= +For usage and documentation see the literal source lgrxenc.def.html_, the +user manual lgrx.pdf_, and the test document lgrxenc-test.pdf_. -Standards-compatible UTF-8 support for Greek based on the comprehensive -font encoding definitions. +.. [#fdf] See [fntguide_, section 5] for a definition of `encoding definition + files`. -Cooperates with hyperref_ to enable Greek characters in section headers and -PDF bookmarks without the need for ``\texorpdfstring``. +Greek Unicode support +--------------------- -:Source: `<lgrenc.dfu>`__, `<lgrenc.dfu.html>`__ -:Example: `<greek-unicode.tex>`__, `<greek-unicode.pdf>`__ +``lgrenc.dfu`` provides standards-compatible UTF-8 support for Greek based +on the comprehensive font encoding definitions. It is compatible with +hyperref_ enabling Greek characters in PDF metadata without the need for +``\texorpdfstring``. -Usage ------ +See the literal source lgrenc.dfu.html_ and the test document +greek-unicode.pdf_. -Requires comprehensive font encoding definitions from ``lgrxenc.def``: +Macros for Greek in text +------------------------ - ``\usepackage[LGRx,T1]{fontenc}`` % define LGR and T1 encodings - ``\usepackage[utf8]{inputenc}`` % standard UTF-8 input encoding +``textalpha.sty`` defines ``\textalpha``, ``\textbeta`` ... macros for Greek +letters in text that work in any font encoding and alias macros for +compatibility with existing packages. With this package, Unicode input of +Greek letters works in any font encoding, too. -Unless combined with the textalpha_ package, text containing Greek Unicode -characters must be marked as requiring the LGR font encoding (either -directly or by setting the language to ``greek`` or ``polutonikogreek``). -This is a feature of inputenc_'s standard utf8 support, similar to the -behaviour for, e.g., Cyrillic characters. +.. _limitations: +However, in any font encoding except LGR: -.. _textalpha: +* there is no kerning between Greek characters, +* composition of diacritics (like ``\Dasia\Tonos``) fails, +* accent macros do not select precomposed characters + (pre-composed Unicode literals work fine). -textalpha.sty: Macros for Greek in text -======================================= +See the literal source textalpha.sty.html_ and textalpha-test.pdf_ for +details on usage, limitations, and recommended workarounds. -Macros for Greek letters in text that work in any font encoding (see the -example below for limitations) and alias macros for compatibility with -existing packages. +Generic macros for Greek letters +-------------------------------- -Cooperates with hyperref_ and bookmark_ to enable Greek characters in -section headers and PDF bookmarks without the need for ``\texorpdfstring``. +``alphabeta.sty`` allows you to use ``\alpha``, ``\beta``, ... in both, text +and math. For this, the math macros are redefined with the help of +``\TextOrMath`` from the standard package fixltx2e_. -.. note:: +See the literal source alphabeta.sty.html_ and the test document +alphabeta-test.pdf_. - The package was renamed from `textgreek` to `textalpha` to prevent - confusion with the textgreek_ package by Leonard Michlmayr. -:Source: `<textalpha.sty>`__, `<textalpha.sty.html>`__ -:Example: `<textalpha-test.tex>`__, `<textalpha-test.pdf>`__ -:Bookmarks: `<greekhyperref.tex>`__, `<greekhyperref.pdf>`__ +References +========== +.. [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 -.. _substitutefont: http://www.ctan.org/pkg/substitutefont -.. _encguide: http://tug.ctan.org/tex-archive/macros/latex/doc/encguide.pdf -.. _Babel: http://www.ctan.org/pkg/babel -.. _fontenc: http://www.ctan.org/pkg/fontenc -.. _inputenc: http://www.ctan.org/pkg/inputenc -.. _textgreek: http://www.ctan.org/pkg/textgreek -.. _hyperref: http://www.ctan.org/pkg/hyperref -.. _bookmark: http://www.ctan.org/pkg/bookmark +.. _CB Fonts: http://mirror.ctan.org/help/Catalogue/entries/cbgreek-complete.html +.. _grtimes: http://mirror.ctan.org/help/Catalogue/entries/grtimes.html +.. _GFS font collection: http://mirror.ctan.org/help/Catalogue/entries/gfs.html +.. _Kerkis: http://mirror.ctan.org/help/Catalogue/entries/kerkis.html +.. _substitutefont: http://mirror.ctan.org/help/Catalogue/entries/substitutefont.html +.. _babel: http://mirror.ctan.org/help/Catalogue/entries/babel.html +.. _fontenc: http://mirror.ctan.org/help/Catalogue/entries/fontenc.html +.. _inputenc: http://mirror.ctan.org/help/Catalogue/entries/inputenc.html +.. _fontspec: http://mirror.ctan.org/help/Catalogue/entries/fontspec.html +.. _polyglossia: http://mirror.ctan.org/help/Catalogue/entries/polyglossia.html +.. _textgreek: http://mirror.ctan.org/help/Catalogue/entries/textgreek.html +.. _fixltx2e: http://mirror.ctan.org/help/Catalogue/entries/fixltx2e.html +.. _hyperref: http://mirror.ctan.org/help/Catalogue/entries/hyperref.html +.. _bookmark: http://mirror.ctan.org/help/Catalogue/entries/bookmark.html diff --git a/Master/texmf-dist/doc/latex/lgrx/README.html b/Master/texmf-dist/doc/latex/lgrx/README.html index f4c821ce6b8..38dd3d0d176 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README.html +++ b/Master/texmf-dist/doc/latex/lgrx/README.html @@ -10,7 +10,7 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $ +:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -250,10 +250,18 @@ pre.address { margin-top: 0 ; font: inherit } -pre.literal-block, pre.doctest-block, pre.math { +pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } +pre.code .ln { /* line numbers */ + color: grey; +} + +.code { + background-color: #eeeeee +} + span.classifier { font-family: sans-serif ; font-style: oblique } @@ -504,9 +512,10 @@ resulting list resembles the list-style 'outside' with a hanging indent. */ /* New ordered list: reset counter, suppress the default label */ -ol { +ol, ol.arabic, ol.loweralpha, ol.upperalpha, +ol.lowerroman, ol.upperroman { counter-reset: item; - list-style-type: none ! important; + list-style: none } /* Set the negative indent of the list label as feature of the list item */ @@ -568,6 +577,7 @@ ol.nested > li:before, ol.nested ol > li:before { dd > ul, dd > ol { padding-left: 0pt; +} /* TODO: prefix, suffix? */ @@ -685,7 +695,7 @@ div.hint, div.important, div.note, div.tip, div.warning { </head> <body> <div class="document" id="greek-text-with-the-lgr-font-encoding"> -<h1 class="title">Greek text with the <cite>LGR</cite> font encoding</h1> +<h1 class="title">Greek text with the LGR font encoding</h1> <dl class="docinfo simple"> <dt class="copyright">Copyright</dt> @@ -698,70 +708,167 @@ version 1.3 of this license or any later version.</p> </dl> <div class="abstract topic"> <p class="topic-title first">Abstract</p> -<p>The LGRx bundle provides packages and definitions for typesetting -Greek text with fonts in the LGR encoding, the de-facto standard -set by babel. It includes a comprehensive font definition file, -support for Unicode input and macros for Greek letters in -non-Greek text.</p> +<p>The LGR font encoding is the de-facto standard for Greek +typesetting with (8-bit) LaTeX. However, the encoding definition +file that ships with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a> misses many of the definitions common +since the advent of the NFSS <a class="citation-reference" href="#fntguide" id="id1">[fntguide]</a>.</p> +<p>The <cite>lgrx</cite> bundle provides packages and definitions for +typesetting Greek text with fonts in the LGR encoding. It works +for both, monotonic and polytonic Greek, independent of the +<cite>babel</cite> package.</p> +<p>The bundle is available from <a class="reference external" href="http://www.ctan.org/tex-archive/macros/latex/contrib/lgrx">CTAN</a> and included in TeXLive +2012. Development takes place at the <a class="reference external" href="http://milde.users.sourceforge.net/LGR/">Sourceforge</a>.</p> </div> <!-- -*- rst-mode -*- --> +<div class="note"> +<p class="admonition-title">Note</p> +<p>The TeXLive 2012 pre-release contains the Unicode definition file +<tt class="literal">lgrenc.dfu</tt> in the documentation instead of the TEXPATH. To enable +<a class="reference internal" href="#greek-unicode-support">Greek Unicode support</a>, update via <cite>tlmgr</cite> or place a copy in the +TEXPATH «by hand». +See <a class="reference external" href="http://tug.org/pipermail/tex-live/2012-June/031757.html">http://tug.org/pipermail/tex-live/2012-June/031757.html</a></p> +</div> <div class="contents topic" id="contents"> <p class="topic-title first">Contents</p> -<ul class="auto-toc simple"> -<li><p><a class="reference internal" href="#state-of-the-art" id="id8"><span class="sectnum">1</span> State of the Art</a></p></li> -<li><p><a class="reference internal" href="#problems" id="id9"><span class="sectnum">2</span> Problems</a></p></li> -<li><p><a class="reference internal" href="#lgrxenc-def-comprehensive-font-encoding-definitions" id="id10"><span class="sectnum">3</span> lgrxenc.def: Comprehensive font encoding definitions</a></p> +<ul class="simple"> +<li><p><a class="reference internal" href="#manifest" id="id15">Manifest</a></p></li> +<li><p><a class="reference internal" href="#motivation" id="id16">Motivation</a></p> <ul> -<li><p><a class="reference internal" href="#usage" id="id11">Usage</a></p></li> +<li><p><a class="reference internal" href="#greek-font-encodings" id="id17">Greek font encodings</a></p> +<ul> +<li><p><a class="reference internal" href="#unicode" id="id18">Unicode</a></p></li> +<li><p><a class="reference internal" href="#t7" id="id19">*T7</a></p></li> +<li><p><a class="reference internal" href="#lgr" id="id20">LGR</a></p></li> +<li><p><a class="reference internal" href="#ot7" id="id21">*OT7</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#lgrenc-dfu-greek-unicode-support" id="id12"><span class="sectnum">4</span> lgrenc.dfu: Greek Unicode support</a></p> +<li><p><a class="reference internal" href="#problems-with-the-default-setup" id="id22">Problems with the default setup</a></p></li> +</ul> +</li> +<li><p><a class="reference internal" href="#components-of-the-lgrx-bundle" id="id23">Components of the <cite>lgrx</cite> bundle</a></p> <ul> -<li><p><a class="reference internal" href="#id7" id="id13">Usage</a></p></li> +<li><p><a class="reference internal" href="#comprehensive-font-encoding-definition-file" id="id24">Comprehensive font encoding definition file</a></p></li> +<li><p><a class="reference internal" href="#greek-unicode-support" id="id25">Greek Unicode support</a></p></li> +<li><p><a class="reference internal" href="#macros-for-greek-in-text" id="id26">Macros for Greek in text</a></p></li> +<li><p><a class="reference internal" href="#generic-macros-for-greek-letters" id="id27">Generic macros for Greek letters</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#textalpha-sty-macros-for-greek-in-text" id="id14"><span class="sectnum">5</span> textalpha.sty: Macros for Greek in text</a></p></li> +<li><p><a class="reference internal" href="#references" id="id28">References</a></p></li> </ul> </div> -<div class="section" id="state-of-the-art"> -<h1><a class="toc-backref" href="#id8"><span class="sectnum">1</span> State of the Art</a></h1> -<p>Up to now, there is no agreement on a Greek standard font encoding -(reserved name <cite>T7</cite>) because the restrictions for general text encodings -are too severe for typesetting polytonic Greek.</p> -<p>The <cite>LGR</cite> font encoding is the de-facto standard for typesetting Greek with -(8-bit) LaTeX. Fonts in this encoding include the <a class="reference external" href="http://www.ctan.org/pkg/cbgreek-complete">CB fonts</a> (matching CM), -<a class="reference external" href="http://www.ctan.org/pkg/grtimes">grtimes</a> (Greek Times), <a class="reference external" href="http://www.ctan.org/pkg/kerkis">Kerkis</a> (matching URW Bookman), and the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS font +<div class="section" id="manifest"> +<h1><a class="toc-backref" href="#id15">Manifest</a></h1> +<p>The lgrx bundle consists of the following LaTeX files:</p> +<dl class="docutils"> +<dt>LaTeX files:</dt> +<dd><dl class="field-list simple"> +<dt>lgrxenc.def</dt> +<dd><p>comprehensive LGR encoding definition file</p> +</dd> +<dt>lgrenc.dfu</dt> +<dd><p>support for Unicode input</p> +</dd> +<dt>textalpha.sty</dt> +<dd><p><tt class="literal"><span class="pre">\text...</span></tt> macros for Greek letters in non-Greek text</p> +</dd> +<dt>alphabeta.sty</dt> +<dd><p>Greek letters with <tt class="literal">\alpha</tt>, <tt class="literal">\beta</tt>, ... in text +and math</p> +</dd> +</dl> +<dl class="docutils"> +<dt>Literal sources:</dt> +<dd><p><a class="reference external" href="lgrxenc.def.html">lgrxenc.def.html</a>, <a class="reference external" href="lgrenc.dfu.html">lgrenc.dfu.html</a>, +<a class="reference external" href="textalpha.sty.html">textalpha.sty.html</a>, <a class="reference external" href="alphabeta.sty.html">alphabeta.sty.html</a></p> +</dd> +</dl> +</dd> +<dt>Documentation and test documents:</dt> +<dd><dl class="run-in field-list simple"> +<dt><a class="reference external" href="lgrx.pdf">lgrx.pdf</a></dt> +<dd><p>user documentation, source <a class="reference external" href="lgrx.tex">lgrx.tex</a></p> +</dd> +<dt><a class="reference external" href="greekhyperref.pdf">greekhyperref.pdf</a></dt> +<dd><p><cite>Greek script in PDF metadata</cite>, +source <a class="reference external" href="greekhyperref.tex">greekhyperref.tex</a></p> +</dd> +<dt><a class="reference external" href="greek-unicode.pdf">greek-unicode.pdf</a></dt> +<dd><p><cite>Greek Unicode with lgrenc.dfu</cite>, +source <a class="reference external" href="greek-unicode.tex">greek-unicode.tex</a></p> +</dd> +<dt><a class="reference external" href="lgrxenc-test.pdf">lgrxenc-test.pdf</a></dt> +<dd><p>source <a class="reference external" href="lgrxenc-test.tex">lgrxenc-test.tex</a></p> +</dd> +<dt><a class="reference external" href="textalpha-test.pdf">textalpha-test.pdf</a></dt> +<dd><p>source <a class="reference external" href="textalpha-test.tex">textalpha-test.tex</a></p> +</dd> +<dt><a class="reference external" href="alphabeta-test.pdf">alphabeta-test.pdf</a></dt> +<dd><p>source <a class="reference external" href="alphabeta-test.tex">alphabeta-test.tex</a></p> +</dd> +</dl> +</dd> +</dl> +</div> +<div class="section" id="motivation"> +<h1><a class="toc-backref" href="#id16">Motivation</a></h1> +<div class="section" id="greek-font-encodings"> +<h2><a class="toc-backref" href="#id17">Greek font encodings</a></h2> +<div class="section" id="unicode"> +<h3><a class="toc-backref" href="#id18">Unicode</a></h3> +<p>The Unicode standard allows fonts that comprise glyphs from (almost) all +known scripts. With the TeX engines XeTeX or LuaTeX, typesetting Greek with +LaTeX is as easy as finding a font that contains Greek letters and setting +it up with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fontspec.html">fontspec</a>. Beware, that you must not use the <tt class="literal">greek</tt> or +<tt class="literal">polutonikogreek</tt> options of the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a> package. The <cite>babel</cite> replacement +<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/polyglossia.html">polyglossia</a> provides Greek language support for XeLaTeX/LuaLaTeX. +If you go this way, you don't need the lgrx bundle.</p> +</div> +<div class="section" id="t7"> +<h3><a class="toc-backref" href="#id19">*T7</a></h3> +<p>The <a class="citation-reference" href="#encguide" id="id4">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>. +However, up to now, there is no agreement on an implementation because the +restrictions for general text encodings are too severe for typesetting +polytonic Greek.</p> +</div> +<div class="section" id="lgr"> +<h3><a class="toc-backref" href="#id20">LGR</a></h3> +<p>The LGR font encoding is the de-facto standard for typesetting Greek with +(8-bit) LaTeX. Fonts in this encoding include the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/cbgreek-complete.html">CB fonts</a> (matching CM), +<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/grtimes.html">grtimes</a> (Greek Times), <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kerkis.html">Kerkis</a> (matching URW Bookman), and the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/gfs.html">GFS font collection</a>. Setup of these fonts as Greek variant to matching Latin fonts -is facilitated by the <a class="reference external" href="http://www.ctan.org/pkg/substitutefont">substitutefont</a> package.</p> -<p>The <cite>LGR</cite> font encoding generates Greek characters via an ASCII +is facilitated by the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/substitutefont.html">substitutefont</a> package.</p> +<p>The LGR font encoding generates Greek characters via an ASCII transliteration. This enables simple input with a Latin keyboard. Characters with diacritics are selected by ligature definitions in the -font (see <a class="reference external" href="http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf">greek-usage.pdf</a>, <a class="reference external" href="http://www.ctan.org/tex-archive/macros/latex/contrib/teubner/teubner-doc.pdf">teubner-doc.pdf</a>, or -<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">The CB Greek fonts</a>).</p> -<div class="compound"> -<p class="compound-first">The name <cite>LGR</cite> does not reflect status of this font encoding due to -historical reasons. The <a class="reference external" href="http://tug.ctan.org/tex-archive/macros/latex/doc/encguide.pdf">encguide</a> classifies encodings starting with <cite>L</cite> -as "local". Indeed, <cite>LGR</cite> started as a local encoding for the <cite>CB Greek -fonts</cite> by Claudio Beccari. Later, Apostolos Syropoulos advanced it to the -default font encoding for the <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a> package's <tt class="literal">greek</tt> option. The -correct name would be <tt class="literal">OT7</tt>:</p> -<ul class="compound-middle simple"> +font (see <a class="citation-reference" href="#greek-usage" id="id5">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id6">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id7">[cbfonts]</a>).</p> +</div> +<div class="section" id="ot7"> +<h3><a class="toc-backref" href="#id21">*OT7</a></h3> +<p>The name LGR does not reflect status of this font encoding due to historical +reasons. <a class="citation-reference" href="#encguide" id="id8">[encguide]</a> classifies encodings starting with <cite>L</cite> as "local". +Indeed, LGR started as a local encoding for the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/cbgreek-complete.html">CB fonts</a> by Claudio +Beccari. Later, Apostolos Syropoulos advanced it to the default font +encoding for the <cite>babel</cite> package's <tt class="literal">greek</tt> option. A better name would be +OT7:</p> +<ul class="simple"> <li><p>It is an 'old' encoding.</p></li> -<li><p>It implements a Latin transscription for a non-Latin script like the -<tt class="literal">OT2</tt> encoding.</p></li> -<li><p>It is not confined to 128 bit but <tt class="literal">OT4</tt> shows that this is no +<li><p>It implements a Latin transcription for a non-Latin script like the +OT2 encoding.</p></li> +<li><p>It is not confined to 128 bit but OT4 shows that this is no absolute requirement for an <cite>OT</cite> encoding.</p></li> </ul> -<p class="compound-last">However, due to the fact that this font encoding has been used under its +<p>However, due to the fact that the LGR font encoding has been used under its current name for a long time, the name will not change for compatibility reasons.</p> </div> </div> -<div class="section" id="problems"> -<h1><a class="toc-backref" href="#id9"><span class="sectnum">2</span> Problems</a></h1> +<div class="section" id="problems-with-the-default-setup"> +<h2><a class="toc-backref" href="#id22">Problems with the default setup</a></h2> +<p>The <cite>lgrx</cite> budle adresses a set of problems with the LGR font encoding as +set up by <cite>babel</cite>:</p> <ol class="arabic"> -<li><p>Ligatures with prefix notation prevent kerning (see the examples -linked below or the <cite>LGR</cite> documentation linked above).</p></li> +<li><p>Ligatures with prefix notation prevent kerning (see the example document +<a class="reference external" href="lgrxenc-test.pdf">lgrxenc-test.pdf</a> and <a class="citation-reference" href="#teubner-doc" id="id9">[teubner-doc]</a>).</p></li> <li><p>Sub-optimal results with the standard accent macros:</p> <ul class="simple"> <li><p>no combined accents,</p></li> @@ -771,142 +878,141 @@ linked below or the <cite>LGR</cite> documentation linked above).</p></li> </li> <li><p>The tilde character <tt class="literal">~</tt> is used for a non-breaking space by default. Therefore the transliteration for the <em>perispomeni</em> accent is -not available without re-definition of this character.<a class="footnote-reference" href="#tildehack" id="id4"><sup>1</sup></a></p></li> -<li><p>The <tt class="literal">polutonikogreek</tt> <cite>Babel</cite> option redefines both, <tt class="literal">~</tt> and <tt class="literal">\~</tt> +not available without re-definition of this character.<a class="footnote-reference" href="#tildehack" id="id10"><sup>1</sup></a></p></li> +<li><p>The <tt class="literal">polutonikogreek</tt> <cite>babel</cite> option redefines both, <tt class="literal">~</tt> and <tt class="literal">\~</tt> to produce accents via input ligatures (restricted to the language setting instead of the font encoding). This prevents the placing of a tilde-accent on non-supported characters like in <em>niño</em> if the language -is set to polytonic Greek, even if <tt class="literal">\textlatin</tt> is used.<a class="footnote-reference" href="#poluhack" id="id5"><sup>2</sup></a></p></li> -<li><p>There is no Unicode support with <a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a>'s <tt class="literal">utf8</tt> option.</p> -<p>The <cite>ucs</cite> package contributed by Dominique Unruh provides Unicode -support with the <tt class="literal">utf8x</tt> option. A <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg -for Greek Unicode support never got applied.)</p> +is set to polytonic Greek, even if <tt class="literal">\textlatin</tt> is used.<a class="footnote-reference" href="#poluhack" id="id11"><sup>2</sup></a></p></li> +<li><p>There is no Unicode support with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/inputenc.html">inputenc</a>'s <tt class="literal">utf8</tt> option.</p> +<p>The <cite>ucs</cite> package contributed by Dominique Unruh provides Unicode support +with the <tt class="literal">utf8x</tt> option. A babel patch by Werner Lemberg for Greek +Unicode support <a class="citation-reference" href="#lemberg2008" id="id12">[lemberg2008]</a> never got applied.)</p> </li> -<li><p>The LGR transliteration does not work for PDF bookmarks.</p></li> +<li><p>The LGR transliteration does not work for PDF metadata.</p></li> </ol> <dl class="footnote"><dt class="label">1</dt> <dd id="tildehack"> -<em>(<a class="fn-backref" href="#id4">1</a>, <a class="fn-backref" href="#id6">2</a>)</em> <p>Problem 3 can be solved by the simple one-liner</p> +<em>(<a class="fn-backref" href="#id10">1</a>, <a class="fn-backref" href="#id13">2</a>)</em> <p>Problem 3 can be solved by the simple one-liner</p> <pre class="literal-block">\DeclareTextSymbol{\~}{LGR}{126} </pre> <p>which results in <tt class="literal">\~</tt> inserting a plain tilde character if the -font encoding is <cite>LGR</cite>.</p> +font encoding is LGR.</p> <p class="last">Drawback: you cannot place a ~-accent on Greek characters except the ones supported by an input ligature.</p> </dd> -<dt class="label"><a class="fn-backref" href="#id5">2</a></dt> +<dt class="label"><a class="fn-backref" href="#id11">2</a></dt> <dd id="poluhack"> <p class="first">Fortunately, LaTeX saves copies of the accent macros: <tt class="literal">\~</tt> is an alias of <tt class="literal">\a~</tt> (which is an alias of <tt class="literal">\@tabacckludge~</tt>), so it -can be restored after loading <cite>Babel</cite> with:</p> +can be restored after loading <cite>babel</cite> with:</p> <pre class="literal-block">\addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}} \addto\extrasgreek{\renewcommand*{\~}{\a~}} </pre> <p class="last">With this addition, both the comprehensive font encoding definitions and -the workaround<a class="footnote-reference" href="#tildehack" id="id6"><sup>1</sup></a> also work with the <tt class="literal">polutonikogreek</tt> -<cite>Babel</cite> option.</p> +the workaround<a class="footnote-reference" href="#tildehack" id="id13"><sup>1</sup></a> also work with the <tt class="literal">polutonikogreek</tt> +<cite>babel</cite> option.</p> </dd> </dl> </div> -<div class="section" id="lgrxenc-def-comprehensive-font-encoding-definitions"> -<h1><a class="toc-backref" href="#id10"><span class="sectnum">3</span> lgrxenc.def: Comprehensive font encoding definitions</a></h1> -<p><tt class="literal">lgrxenc.def</tt> is an alternative to the rudimentary <cite>LGR</cite> font -definition file <tt class="literal">lgrenc.def</tt> which comes with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>'s Greek -support. It defines accent macros for the <cite>LGR</cite> font encoding that -select pre-composed glyphs if possible and places the diacritics -according to Greek typesetting rules else. Combined accents can be -specified as backslash + transliteration (<tt class="literal"><span class="pre">\~>a</span></tt>) or iteratively -(<tt class="literal"><span class="pre">\~\>{a}</span></tt>).</p> -<dl class="field-list simple"> -<dt>Source</dt> -<dd><p><a class="reference external" href="lgrxenc.def">lgrxenc.def</a>, <a class="reference external" href="lgrxenc.def.html">lgrxenc.def.html</a></p> -</dd> -<dt>Doc</dt> -<dd><p><a class="reference external" href="lgrxenc.tex">lgrxenc.tex</a>, <a class="reference external" href="lgrxenc.pdf">lgrxenc.pdf</a></p> -</dd> -<dt>Tests</dt> -<dd><p><a class="reference external" href="lgrxenc-test.tex">lgrxenc-test.tex</a>, <a class="reference external" href="lgrxenc-test.pdf">lgrxenc-test.pdf</a></p> -</dd> -</dl> -<div class="section" id="usage"> -<h2><a class="toc-backref" href="#id11">Usage</a></h2> -<p>To prevent confusion with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>'s <tt class="literal">lgrenc.def</tt>, this file is named -<tt class="literal">lgrxenc.def</tt>. Load it by calling <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> with the <tt class="literal">LGRx</tt> option.</p> -<dl class="docutils"> -<dt>Example:</dt> -<dd><p>Select font encodings <cite>T1</cite> (as default) and <cite>LGR</cite> (with the comprehensive -font encoding definitions)</p> -<blockquote> -<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1]{fontenc}</span></tt></p> -</blockquote> +</div> +<div class="section" id="components-of-the-lgrx-bundle"> +<h1><a class="toc-backref" href="#id23">Components of the <cite>lgrx</cite> bundle</a></h1> +<p>The <cite>lgrx</cite> bundle comprises tools that help typesetting Greek script +with (8-bit) LaTeX in Greek as well as multi-lingual documents.</p> +<div class="section" id="comprehensive-font-encoding-definition-file"> +<h2><a class="toc-backref" href="#id24">Comprehensive font encoding definition file</a></h2> +<p><tt class="literal">lgrxenc.def</tt> is an alternative to the rudimentary LGR encoding +definition file<a class="footnote-reference" href="#fdf" id="id14"><sup>3</sup></a> <tt class="literal">lgrenc.def</tt> which comes with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a>'s Greek +support. It defines macros for Greek characters the LGR font encoding that +select pre-composed glyphs if possible and places the diacritics according +to Greek typesetting rules else. Combined accents can be specified as +backslash + transliteration (<tt class="literal"><span class="pre">\~>a</span></tt>) or iteratively (<tt class="literal"><span class="pre">\~\>{a}</span></tt>).</p> +<p>For usage and documentation see the literal source <a class="reference external" href="lgrxenc.def.html">lgrxenc.def.html</a>, the +user manual <a class="reference external" href="lgrx.pdf">lgrx.pdf</a>, and the test document <a class="reference external" href="lgrxenc-test.pdf">lgrxenc-test.pdf</a>.</p> +<dl class="footnote"><dt class="label"><a class="fn-backref" href="#id14">3</a></dt> +<dd id="fdf"> +<p class="first last">See [<a class="reference internal" href="#fntguide">fntguide</a>, section 5] for a definition of <cite>encoding definition +files</cite>.</p> </dd> </dl> -<div class="attention"> -<p class="admonition-title">Attention!</p> -<p>The name of the font encoding defined by the option <tt class="literal">LGRx</tt> -is <strong>not</strong> <cite>LGRx</cite> but <cite>LGR</cite>. Therefore, <tt class="literal">LGRx</tt> may not be the -last option (as fontenc uses the last option to select the default font -encoding). To set <cite>LGR</cite> as as default font encoding specify both, -<cite>LGRx</cite> and <cite>LGR</cite>, e.g.</p> -<blockquote> -<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1,LGR]{fontenc}</span></tt></p> -</blockquote> </div> +<div class="section" id="greek-unicode-support"> +<h2><a class="toc-backref" href="#id25">Greek Unicode support</a></h2> +<p><tt class="literal">lgrenc.dfu</tt> provides standards-compatible UTF-8 support for Greek based +on the comprehensive font encoding definitions. It is compatible with +<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a> enabling Greek characters in PDF metadata without the need for +<tt class="literal">\texorpdfstring</tt>.</p> +<p>See the literal source <a class="reference external" href="lgrenc.dfu.html">lgrenc.dfu.html</a> and the test document +<a class="reference external" href="greek-unicode.pdf">greek-unicode.pdf</a>.</p> +</div> +<div class="section" id="macros-for-greek-in-text"> +<h2><a class="toc-backref" href="#id26">Macros for Greek in text</a></h2> +<p><tt class="literal">textalpha.sty</tt> defines <tt class="literal">\textalpha</tt>, <tt class="literal">\textbeta</tt> ... macros for Greek +letters in text that work in any font encoding and alias macros for +compatibility with existing packages. With this package, Unicode input of +Greek letters works in any font encoding, too.</p> +<p id="limitations">However, in any font encoding except LGR:</p> +<ul class="simple"> +<li><p>there is no kerning between Greek characters,</p></li> +<li><p>composition of diacritics (like <tt class="literal">\Dasia\Tonos</tt>) fails,</p></li> +<li><p>accent macros do not select precomposed characters +(pre-composed Unicode literals work fine).</p></li> +</ul> +<p>See the literal source <a class="reference external" href="textalpha.sty.html">textalpha.sty.html</a> and <a class="reference external" href="textalpha-test.pdf">textalpha-test.pdf</a> for +details on usage, limitations, and recommended workarounds.</p> +</div> +<div class="section" id="generic-macros-for-greek-letters"> +<h2><a class="toc-backref" href="#id27">Generic macros for Greek letters</a></h2> +<p><tt class="literal">alphabeta.sty</tt> allows you to use <tt class="literal">\alpha</tt>, <tt class="literal">\beta</tt>, ... in both, text +and math. For this, the math macros are redefined with the help of +<tt class="literal">\TextOrMath</tt> from the standard package <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixltx2e.html">fixltx2e</a>.</p> +<p>See the literal source <a class="reference external" href="alphabeta.sty.html">alphabeta.sty.html</a> and the test document +<a class="reference external" href="alphabeta-test.pdf">alphabeta-test.pdf</a>.</p> </div> </div> -<div class="section" id="lgrenc-dfu-greek-unicode-support"> -<h1><a class="toc-backref" href="#id12"><span class="sectnum">4</span> lgrenc.dfu: Greek Unicode support</a></h1> -<p>Standards-compatible UTF-8 support for Greek based on the comprehensive -font encoding definitions.</p> -<p>Cooperates with <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> to enable Greek characters in section headers and -PDF bookmarks without the need for <tt class="literal">\texorpdfstring</tt>.</p> -<dl class="field-list simple"> -<dt>Source</dt> -<dd><p><a class="reference external" href="lgrenc.dfu">lgrenc.dfu</a>, <a class="reference external" href="lgrenc.dfu.html">lgrenc.dfu.html</a></p> +<div class="section" id="references"> +<h1><a class="toc-backref" href="#id28">References</a></h1> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id1">[fntguide]</a></dt> +<dd id="fntguide"> +<p class="first last">LaTeX3 Project Team, <cite>LaTeX 2ε font selection</cite>, 2005. +<a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">http://mirror.ctan.org/macros/latex/doc/fntguide.pdf</a></p> </dd> -<dt>Example</dt> -<dd><p><a class="reference external" href="greek-unicode.tex">greek-unicode.tex</a>, <a class="reference external" href="greek-unicode.pdf">greek-unicode.pdf</a></p> +</dl> +<dl class="citation"><dt class="label">[encguide]</dt> +<dd id="encguide"> +<em>(<a class="fn-backref" href="#id4">1</a>, <a class="fn-backref" href="#id8">2</a>)</em> <p class="last">Frank Mittelbach, Robin Fairbairns, Werner Lemberg, +LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006. +<a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/encguide.pdf">http://mirror.ctan.org/macros/latex/doc/encguide.pdf</a></p> </dd> </dl> -<div class="section" id="id7"> -<h2><a class="toc-backref" href="#id13">Usage</a></h2> -<p>Requires comprehensive font encoding definitions from <tt class="literal">lgrxenc.def</tt>:</p> -<blockquote> -<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1]{fontenc}</span></tt> % define LGR and T1 encodings -<tt class="literal"><span class="pre">\usepackage[utf8]{inputenc}</span></tt> % standard UTF-8 input encoding</p> -</blockquote> -<p>Unless combined with the <a class="reference internal" href="#textalpha">textalpha</a> package, text containing Greek Unicode -characters must be marked as requiring the LGR font encoding (either -directly or by setting the language to <tt class="literal">greek</tt> or <tt class="literal">polutonikogreek</tt>). -This is a feature of <a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a>'s standard utf8 support, similar to the -behaviour for, e.g., Cyrillic characters.</p> -</div> -</div> -<div class="section" id="textalpha-sty-macros-for-greek-in-text"> -<span id="textalpha"></span><h1><a class="toc-backref" href="#id14"><span class="sectnum">5</span> textalpha.sty: Macros for Greek in text</a></h1> -<p>Macros for Greek letters in text that work in any font encoding (see the -example below for limitations) and alias macros for compatibility with -existing packages.</p> -<p>Cooperates with <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> and <a class="reference external" href="http://www.ctan.org/pkg/bookmark">bookmark</a> to enable Greek characters in -section headers and PDF bookmarks without the need for <tt class="literal">\texorpdfstring</tt>.</p> -<div class="note"> -<p class="admonition-title">Note</p> -<p>The package was renamed from <cite>textgreek</cite> to <cite>textalpha</cite> to prevent -confusion with the <a class="reference external" href="http://www.ctan.org/pkg/textgreek">textgreek</a> package by Leonard Michlmayr.</p> -</div> -<dl class="field-list simple"> -<dt>Source</dt> -<dd><p><a class="reference external" href="textalpha.sty">textalpha.sty</a>, <a class="reference external" href="textalpha.sty.html">textalpha.sty.html</a></p> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id5">[greek-usage]</a></dt> +<dd id="greek-usage"> +<p class="first last">Apostolos Syropoulos, <cite>Writing Greek with the greek option +of the babel package</cite>, 1997. +<a class="reference external" href="http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf">http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf</a></p> </dd> -<dt>Example</dt> -<dd><p><a class="reference external" href="textalpha-test.tex">textalpha-test.tex</a>, <a class="reference external" href="textalpha-test.pdf">textalpha-test.pdf</a></p> +</dl> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id7">[cbfonts]</a></dt> +<dd id="cbfonts"> +<p class="first last">Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008. +<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf</a></p> </dd> -<dt>Bookmarks</dt> -<dd><p><a class="reference external" href="greekhyperref.tex">greekhyperref.tex</a>, <a class="reference external" href="greekhyperref.pdf">greekhyperref.pdf</a></p> +</dl> +<dl class="citation"><dt class="label">[teubner-doc]</dt> +<dd id="teubner-doc"> +<em>(<a class="fn-backref" href="#id6">1</a>, <a class="fn-backref" href="#id9">2</a>)</em> <p class="last">Claudio Beccari, <tt class="literal">teubner.sty</tt> +<cite>An extension to the greek option of the babel package</cite>, 2011. +<a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf</a></p> +</dd> +</dl> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id12">[lemberg2008]</a></dt> +<dd id="lemberg2008"> +<p class="first last">Werner Lemberg, +<cite>Unicode support for the Greek LGR encoding</cite>, Εὔτυπον, τεῦχος № 20, 2008. +<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf</a></p> </dd> </dl> -<!-- References -========== --> </div> </div> </body> diff --git a/Master/texmf-dist/doc/latex/lgrx/alphabeta-test.pdf b/Master/texmf-dist/doc/latex/lgrx/alphabeta-test.pdf Binary files differnew file mode 100644 index 00000000000..21c4b99ce64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lgrx/alphabeta-test.pdf diff --git a/Master/texmf-dist/doc/latex/lgrx/alphabeta-test.tex b/Master/texmf-dist/doc/latex/lgrx/alphabeta-test.tex new file mode 100644 index 00000000000..2595de334ca --- /dev/null +++ b/Master/texmf-dist/doc/latex/lgrx/alphabeta-test.tex @@ -0,0 +1,194 @@ +\documentclass{article} +\usepackage{cmap} % fix search and cut-and-paste in PDF +\usepackage{parskip} +\usepackage{textcomp} +\usepackage{amsmath} +\usepackage{fixmath} +\usepackage{lmodern} +% \usepackage{gfsdidot} +% \usepackage{kerkis} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} +\hypersetup{unicode=true} +\usepackage{bookmark} +% No section numbers but PDF bookmarks for sections +\setcounter{secnumdepth}{0} + + +% load alphabeta after math setup and encoding setup! +\usepackage{alphabeta} + +\begin{document} + +\section{Test the \emph{alphabeta} package} + +With the \emph{alphabeta} package, you can write Greek letters ``by name" in +both, text and math. The mode determines whether the letters are taken +from the text or math font. Just like Latin letters, the Greek counterparts +are by default italic in math (capital letters upright without +\emph{fixmath} or \emph{isomath}) and upright in text: + +Text: L \Lambda{} l \lambda, math: $ L \ \Lambda \ l \ \lambda $, +emphasized: \emph{L \Lambda{} l \lambda} + +\section{Greek alphabet} + +Greek letters via Latin transscription in LGR font encoding: + +\begin{quotation} + \TextGreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W}\\ + \TextGreek{a b g d e z h j i k l m n x o p r s c t u f q y w} +\end{quotation} + +Greek letters via default macros in LGR font encoding: + +\begin{quotation} \TextGreek{ + \Alpha{} \Beta{} \Gamma{} \Delta{} \Epsilon{} \Zeta{} \Eta{} \Theta{} + \Iota{} \Kappa{} \Lambda{} \Mu{} \Nu{} \Xi{} \Omicron{} \Pi{} \Rho{} + \Sigma{} \Tau{} \Upsilon{} \Phi{} \Chi{} \Psi{} \Omega{} + + \alpha{} \beta{} \gamma{} \delta{} \epsilon{} \zeta{} \eta{} \theta{} + \iota{} \kappa{} \lambda{} \mu{} \nu{} \xi{} \omicron{} \pi{} \rho{} + \sigma{} \varsigma{} \tau{} \upsilon{} \phi{} \chi{} \psi{} \omega{} + } +\end{quotation} + +Greek letters via default macros in other font encoding (here T1): + +\begin{quotation} + \Alpha{} \Beta{} \Gamma{} \Delta{} \Epsilon{} \Zeta{} \Eta{} \Theta{} + \Iota{} \Kappa{} \Lambda{} \Mu{} \Nu{} \Xi{} \Omicron{} \Pi{} \Rho{} + \Sigma{} \Tau{} \Upsilon{} \Phi{} \Chi{} \Psi{} \Omega{} + + \alpha{} \beta{} \gamma{} \delta{} \epsilon{} \zeta{} \eta{} \theta{} + \iota{} \kappa{} \lambda{} \mu{} \nu{} \xi{} \omicron{} \pi{} \rho{} + \sigma{} \varsigma{} \tau{} \upsilon{} \phi{} \chi{} \psi{} \omega{} +\end{quotation} + + +Greek letters in math (with ``fixmath") (there are no math macros for Greek +letters wich exist with similar shape in the Latin alphabet): + +\[ + % \Alpha{} \Beta{} + \Gamma{} \Delta{} + % \Epsilon{} \Zeta{} \Eta{} + \Theta{} + % \Iota{} \Kappa{} + \Lambda{} + % \Mu{} \Nu{} + \Xi{} + % \Omicron{} + \Pi{} + % \Rho{} + \Sigma{} + % \Tau{} + \Upsilon{} \Phi{} + % \Chi{} + \Psi{} \Omega{} +\] +\[ + \alpha{} \beta{} \gamma{} \delta{} \epsilon{} \zeta{} \eta{} \theta{} + \iota{} \kappa{} \lambda{} \mu{} \nu{} \xi{} + % \omicron{} + \pi{} \rho{} + \sigma{} \varsigma{} \tau{} \upsilon{} \phi{} \chi{} \psi{} \omega{} +\] + +So you can easily write a single Greek symbol (like \Psi{} or \mu{}) +or \lambda\omicron\gamma\omicron\varsigma{} in non-Greek text as well as +ISO-conforming formulas with an upright pi symbol like +$A = \text{\pi} r^2$ instead of $A = \pi r^2$. + +\section{ + \TextGreek{\<\Epsilon\lambda\lambda\eta\nu\iota\kappa\'\alpha{} (Ἑλληνικά)} + in PDF strings} + +With the alphabeta package, you get Greek letters in both, the document body +and PDF metadata generated by hyperref if the input uses Unicode literals or +macros. Wrapping in \verb+\TextGreek+ ensures the right placement of the +accents and breathings (before, not above capital letters). +As the hyperref packages "PU" encoding uses the \verb+\text...+ macros, +some diacritics are missing in the PDF data if the short macros are used +(dasia dropped at the start of the heading in the PDF toc). + +The generic macros result in warnings like +% +\begin{verbatim} +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\TextOrMath ' on input line 109. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\mathlambda' on input line 109. +\end{verbatim} +% +that can savely be ignored. + +\subsection{Greek in math $\sin^2\alpha$} + +Ensure Greek in math continues to work in both text and PDF metadata: +$\Gamma = \frac{\sin\alpha}{\cos{\beta}}$. + +\section{Limitations} + +\subsection{Kerning} + +There is no kerning between Greek letters, if the font encoding is not LGR: +compare \TextGreek{AUA} (LGR) to \textAlpha\textUpsilon\textAlpha (T1). +Because of this (and for proper hyphenation), use of the Babel package and +correct language setting is recommended for Greek quotes. + +\subsection{Diacritics} + +In LGR encoding, shortcuts as well as named macros are set up for use with +the Latin transcription. + +Composition of diacritics (like \verb+\Dasia\Tonos+) fails in other +font encodings. Long names (like \verb+\DasiaOxia+) work, however they +do not select precomposed characters (the difference becomes obvious +if you drag-and-drop text from the PDF version of this document): +% +\TextGreek{\<'\alpha{} \Dasia\Tonos\alpha{} \DasiaOxia\alpha{}} \\ +\DasiaOxia\alpha + +Diacritics (except the dialytika) should placed +before capital letters and dropped with MakeUppercase: + +\TextGreek{ +\<{\alpha} \>{\epsilon} \"'{\iota} \`>{\eta} +\'<{\omicron} \~<{\upsilon} \~>{\omega} +\\ +\<{\Alpha} \>{\Epsilon} \"'{\Iota} \`>{\Eta} +\'<{\Omicron} \~<{\Upsilon} \~>{\Omega} +\\ +\MakeUppercase{% + \<{\alpha} \>{\epsilon} \"'{\iota} \`>\eta{} + \'<{\omicron} \~<{\upsilon} \~>{\omega} +}} + +However, this does not work with the generic macros (yet), as there are no +TextCompositeCommand declarations for them in lgrxenc.def. +TODO: add them in alphabeta.sty. + +No kerning: (\TextGreek{ΑΥΑ} vs. ΑΥΑ), misplaced multiple (\TextGreek{ἅ} vs. +ἅ) or Titlecase accents (\TextGreek{Ά Έ Ή Ί} vs. Ά Έ Ή Ί) and strange effects +with MakeUppercase: + +\MakeUppercase{% + \<{\alpha} \>{\epsilon} \"'{\iota} \`>\eta{} + \'<{\omicron} \~<{\upsilon} \~>{\omega} +} + +The \verb+\TextGreek+ TextCommandDefault ensures that the argument is +typeset with an LGR encoded font. This works with the Babel transscription +(\TextGreek{logos}), keeps kerning (if the kerning pair is inside the +argument, \TextGreek{\Alpha\Upsilon\Alpha}), and allows iterative accent +macros where pre-composed characters are selected +(\TextGreek{\DasiaOxia\alpha} or \TextGreek{\Dasia\Tonos\alpha}). + +The Unicode definitions in lgrenc.dfu use this to fix the handling of +diacritics in pre-composed accented Unicode literals (see greek-unicode.pdf). + +\end{document} diff --git a/Master/texmf-dist/doc/latex/lgrx/alphabeta.sty.html b/Master/texmf-dist/doc/latex/lgrx/alphabeta.sty.html new file mode 100644 index 00000000000..d9ae7cc0c22 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lgrx/alphabeta.sty.html @@ -0,0 +1,1028 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" /> +<title>alphabeta: Greek symbols in text and math</title> +<meta name="copyright" content="© 2010 Günter Milde" /> +<style type="text/css"> + +/* +:Author: David Goodger (goodger@python.org) +:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ +:Copyright: This stylesheet has been placed in the public domain. + +Default cascading style sheet for the HTML output of Docutils. + +See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to +customize this style sheet. +*/ + +/* used to remove borders from tables and images */ +.borderless, table.borderless td, table.borderless th { + border: 0 } + +table.borderless td, table.borderless th { + /* Override padding for "table.docutils td" with "! important". + The right padding separates the table cells. */ + padding: 0 0.5em 0 0 ! important } + +.first { + /* Override more specific margin styles with "! important". */ + margin-top: 0 ! important } + +.last, .with-subtitle { + margin-bottom: 0 ! important } + +.hidden { + display: none } + +a.toc-backref { + text-decoration: none ; + color: black } + +blockquote.epigraph { + margin: 2em 5em ; } + +dl.docutils dd { + margin-bottom: 0.5em } + +object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { + overflow: hidden; +} + +/* Uncomment (and remove this text!) to get bold-faced definition list terms +dl.docutils dt { + font-weight: bold } +*/ + +div.abstract { + margin: 2em 5em } + +div.abstract p.topic-title { + font-weight: bold ; + text-align: center } + +div.admonition, div.attention, div.caution, div.danger, div.error, +div.hint, div.important, div.note, div.tip, div.warning { + margin: 2em ; + border: medium outset ; + padding: 1em } + +div.admonition p.admonition-title, div.hint p.admonition-title, +div.important p.admonition-title, div.note p.admonition-title, +div.tip p.admonition-title { + font-weight: bold ; + font-family: sans-serif } + +div.attention p.admonition-title, div.caution p.admonition-title, +div.danger p.admonition-title, div.error p.admonition-title, +div.warning p.admonition-title { + color: red ; + font-weight: bold ; + font-family: sans-serif } + +/* Uncomment (and remove this text!) to get reduced vertical space in + compound paragraphs. +div.compound .compound-first, div.compound .compound-middle { + margin-bottom: 0.5em } + +div.compound .compound-last, div.compound .compound-middle { + margin-top: 0.5em } +*/ + +div.dedication { + margin: 2em 5em ; + text-align: center ; + font-style: italic } + +div.dedication p.topic-title { + font-weight: bold ; + font-style: normal } + +div.figure { + margin-left: 2em ; + margin-right: 2em } + +div.footer, div.header { + clear: both; + font-size: smaller } + +div.line-block { + display: block ; + margin-top: 1em ; + margin-bottom: 1em } + +div.line-block div.line-block { + margin-top: 0 ; + margin-bottom: 0 ; + margin-left: 1.5em } + +div.sidebar { + margin: 0 0 0.5em 1em ; + border: medium outset ; + padding: 1em ; + background-color: #ffffee ; + width: 40% ; + float: right ; + clear: right } + +div.sidebar p.rubric { + font-family: sans-serif ; + font-size: medium } + +div.system-messages { + margin: 5em } + +div.system-messages h1 { + color: red } + +div.system-message { + border: medium outset ; + padding: 1em } + +div.system-message p.system-message-title { + color: red ; + font-weight: bold } + +div.topic { + margin: 2em } + +h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, +h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { + margin-top: 0.4em } + +h1.title { + text-align: center } + +h2.subtitle { + text-align: center } + +hr.docutils { + width: 75% } + +img.align-left, .figure.align-left, object.align-left { + clear: left ; + float: left ; + margin-right: 1em } + +img.align-right, .figure.align-right, object.align-right { + clear: right ; + float: right ; + margin-left: 1em } + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left } + +.align-center { + clear: both ; + text-align: center } + +.align-right { + text-align: right } + +/* reset inner alignment in figures */ +div.align-right { + text-align: inherit } + +/* div.align-center * { */ +/* text-align: left } */ + +ol.simple, ul.simple { + margin-bottom: 1em } + +ol.arabic { + list-style: decimal } + +ol.loweralpha { + list-style: lower-alpha } + +ol.upperalpha { + list-style: upper-alpha } + +ol.lowerroman { + list-style: lower-roman } + +ol.upperroman { + list-style: upper-roman } + +p.attribution { + text-align: right ; + margin-left: 50% } + +p.caption { + font-style: italic } + +p.credits { + font-style: italic ; + font-size: smaller } + +p.label { + white-space: nowrap } + +p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + +p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + +p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + +p.topic-title { + font-weight: bold } + +pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font: inherit } + +pre.literal-block, pre.doctest-block, pre.math, pre.code { + margin-left: 2em ; + margin-right: 2em } + +pre.code .ln { /* line numbers */ + color: grey; +} + +.code { + background-color: #eeeeee +} + +span.classifier { + font-family: sans-serif ; + font-style: oblique } + +span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + +span.interpreted { + font-family: sans-serif } + +span.option { + white-space: nowrap } + +span.pre { + white-space: pre } + +span.problematic { + color: red } + +span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% } + +table.citation { + border-left: solid 1px gray; + margin-left: 1px } + +table.docinfo { + margin: 2em 4em } + +table.docutils { + margin-top: 0.5em ; + margin-bottom: 0.5em } + +table.footnote { + border-left: solid 1px black; + margin-left: 1px } + +table.docutils td, table.docutils th, +table.docinfo td, table.docinfo th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + +table.docutils th.field-name, table.docinfo th.docinfo-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap ; + padding-left: 0 } + +h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, +h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { + font-size: 100% } + +ul.auto-toc { + list-style-type: none } + +</style> +<style type="text/css"> + +/* html4css2.css: Cascading style sheet for Docutils' html4strict writer. */ +/* */ +/* :Author: Günter Milde */ +/* :Copyright: © 2009 Günter Milde. */ +/* Released without warranties or conditions of any kind */ +/* under the terms of the Apache License, Version 2.0 */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* This stylesheet supplements the Docutils standard style 'html4css1.css'. */ +/* It uses CSS 2.1 elements (supported by up-to-date versions of popular */ +/* browsers). */ + +/* General rules */ +/* ============= */ + +body { + padding: 0 5%; + margin: 8px 0; + line-height:1.3; + /* http://ilovetypography.com/2008/02/28/a-guide-to-web-typography/ + recommends "line-spacing that’s at least 140% of your text size" */ + counter-reset: table; + /* counter-reset: figure; */ +} + +/* avoid long lines --> better reading */ +/* OTOH: lines should not be too short because of missing hyphenation, */ +div.document { + max-width: 45em; + margin: auto; +} + +/* separate items except for compact lists */ +dl > dd { + margin-bottom: 1em; +} +.compact li, .compact p, .compact ul, .compact ol +dl.simple > dd, .simple li, .simple p, .simple ul, .simple ol { + margin-top: 0; + margin-bottom: 0; +/* background: magenta; */ +} +dl.simple, dl.compact, dl.simple > dd, dl.compact > dd { + margin-top: 0; + margin-bottom: 0; +/* background: lightgreen; */ +} + +/* space around paragraphs */ +dl > dd p:first-child, td > p { + margin: 0; +} + +/* Sidebar */ +/* ------- */ + +div.sidebar { + margin-right: -5%; +} + +/* Special definition lists */ +/* ======================== */ + +/* bold definition term on the same line as the label */ +dl.field-list > dt, dl.option-list > dt, dl.docinfo > dt, +dl.footnote > dt, dl.citation > dt, dl.description > dt { + clear: left; + float: left; + margin: 0; + padding: 0; + padding-right: 0.5em; + font-weight: bold; +} +/* except for these */ +dl.option-list > dt, dl.footnote > dt { + font-weight: normal; +} + + + +/* Field Lists */ +/* ----------- */ + +/* field names followed by a colon */ +dl.field-list > dt:after, dl.docinfo > dt:after { + content: ":"; +} + +/* Offset for field content (corresponds to the --field-name-limit option) */ +dl.field-list > dd { + margin-left: 9em; /* ca. 14 chars in the test examples */ + padding-left: 0.5em; +} + +/* start field-body on a new line after long field names */ +dl.field-list > dd p { + width: 100%; +/* display: inline-block; */ +/* background: yellow; */ +} + +dl.field-list > dd > p:first-child, +/* dl.field-list > dd > ol:first-child, */ +/* dl.field-list > dd > ul:first-child, */ +dl.field-list > dd > dl:first-child { + display: inline-block; +} + +/* field-list variants:: */ + +/* example for custom field-name width */ +dl.field-list.narrow > dd { + margin-left: 5em; +} + +/* start field-body on same line after long field names */ +dl.field-list.run-in > dd p { + display: block; +} + +/* wrap or truncate long field names */ +dl.field-list.fix-labelwidth > dt { + width: 8em; /* set to dl.field-list > dd margin-left - padding-left */ + overflow: hidden; +} +dl.field-list.fix-labelwidth > dd:after { + /* a "stopper" to prevent next dd floating up too far */ + content: ''; + display: block; + clear: left; +} + +/* docinfo */ + +dl.docinfo > dd { + margin-left: 8em; +/* margin-bottom: 0.5em; */ +} + + +/* option list */ + +dl.option-list { + margin-left: 1em; + padding-left: 0; +} + +dl.option-list > dd { + margin-left: 8em; + /* margin-bottom: 0.5em; */ +} + +/* start description on a new line after long options */ +dl.option-list > dd p { + width: 100%; + display: inline-block; +} + +/* footnotes */ + +a.footnote-reference, a.fn-backref { + text-decoration: inherit; /* do not underline footnote links */ +} + +dl.footnote { + /* line on the left */ + padding-left: 1ex; + border-left: solid; + border-left-width: thin; + /* border-color: black; */ +} + +/* paragraph on same line as backrefs */ +dd > em { +/* background: green; */ + float: left; + margin-right: 1ex +} + + +/* +Ordered List (Enumeration) +-------------------------- + +Use counters to replace the deprecated start attribute. Make sure the +resulting list resembles the list-style 'outside' with a hanging indent. +*/ + +/* New ordered list: reset counter, suppress the default label */ +ol, ol.arabic, ol.loweralpha, ol.upperalpha, +ol.lowerroman, ol.upperroman { + counter-reset: item; + list-style: none +} + +/* Set the negative indent of the list label as feature of the list item */ +ol > li { + text-indent: -40px; /* Mozillas default indent */ +} +/* reset for child elements */ +ol > li > * { + text-indent: 0px; + text-indent: 0; + margin-top: 0; + /* background: lightgreen; */ +} + +/* Label */ +ol > li:before { + /* increment and typeset counter(s), */ + counter-increment: item; + content: counter(item) "."; + /* display next to the content (aligned top-right), */ + display: inline-block; + text-align: right; + vertical-align: top; + /* sum must match ol>li {text-indent:} (40px is Mozillas default) */ + width: 35px; + padding-right: 5px; +/* background: yellow; */ +} + +/* The list item's first line starts next to the label, without indent */ +ol > li > p:first-child, +ol > li > ol:first-child, +ol > li > ul:first-child, +ol > li > dl:first-child { + display: inline-block; + /* background: lightblue; */ +} + +/* default separator variants */ +ol.loweralpha > li:before { + content: counter(item, lower-alpha) ")"; +} +ol.upperalpha > li:before { + content: counter(item, upper-alpha) "."; +} +ol.lowerroman > li:before { + content: "(" counter(item, lower-roman) ")"; +} +ol.upperroman > li:before { + content: counter(item, upper-roman) ")"; +} +/* nested counters (1, 1.1, 1.1.1, etc) */ +/* nested enumerated lists "inherit" the class attribute, other lists not */ +ol.nested > li:before, ol.nested ol > li:before { + content: counters(item, ".") " "; +} + +/* lists nested in definition list */ + +dd > ul, dd > ol { + padding-left: 0pt; +} + +/* TODO: prefix, suffix? */ + +/* smaller font for super- and subscripts */ +/* sub, sup {font-size: 70%;} */ /* Mozilla default is `smaller` */ + + +/* Tables */ +/* ====== */ + +/* margins and borders for "normal" tables */ +table { + margin-top: 0.5em ; + margin-bottom: 0.5em; +/* border-style: outset; */ + border-style: solid; + border-color: silver; + border-width: thin; + border-collapse: collapse; +} +blockquote > table { + margin-top: 0em ; + margin-bottom: 0em; +} + +td, th { + border-style: solid; + border-width: thin; + border-color: silver; + /* text-align: left; */ + padding: 0 1ex; +} + +td > p:first-child, th > p:first-child { + margin-top: 0; +} +td > p, th > p { + margin-bottom: 0; +} + +/* no borders for "borderless" tables */ +table.borderless, table.borderless * { + border-style: none; +} + +/* "booktabs" style (no vertical lines) */ +table.booktabs { + border: 0; + border-top: 2px solid; + border-bottom: 2px solid; +} + +table.booktabs * { + border: 0; +} +table.booktabs th { + border-bottom: thin solid; +} + +table > caption { + text-align: left; +/* padding: 2em 0 1em 0; */ +} + +/* numbered tables*/ +table.numbered > caption:before { + counter-increment: table; /* defined/re-set in body */ + content: "Table " counter(table) ": "; + font-weight: bold; +} + + +/* literal text + ------------ +*/ +/* whitespace and wrapping in inline literals */ +/* possible values: normal, nowrap, pre, pre-wrap, pre-line */ +tt.literal { + white-space: pre-wrap; +} + +/* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */ +/* pre.literal-block, pre.doctest-block { */ +/* margin-top: 0em ; */ +/* } */ + +/* Table of Contents */ + +/* don't indent like a topic */ +div.topic.contents { + margin: 0; +} +/* div.topic.contents ul { */ +/* list-style: none; */ +/* } */ + +div.topic.contents a { + text-decoration: none; /* no underline for links */ +} + +/* section numbers */ + +span.sectnum { + padding-right: 1ex; +} + +/* admonitions */ + +/* no padding for top and bottom */ +div.admonition, div.attention, div.caution, div.danger, div.error, +div.hint, div.important, div.note, div.tip, div.warning { + padding: 0px 1em } + +</style> +</head> +<body> +<div class="document" id="alphabeta-greek-symbols-in-text-and-math"> +<h1 class="title">alphabeta: Greek symbols in text and math</h1> + +<dl class="docinfo"> +<dt class="copyright">Copyright</dt> +<dd class="copyright">© 2010 Günter Milde</dd> +<dt>Licence</dt> +<dd><p>This work may be distributed and/or modified under the +conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either +version 1.3 of this license or any later version.</p> +</dd> +<dt>Identification</dt> +<dd><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{alphabeta} +[2012/06/26 v0.1 macros for Greek letters in text and math] +</pre> +<p>This package is part of the <a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle.</p> +</dd> +</dl> +<div class="abstract topic"> +<p class="topic-title first">Abstract</p> +<p>Use <tt class="literal">\alpha, \beta, ...</tt> for Greek letters in text and math.</p> +</div> +<dl class="docutils"> +<dt>Changelog:</dt> +<dd><table class="borderless"> +<colgroup> +<col width="14%" /> +<col width="7%" /> +<col width="79%" /> +</colgroup> +<tbody valign="top"> +<tr><td><p>2012-06-26</p></td> +<td><p>0.1</p></td> +<td><p>initial version</p></td> +</tr> +</tbody> +</table> +</dd> +</dl> +<div class="section" id="motivation"> +<h1>Motivation</h1> +<p>By default, the <tt class="literal">\alpha, \beta, ...</tt> macros for Greek letters +are only valid in mathematical mode.</p> +<p>The <cite>textalpha</cite> package provides a set of macros that can be used to +access Greek symbols from a font in LGR encoding (e.g. the <a class="reference external" href="http://www.ctan.org/pkg/cbgreek-complete">CB fonts</a>) +without the need for an explicite font-encoding switch under the names +<tt class="literal">\textalpha, \textbeta</tt>, ..., <tt class="literal">\textOmega</tt>.</p> +<p>With this package, the math macros are redefined to work both, text and +math, so that single Greek letters or simple words can be written with the +established command names.</p> +<dl class="docutils"> +<dt>Attention</dt> +<dd><p>While the macros work reasonably well for single letters, the automatic +font-encoding switches behind the doors interferes with the kerning +between the letters and replacement of accent+character with a +pre-composed character.</p> +<p>Therefore, Greek text should be written with the help of <a class="reference external" href="http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel">babel</a>, setting +the language to either <tt class="literal">greek</tt> or <tt class="literal">polutonikogreek</tt> or wrapped in the +provided <tt class="literal">\TextGreek</tt> macro.</p> +</dd> +</dl> +</div> +<div class="section" id="implementation"> +<h1>Implementation</h1> +<p>This package extends the <cite>textalpha</cite> package:</p> +<pre class="literal-block">\RequirePackage{textalpha} +</pre> +<p>It uses the <tt class="literal">\TextOrMath</tt> test from the <a class="reference external" href="http://www.ctan.org/pkg/fixltx2e">fixltx2e</a> standard LaTeX +package:</p> +<pre class="literal-block">\RequirePackage{fixltx2e} +</pre> +<div class="section" id="save-math-macros"> +<h2>Save math macros</h2> +<p>Provide an alias for the standard math commands:</p> +<pre class="literal-block">\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 +</pre> +</div> +<div class="section" id="commands-to-access-greek-letters-by-name"> +<h2>Commands to access Greek letters by name</h2> +<p>For letters defined in math mode, the commands work in both, text and math.</p> +<p>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, but we define an alias to the corrsponding <tt class="literal"><span class="pre">\text...</span></tt> +command.</p> +<pre class="literal-block">\newcommand{\Alpha}{\textAlpha} +\newcommand{\Beta}{\textBeta} +\renewcommand{\Gamma}{\TextOrMath{\textGamma}{\mathGamma}} +\renewcommand{\Delta}{\TextOrMath{\textDelta}{\mathDelta}} +\newcommand{\Epsilon}{\textEpsilon} +\newcommand{\Zeta}{\textZeta} +\newcommand{\Eta}{\textEta} +\renewcommand{\Theta}{\TextOrMath{\textTheta}{\mathTheta}} +\newcommand{\Iota}{\textIota} +\newcommand{\Kappa}{\textKappa} +\renewcommand{\Lambda}{\TextOrMath{\textLambda}{\mathLambda}} +\newcommand{\Mu}{\textMu} +\newcommand{\Nu}{\textNu} +\renewcommand{\Xi}{\TextOrMath{\textXi}{\mathXi}} +\newcommand{\Omicron}{\textOmicron} +\renewcommand{\Pi}{\TextOrMath{\textPi}{\mathPi}} +\newcommand{\Rho}{\textRho} +\renewcommand{\Sigma}{\TextOrMath{\textSigma}{\mathSigma}} +\newcommand{\Tau}{\textTau} +\renewcommand{\Upsilon}{\TextOrMath{\textUpsilon}{\mathUpsilon}} +\renewcommand{\Phi}{\TextOrMath{\textPhi}{\mathPhi}} +\newcommand{\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}} +\newcommand{\omicron}{\textomicron} +\renewcommand{\pi}{\TextOrMath{\textpi}{\mathpi}} +\renewcommand{\rho}{\TextOrMath{\textrho}{\mathrho}} +\renewcommand{\sigma}{\TextOrMath{\textsigma}{\mathsigma}} +\renewcommand{\varsigma}{\TextOrMath{\textvarsigma}{\mathvarsigma}} +\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}} +</pre> +</div> +<div class="section" id="textcompositecommands-for-the-generic-macros"> +<h2>TextCompositeCommands for the generic macros</h2> +<p>The NFSS TextComposite mechanism looks for the next token without expanding +it. In order to let compositions like <tt class="literal"><span class="pre">\TextGreek{\'\Alpha}</span></tt> or +<tt class="literal"><span class="pre">\TextGreek{\>"\alpha}</span></tt> work as expected we define TextComposites with the +<cite>letter name commands</cite> (even so composition only works if the font encoding +is LGR).</p> +<pre class="literal-block">\DeclareTextComposite{\Varia}{LGR}{\alpha}{128} +\DeclareTextComposite{\Dasia}{LGR}{\alpha}{129} +\DeclareTextComposite{\Psili}{LGR}{\alpha}{130} +\DeclareTextComposite{\DasiaVaria}{LGR}{\alpha}{131} +\DeclareTextComposite{\Tonos}{LGR}{\alpha}{136} +\DeclareTextComposite{\DasiaOxia}{LGR}{\alpha}{137} +\DeclareTextComposite{\PsiliOxia}{LGR}{\alpha}{138} +\DeclareTextComposite{\PsiliVaria}{LGR}{\alpha}{139} +\DeclareTextComposite{\Perispomeni}{LGR}{\alpha}{144} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\alpha}{145} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\alpha}{146} +\DeclareTextComposite{\Varia}{LGR}{\eta}{152} +\DeclareTextComposite{\Dasia}{LGR}{\eta}{153} +\DeclareTextComposite{\Psili}{LGR}{\eta}{154} +\DeclareTextComposite{\Tonos}{LGR}{\eta}{160} +\DeclareTextComposite{\DasiaOxia}{LGR}{\eta}{161} +\DeclareTextComposite{\PsiliOxia}{LGR}{\eta}{162} +\DeclareTextComposite{\DasiaVaria}{LGR}{\eta}{163} +\DeclareTextComposite{\Perispomeni}{LGR}{\eta}{168} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\eta}{169} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\eta}{170} +\DeclareTextComposite{\PsiliVaria}{LGR}{\eta}{171} +\DeclareTextComposite{\Varia}{LGR}{\omega}{176} +\DeclareTextComposite{\Dasia}{LGR}{\omega}{177} +\DeclareTextComposite{\Psili}{LGR}{\omega}{178} +\DeclareTextComposite{\DasiaVaria}{LGR}{\omega}{179} +\DeclareTextComposite{\Tonos}{LGR}{\omega}{184} +\DeclareTextComposite{\DasiaOxia}{LGR}{\omega}{185} +\DeclareTextComposite{\PsiliOxia}{LGR}{\omega}{186} +\DeclareTextComposite{\PsiliVaria}{LGR}{\omega}{187} +\DeclareTextComposite{\Perispomeni}{LGR}{\omega}{192} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\omega}{193} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\omega}{194} +\DeclareTextComposite{\Varia}{LGR}{\iota}{200} +\DeclareTextComposite{\Dasia}{LGR}{\iota}{201} +\DeclareTextComposite{\Psili}{LGR}{\iota}{202} +\DeclareTextComposite{\DasiaVaria}{LGR}{\iota}{203} +\DeclareTextComposite{\Tonos}{LGR}{\iota}{208} +\DeclareTextComposite{\DasiaOxia}{LGR}{\iota}{209} +\DeclareTextComposite{\PsiliOxia}{LGR}{\iota}{210} +\DeclareTextComposite{\PsiliVaria}{LGR}{\iota}{211} +\DeclareTextComposite{\Perispomeni}{LGR}{\iota}{216} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\iota}{217} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\iota}{218} +\DeclareTextComposite{\Dialytika}{LGR}{\iota}{240} +\DeclareTextComposite{\DialytikaVaria}{LGR}{\iota}{241} +\DeclareTextComposite{\DialytikaTonos}{LGR}{\iota}{242} +\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{\iota}{243} +\DeclareTextComposite{\Varia}{LGR}{\upsilon}{204} +\DeclareTextComposite{\Dasia}{LGR}{\upsilon}{205} +\DeclareTextComposite{\Psili}{LGR}{\upsilon}{206} +\DeclareTextComposite{\DasiaVaria}{LGR}{\upsilon}{207} +\DeclareTextComposite{\Tonos}{LGR}{\upsilon}{212} +\DeclareTextComposite{\DasiaOxia}{LGR}{\upsilon}{213} +\DeclareTextComposite{\PsiliOxia}{LGR}{\upsilon}{214} +\DeclareTextComposite{\PsiliVaria}{LGR}{\upsilon}{215} +\DeclareTextComposite{\Perispomeni}{LGR}{\upsilon}{220} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\upsilon}{221} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\upsilon}{222} +\DeclareTextComposite{\Dialytika}{LGR}{\upsilon}{244} +\DeclareTextComposite{\DialytikaVaria}{LGR}{\upsilon}{245} +\DeclareTextComposite{\DialytikaTonos}{LGR}{\upsilon}{246} +\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{\upsilon}{247} +\DeclareTextComposite{\Varia}{LGR}{\epsilon}{224} +\DeclareTextComposite{\Dasia}{LGR}{\epsilon}{225} +\DeclareTextComposite{\Psili}{LGR}{\epsilon}{226} +\DeclareTextComposite{\DasiaVaria}{LGR}{\epsilon}{227} +\DeclareTextComposite{\Tonos}{LGR}{\epsilon}{232} +\DeclareTextComposite{\DasiaOxia}{LGR}{\epsilon}{233} +\DeclareTextComposite{\PsiliOxia}{LGR}{\epsilon}{234} +\DeclareTextComposite{\PsiliVaria}{LGR}{\epsilon}{235} +\DeclareTextComposite{\Varia}{LGR}{\omicron}{228} +\DeclareTextComposite{\Dasia}{LGR}{\omicron}{229} +\DeclareTextComposite{\Psili}{LGR}{\omicron}{230} +\DeclareTextComposite{\DasiaVaria}{LGR}{\omicron}{231} +\DeclareTextComposite{\Tonos}{LGR}{\omicron}{236} +\DeclareTextComposite{\DasiaOxia}{LGR}{\omicron}{237} +\DeclareTextComposite{\PsiliOxia}{LGR}{\omicron}{238} +\DeclareTextComposite{\PsiliVaria}{LGR}{\omicron}{239} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Alpha}{<A} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Alpha}{<`A} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Alpha}{<'A} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Alpha}{<\char126A} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Alpha}{>A} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Alpha}{>`A} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Alpha}{>'A} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Alpha}{>\char126A} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Alpha}{'A} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Alpha}{`A} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Epsilon}{<E} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Epsilon}{<'E} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Epsilon}{<`E} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Epsilon}{>E} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Epsilon}{>'E} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Epsilon}{>`E} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Epsilon}{'E} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Epsilon}{`E} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Eta}{<H} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Eta}{<`H} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Eta}{<'H} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Eta}{<\char126H} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Eta}{>H} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Eta}{>`H} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Eta}{>'H} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Eta}{>\char126H} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Eta}{'H} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Eta}{`H} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Iota}{<I} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Iota}{<`I} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Iota}{<'I} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Iota}{<\char126I} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Iota}{>I} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Iota}{>`I} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Iota}{>'I} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Iota}{>\char126I} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Iota}{'I} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Iota}{`I} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Omicron}{<O} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Omicron}{<`O} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Omicron}{<'O} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Omicron}{>O} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Omicron}{>`O} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Omicron}{>'O} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Omicron}{'O} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Omicron}{`O} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Upsilon}{<U} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Upsilon}{<`U} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Upsilon}{<'U} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Upsilon}{<\char126U} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Upsilon}{'U} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Upsilon}{`U} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Omega}{<W} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Omega}{<`W} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Omega}{<'W} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Omega}{<\char126W} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Omega}{>W} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Omega}{>`W} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Omega}{>'W} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Omega}{>\char126W} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Omega}{'W} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Omega}{`W} +\DeclareTextComposite{\Dialytika}{LGR}{\Iota}{219} +\DeclareTextComposite{\Dialytika}{LGR}{\Upsilon}{223} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\Alpha}{\A@hiatus} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\Epsilon}{\E@hiatus} +</pre> +<!-- References +- - - - - - - - - - --> +</div> +</div> +</div> +</body> +</html> diff --git a/Master/texmf-dist/doc/latex/lgrx/greek-unicode.pdf b/Master/texmf-dist/doc/latex/lgrx/greek-unicode.pdf Binary files differindex 03d9eddf3c9..f1b3dad631f 100644 --- a/Master/texmf-dist/doc/latex/lgrx/greek-unicode.pdf +++ b/Master/texmf-dist/doc/latex/lgrx/greek-unicode.pdf diff --git a/Master/texmf-dist/doc/latex/lgrx/greek-unicode.tex b/Master/texmf-dist/doc/latex/lgrx/greek-unicode.tex index b0a144c0be4..011fd13e052 100644 --- a/Master/texmf-dist/doc/latex/lgrx/greek-unicode.tex +++ b/Master/texmf-dist/doc/latex/lgrx/greek-unicode.tex @@ -1,52 +1,64 @@ -\documentclass[a4]{article} +\documentclass[a4paper]{article} \usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader \usepackage[LGRx,T2A, T1]{fontenc} \usepackage[utf8]{inputenc} +% \usepackage{textcomp} +\usepackage{hyperref,bookmark} \usepackage{parskip} \usepackage{booktabs} -% \usepackage{textcomp} \usepackage{lmodern} % \usepackage{kerkis} % \usepackage{gfsdidot} - \newcommand{\LGR}{\fontencoding{LGR}\selectfont} \newcommand{\Latin}{\fontencoding{T1}\selectfont} +\providecommand*{\textgreek}[1]{{\fontencoding{LGR}\selectfont #1}} -\pagestyle{empty} -% \enlargethispage{1em} \begin{document} -\subsection*{Greek Unicode with \texttt{lgrenc.dfu}} +\section*{Greek Unicode with \texttt{lgrenc.dfu}} The definitions in \texttt{lgrenc.dfu} provide standards-compatible UTF-8 support for Greek based on the extended font encoding definitions in \texttt{lgrxenc.def}. Like other \emph{inputenc} Unicode definitions, they only work for text -in the correct font encoding (in this case LGR). -% e.g. Π produces: +in the correct font encoding (in this case LGR). +% e.g. Π produces: % ! LaTeX Error: Command \textPi unavailable in encoding T1. % just like Ж produces: % ! LaTeX Error: Command \CYRZH unavailable in encoding T1. % -The font encoding is automatically set to LGR by the babel-languages +The font encoding is automatically set to LGR by babel for the languages \emph{greek} and \emph{polutonikogreek}. -Combined with the accompanying package \texttt{textalpha.sty}, Greek Unicode -characters can be used without explicite language or font-encoding change -- -with some limitations (kerning, MakeUppercase/MakeLowercase, multiple -accents) described in \texttt{textalpha-test}. +With the combination +% +\begin{verbatim} + \usepackage[utf8]{inputenc} + \usepackage{textalpha} +\end{verbatim} +% +Greek Unicode literals can be used in text with any font encoding (with some +limitations to kerning, MakeUppercase/MakeLowercase and multiple accents, +described in \texttt{textalpha-test}). -\Latin -\subsubsection*{Greek and Coptic} + +\section{Supported Characters} + +Unicode definitions exist for all non-ASCII characters that can be rendered +with an LGR-encoded font. + +\subsection{Greek and Coptic} + +\Latin legend: * glyph missing in LGR, · Unicode point not defined \LGR \begin{tabular}{rrrrrrrrrrrrrrrrr} \toprule -& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & +& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & \Latin A & \Latin B & \Latin C & \Latin D & \Latin E & \Latin F\\ \midrule \Latin 370 & * & * & * & * & ʹ & ͵ & * & * & · & · & ͺ & * & * & * & ; & \\ @@ -61,9 +73,7 @@ accents) described in \texttt{textalpha-test}. \bottomrule \end{tabular} -\Latin * glyph missing in LGR, · Unicode point not defined - -\subsubsection*{Greek Extended} +\subsection{Greek Extended} \LGR \begin{tabular}{rrrrrrrrrrrrrrrrr} @@ -72,13 +82,13 @@ accents) described in \texttt{textalpha-test}. \Latin A & \Latin B & \Latin C & \Latin D & \Latin E & \Latin F\\ \midrule \Latin 1F00 & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\ - \Latin 1F10 & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & · & · & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & · & \\ + \Latin 1F10 & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & · & · & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & · & ·\\ \Latin 1F20 & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\ \Latin 1F30 & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\ - \Latin 1F40 & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & · & · & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & · & \\ + \Latin 1F40 & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & · & · & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & · & ·\\ \Latin 1F50 & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & · & Ὑ & · & Ὓ & · & Ὕ & · & Ὗ\\ \Latin 1F60 & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\ - \Latin 1F70 & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & · & \\ + \Latin 1F70 & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & · & ·\\ \Latin 1F80 & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\ \Latin 1F90 & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\ \Latin 1FA0 & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\ @@ -86,101 +96,126 @@ accents) described in \texttt{textalpha-test}. \Latin 1Fc0 & ῀ & ῁ & ῂ & ῃ & ῄ & · & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\ \Latin 1FD0 & ῐ & ῑ & ῒ & ΐ & · & · & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & · & ῝ & ῞ & ῟\\ \Latin 1FE0 & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\ - \Latin 1FF0 & · & · & ῲ & ῳ & ῴ & · & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\ + \Latin 1FF0 & · & · & ῲ & ῳ & ῴ & · & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & ·\\ \bottomrule \end{tabular} +\Latin -\subsubsection*{Other Unicode Blocks} +\subsection{Other Unicode Blocks} -\Latin Latin-1 Supplement: \LGR ¨ « ¯ ´ · » +Latin-1 Supplement: \textgreek{¨ « ¯ ´ · »} -\Latin IPA Extensions: \LGR ə +IPA Extensions: \textgreek{ə} -\Latin Spacing Modifier Letters: \LGR ˘a % breve +Spacing Modifier Letters: \textgreek{˘a} (here followed by letter alpha) -\Latin General Punctuation: ZWNJ\footnote{zero width no joiner}: - \LGR AU ({\Latin comp.} AU) – — ‘ ’ ‰ +General Punctuation: \textgreek{– — ‘ ’ ‰} ZWNJ (zero width no joiner, +prevents kerning and ligatures, e.g. \textgreek{AU} vs. \textgreek{AU} and +\textgreek{'a} vs. \textgreek{'a}) -\Latin Currency Symbols: \LGR € +Currency Symbols: \textgreek{€} -% TODO: define this (as it looks like) or not (as it is not the same)? -% \Latin Letterlike Symbols: \LGR Ω +Letterlike Symbols: \textgreek{Ω} % OHM SIGN, preferred representation is 03A9 -\Latin Ancient Greek Numbers: -\LGR -𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY -𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\Latin Ancient Greek Numbers: +\LGR +𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY +𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND 𐅇 % \textPiMu{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND \Latin -\subsubsection*{MakeUppercase, MakeLowercase} - -Other Unicode Blocks - -\LGR -\MakeUppercase{¨ « ¯ ´ · »} \MakeLowercase{¨ « ¯ ´ · »} - -\MakeUppercase{ə} \MakeLowercase{ə} - -\MakeUppercase{˘a } \MakeLowercase{˘a } - -\MakeUppercase{AU ($\ne$ AU) – — ‘ ’ ‰} -\MakeLowercase{AU ($\ne$ AU) – — ‘ ’ ‰} - -\MakeUppercase{€} \MakeLowercase{€} - -% \MakeUppercase{Ω} \MakeLowercase{Ω} - -\MakeUppercase{ -𐅄 % GREEK ACROPHONIC ATTIC FIFTY -𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED -𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND -𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND -} \MakeLowercase{ -𐅄 % GREEK ACROPHONIC ATTIC FIFTY -𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED -𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND -𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND -} - - -\Latin Greek and Coptic - -\LGR -\MakeUppercase{ ʹ ͵ ͺ ; }\\ -\MakeUppercase{ ΄ ΅ Ά · Έ Ή Ί Ό Ύ Ώ }\\ -\MakeUppercase{ ΐ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο }\\ -\MakeUppercase{ Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί }\\ -\MakeUppercase{ ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο }\\ -\MakeUppercase{ π ρ ς σ τ υ φ χ ψ ω ϊ ϋ ό ύ ώ }\\ -\MakeUppercase{ Ϙ ϙ Ϛ ϛ Ϝ ϝ ϟ }\\ -\MakeUppercase{ Ϡ ϡ }\\ -\MakeUppercase{ } - - -\MakeLowercase{ ʹ ͵ ͺ ; }\\ -\MakeLowercase{ ΄ ΅ Ά · Έ Ή Ί Ό Ύ Ώ }\\ -\MakeLowercase{ ΐ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο }\\ -\MakeLowercase{ Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί }\\ -\MakeLowercase{ ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο }\\ -\MakeLowercase{ π ρ ς σ τ υ φ χ ψ ω ϊ ϋ ό ύ ώ }\\ -\MakeLowercase{ Ϙ ϙ Ϛ ϛ Ϝ ϝ ϟ }\\ -\MakeLowercase{ Ϡ ϡ }\\ -\MakeLowercase{ } - -\Latin The lowercase of {\LGR Σ} is the «auto-sigma»: -\LGR Σ $\mapsto$ \MakeLowercase{Σ}, ΣΤ $\mapsto$ \MakeLowercase{ΣΤ}. -\Latin Add a ZWNJ or use the \verb+\noboundary+ macro to prevent - conversion to final sigma: -\LGR \MakeLowercase{Σ \textSigma\noboundary}. -\Latin The lowercase of {\LGR Ϛ} is {\LGR\MakeLowercase{Ϛ}}. +\section{MakeUppercase, MakeLowercase} + +Capital Greek letters have diacritics (except the dialytika) to the left +(instead of above) and drop them in uppercase, e.g. +\textgreek{μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}}. + +Tonos and dasia mark a \emph{hiatus} (break-up of a diphthong) if placed on +the first vowel of the diphthong (\textgreek{άι, άυ, έι}). A dialytika must +be placed on the second vowel if they are dropped +(\textgreek{\MakeUppercase{\'ai, \'au, \'ei}}). +% this does not work, see below: (\textgreek{\MakeUppercase{άι, άυ, έι}}) + +The auto-hiatus feature in lgrxend.def works nice with the Latin +transcription and with character-macros (% +\textgreek{\MakeUppercase{% + \'ai, + \'\textalpha \textupsilon, + \'\textepsilon \textiota +}}) +and also if the first character is wrapped in \verb+\TextGreek+ (as done by +the lgrenc.dfu definition for accented characters) or a literal Unicode +character +(\textgreek{\MakeUppercase{% + \TextGreek{\'\textalpha}\textiota, + ά\textiota +}}) +but not if the second character of the diphthong is a Unicode literal +(\textgreek{\MakeUppercase{% + \'\textalpha ι, + άυ, + \'\textepsilon ι +}}). + +% Therefore, the diaresis is missing in the following examples: +% \textgreek{άυλος $\mapsto$ \MakeUppercase{άυλος}, +% ἄυλος $\mapsto$ \MakeUppercase{ἄυλος}, +% μάινα $\mapsto$ \MakeUppercase{μάινα}, +% κέικ, $\mapsto$ \MakeUppercase{κέικ}, +% ἀυπνία $\mapsto$ \MakeUppercase{ἀυπνία}}. + +Fixing this shortcoming requires knowledge of what the +\verb+\LGR@ifnextchar+ ``sees'' when the next character is an upcased +Unicode literal. + +As an ugly workaround, use \verb+\textiota+ rsp. \verb+\textupsilon+ +for the character that should get the diaresis: +\textgreek{ἀ\textupsilon{}πνία $\mapsto$ \MakeUppercase{ἀ\textupsilon{}πνία}}. + + +The following subsections test MakeUppercase and MakeLowercase with all +characters defined in lgrenc.dfu: + +\subsection{Greek and Coptic} + +\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} +\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ} + +Characters of the Greek and Coptic Unicode Block: + +\begin{quote} + \textgreek{\GreekAndCoptic}\\ + \textgreek{\greekandcoptic} +\end{quote} + +Tonos dropped with MakeUppercase: + +\begin{quote} + \textgreek{\MakeUppercase{\GreekAndCoptic}}\\ + \textgreek{\MakeUppercase{\greekandcoptic}} +\end{quote} + +MakeLowercase: + +\begin{quote} + \textgreek{\MakeLowercase{\GreekAndCoptic}}\\ + \textgreek{\MakeLowercase{\greekandcoptic}} +\end{quote} + +The lowercase of {\LGR Σ} is the «auto-sigma»: \textgreek{ΤΣ $\mapsto$ +\MakeLowercase{ΤΣ}, ΣΤ $\mapsto$ \MakeLowercase{ΣΤ}}. Add a ZWNJ or use the +\verb+\noboundary+ macro to prevent conversion to final sigma: +\textgreek{\MakeLowercase{ΤΣ}}. The lowercase of +\textgreek{Ϛ} is \textgreek{\MakeLowercase{Ϛ}}. \newpage -\Latin Greek extended +\subsection{Greek extended} + +MakeUppercase: \LGR \MakeUppercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\ @@ -200,6 +235,7 @@ Other Unicode Blocks \MakeUppercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\ \MakeUppercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ } +MakeLowercase: \MakeLowercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\ \MakeLowercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\ @@ -217,11 +253,47 @@ Other Unicode Blocks \MakeLowercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\ \MakeLowercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\ \MakeLowercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ } +\Latin + +\subsection{Other Unicode Blocks} + +MakeUppercase works without effect on non-letter symbols and the letter shwa: + +\LGR +\MakeUppercase{¨ « ¯ ´ · »} +\MakeUppercase{ə} +\MakeUppercase{˘a} +\MakeUppercase{– — ‘ ’ ‰ au} +\MakeUppercase{€} +% \MakeUppercase{Ω} +\MakeUppercase{ +𐅄 % GREEK ACROPHONIC ATTIC FIFTY +𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED +𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND +𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +} + +\Latin +MakeLowercase works without effect on non-letter symbols, too: + +\LGR +\MakeLowercase{¨ « ¯ ´ · »} +\MakeLowercase{ə} +\MakeLowercase{˘A} +\MakeLowercase{– — ‘ ’ ‰ AU} +\MakeLowercase{€} +% \MakeLowercase{Ω} +\MakeLowercase{ +𐅄 % GREEK ACROPHONIC ATTIC FIFTY +𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED +𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND +𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +} \end{document} -Problems with text-extraction from PDF with Kerkis: +Problems with text-extraction from PDF with Kerkis: 0 1 2 3 4 5 6 7 8 9 A B C D E F 370 * * * * ΄ ͵ * * ι * * * ; @@ -259,4 +331,3 @@ and GFS Didot: 3∆0 * * * * * * * * Ϛ Ϝ Ϝ * Ϟ 3Ε0 * * * * * * * * * * * * * * 3Φ0 * * * * * * * * * * * * * * * * - diff --git a/Master/texmf-dist/doc/latex/lgrx/greekhyperref.pdf b/Master/texmf-dist/doc/latex/lgrx/greekhyperref.pdf Binary files differindex 93067f97b5b..ff1335c0d5c 100644 --- a/Master/texmf-dist/doc/latex/lgrx/greekhyperref.pdf +++ b/Master/texmf-dist/doc/latex/lgrx/greekhyperref.pdf diff --git a/Master/texmf-dist/doc/latex/lgrx/greekhyperref.tex b/Master/texmf-dist/doc/latex/lgrx/greekhyperref.tex index 2cd9ff848d1..7076a162b62 100644 --- a/Master/texmf-dist/doc/latex/lgrx/greekhyperref.tex +++ b/Master/texmf-dist/doc/latex/lgrx/greekhyperref.tex @@ -5,59 +5,98 @@ \usepackage{lmodern} \usepackage[greek,english]{babel} -\usepackage{textalpha} +\usepackage{alphabeta} \usepackage[utf8]{inputenc} \usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} \usepackage{bookmark} -\begin{document} +% \pagestyle{headings} -\section{Greek and hyperref bookmarks} +\begin{document} -\subsection{\textgreek{logos} one} +\title{Greek and hyperref} +\maketitle -\textbackslash{}textgreek + LGR transkription: +\noindent +On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex: +% +\begin{quote} + \textbackslash pdfstringdef (converting TeX code to PDF strings for + bookmarks) supports NFSS2 and needs active characters. Encoding + stuff based on the internal font machinery of TeX (letters with + catcode 11 or 12, ligatures) does not work, because the strings + don't reach TeX's stomach. +\end{quote} +% +The \emph{lgrx} bundle allows input of Greek characters that work in both, +the main document as well as in PDF strings (e.g. bookmarks). -In the PDF-bookmark are Latin letters instead of Greek ones. -\subsection{\foreignlanguage{greek}{logos} two} - -Greek language (babel) + LGR transkription: +\section{Transcription: \TextGreek{logos}, \foreignlanguage{greek}{logos}} +\textbackslash{}textgreek + LGR transcription or +Greek language (babel) + LGR transcription: In the PDF-bookmark are Latin letters instead of Greek ones. -\subsection{\textlambda\textomicron\textgamma\textomicron\textvarsigma{} three} -textalpha package with \textbackslash{}textgreek* macros: +\section{Macros: + \textlambda\textomicron\textgamma\textomicron\textvarsigma{}, + \lambda\omicron\gamma\omicron\varsigma{}, + λογος} + +textalpha package with \textbackslash{}textgreek* macros, +alphabeta package with \textbackslash{}alpha ... \textbackslash{}Omega macros, +and literal Greek Unicode characters (using \textbackslash{}textgreek* +macros internally). Works, if the "unicode" option is given to hyperref. (With xpdf, Greek letters are not shown in PDF bookmarks.) -\subsection{λογος four} +The generic short macros from the \emph{alphabeta} package result in +hyperref warnings: +\begin{verbatim} + Package hyperref Warning: Token not allowed in a PDF string (Unicode): + (hyperref) removing `\TextOrMath ' on input line 44. -Literal Greek Unicode characters without babel language switch. + Package hyperref Warning: Token not allowed in a PDF string (Unicode): + (hyperref) removing `\mathlambda' on input line 44. +\end{verbatim} +However, the warnings can be ignored and the output is OK. -\subsection{\foreignlanguage{greek}{λογος} five} +\section{% + Kerning: \textAlpha\textUpsilon\textLambda{} + \TextGreek{\textAlpha\textUpsilon\textLambda} + \foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}% +} -Greek language (babel) + Literal Greek Unicode characters - -\subsection{Kerning: \textAlpha\textUpsilon\textLambda{} -\textgreek{\textAlpha\textUpsilon\textLambda} -\foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}} - -Kerning is impossible, if the font encoding is switched for every single +Kerning is impossible if the font encoding is switched for every single character. Wrap the Greek part in a command switching to LGR font encoding -to fix this. - -\subsection{Conclusion} +to fix this, either \verb+\TextGreek{...}+ (with package textalpha) or +\verb+\foreignlanguage{greek}{...}+ (with babel). + +% letters of the Greek and Coptic Unicode Block supported by LGR: +\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} +\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ} + +\section{Testing supported Unicode chars} +\subsection{\GreekAndCoptic} +\subsection{\greekandcoptic} +\subsection{ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏ ἐἑἒἓἔἕἘἙἚἛἜἝ} +\subsection{ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯ ἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ} +\subsection{ὀὁὂὃὄὅὈὉὊὋὌὍ ὐὑὒὓὔὕὖὗὙὛὝὟ} +\subsection{ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯ ὰάὲέὴήὶίὸόὺύὼώ} +\subsection{ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏ ᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ} +\subsection{ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯ ᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿} +\subsection{῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏ ῐῑῒΐῖῗῘῙῚΊ῝῞῟} +\subsection{ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅` ῲῳῴῶῷῸΌῺΏῼ´῾} + +\section{Conclusion} For Greek text parts in section headers use either -literal Unicode characters or single \verb+\text...+ macros. +literal Unicode characters or macros. For proper kerning in the main document, combine this with the \verb+\textgreek+ or \verb+\foreignlanguage{greek}+ macros. - - \end{document} diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrenc.dfu.html b/Master/texmf-dist/doc/latex/lgrx/lgrenc.dfu.html index b574988f15c..5df47576842 100644 --- a/Master/texmf-dist/doc/latex/lgrx/lgrenc.dfu.html +++ b/Master/texmf-dist/doc/latex/lgrx/lgrenc.dfu.html @@ -10,7 +10,7 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $ +:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -250,10 +250,18 @@ pre.address { margin-top: 0 ; font: inherit } -pre.literal-block, pre.doctest-block, pre.math { +pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } +pre.code .ln { /* line numbers */ + color: grey; +} + +.code { + background-color: #eeeeee +} + span.classifier { font-family: sans-serif ; font-style: oblique } @@ -504,9 +512,10 @@ resulting list resembles the list-style 'outside' with a hanging indent. */ /* New ordered list: reset counter, suppress the default label */ -ol { +ol, ol.arabic, ol.loweralpha, ol.upperalpha, +ol.lowerroman, ol.upperroman { counter-reset: item; - list-style-type: none ! important; + list-style: none } /* Set the negative indent of the list label as feature of the list item */ @@ -568,6 +577,7 @@ ol.nested > li:before, ol.nested ol > li:before { dd > ul, dd > ol { padding-left: 0pt; +} /* TODO: prefix, suffix? */ @@ -687,7 +697,7 @@ div.hint, div.important, div.note, div.tip, div.warning { <div class="document" id="lgrenc-dfu-greek-unicode-support-using-lgr-fonts"> <h1 class="title">lgrenc.dfu: Greek Unicode support using LGR fonts</h1> -<dl class="docinfo simple"> +<dl class="docinfo"> <dt class="copyright">Copyright</dt> <dd class="copyright">© 2010 Günter Milde</dd> <dt>Licence</dt> @@ -695,12 +705,36 @@ div.hint, div.important, div.note, div.tip, div.warning { conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> +<dt>Identification</dt> +<dd><pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2012/07/03 0.2 UTF-8 support for Greek] +</pre> +<p>This package is part of the <a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle.</p> +</dd> </dl> -<p>Based on a <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg, with input from the ucs +<p>Based on a <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg, with input from the <a class="reference external" href="http://www.ctan.org/pkg/ucs">ucs</a> package (<tt class="literal">ucsencs.def</tt>) by Dominique Unruh and <tt class="literal">CB.enc</tt> by Apostolos Syropoulos.</p> -<pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2010/06/15 0.1 UTF-8 support for Greek] -</pre> +<dl class="docutils"> +<dt>Changelog:</dt> +<dd><table class="borderless"> +<colgroup> +<col width="14%" /> +<col width="7%" /> +<col width="79%" /> +</colgroup> +<tbody valign="top"> +<tr><td><p>2010-06-16</p></td> +<td><p>0.1</p></td> +<td><p>initial version</p></td> +</tr> +<tr><td><p>2012-06-27</p></td> +<td><p>0.2</p></td> +<td><p>support for accented Greek characters with <a class="reference external" href="textalpha.sty.html">textalpha</a></p></td> +</tr> +</tbody> +</table> +</dd> +</dl> <div class="section" id="usage"> <h1>Usage</h1> <p>Requires extended font encoding definitions from <tt class="literal">lgrxenc.def</tt>:</p> @@ -708,12 +742,24 @@ Apostolos Syropoulos.</p> <p><tt class="literal"><span class="pre">\usepackage[LGRx,T1]{fontenc}</span></tt> % define LGR and T1 encodings <tt class="literal"><span class="pre">\usepackage[utf8]{inputenc}</span></tt> % standard UTF-8 input encoding</p> </blockquote> -<p>Note: as the LGRx option define the <tt class="literal">LGR</tt> (not <tt class="literal">LGRx</tt>) font +<div class="note"> +<p class="admonition-title">Note</p> +<p>as the LGRx option define the <tt class="literal">LGR</tt> (not <tt class="literal">LGRx</tt>) font encoding, it cannot be given as last option! Use, e.g., <tt class="literal"><span class="pre">\usepackage[LGRx,T1,LGR]{fontenc}</span></tt> to make LGR the default.</p> -<p>All text containing Greek Unicode characters must be marked as -requiring the LGR font encoding (either directly or by setting the -language to <tt class="literal">greek</tt> or <tt class="literal">polutonikogreek</tt>).</p> +</div> +<p>By default, text containing Greek Unicode characters must be marked as +requiring a font encoding that supports Greek script, e.g. by setting the +language to <tt class="literal">greek</tt> or <tt class="literal">polutonikogreek</tt>. This is a generic feature of +<a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a>'s <cite>utf8</cite> option (an equivalent restriction holds for the Cyrillic +script).</p> +<p>With the <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages of this bundle, Greek Unicode +literals can be used without special markup also in non-Greek documents:</p> +<blockquote> +<p><tt class="literal"><span class="pre">\usepackage[utf8]{inputenc}</span></tt> % standard UTF-8 input encoding +<tt class="literal"><span class="pre">\usepackage[T1]{fontenc}</span></tt> % use T1 font encoding as default +<tt class="literal">\usepackage{textalpha}</tt> % also loads lgrxenc.def</p> +</blockquote> </div> <div class="section" id="character-declarations"> <h1>Character Declarations</h1> @@ -758,389 +804,394 @@ files.</p> <pre class="literal-block">\DeclareUnicodeCharacter{20AC}{\texteuro} % € </pre> </div> -<div class="section" id="letterlike-symbols"> -<h2>Letterlike Symbols</h2> -<pre class="literal-block">%% TODO: define this (as it looks like) or not (as it is not the same)? -% \DeclareUnicodeCharacter{2126}{\textohm} % Ω (Ohm sign ≠ Omega) -</pre> -</div> <div class="section" id="greek-and-coptic"> <h2>Greek and Coptic</h2> -<pre class="literal-block">% NR Unicode Name % UCS-name, PU-(hyperre)-fname -% 0370 GREEK CAPITAL LETTER HETA % Ͱ -% 0371 GREEK SMALL LETTER HETA % ͱ -% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ -% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ -\DeclareUnicodeCharacter{0374}{\anwtonos} % ʹ \textdexiakeraia, \textnumeralsigngreek -\DeclareUnicodeCharacter{0375}{\katwtonos} % ͵ \textaristerikeraia, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - -\DeclareUnicodeCharacter{037A}{\textcompwordmark\Ypogegrammeni} % ͺ \textsubiota{\empty} -% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % -% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % -% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % -\DeclareUnicodeCharacter{037E}{\erotimatiko} % ; \textquestion - -\DeclareUnicodeCharacter{0384}{\@tabacckludge'\textcompwordmark} % ΄ -\DeclareUnicodeCharacter{0385}{\"'\textcompwordmark} % ΅ \textdialytikatonos{\empty} -\DeclareUnicodeCharacter{0386}{\@tabacckludge'\textAlpha} % Ά -\DeclareUnicodeCharacter{0387}{\anoteleia} % · \textanoteleia -\DeclareUnicodeCharacter{0388}{\@tabacckludge'\textEpsilon} % Έ -\DeclareUnicodeCharacter{0389}{\@tabacckludge'\textEta} % Ή -\DeclareUnicodeCharacter{038A}{\@tabacckludge'\textIota} % Ί -\DeclareUnicodeCharacter{038C}{\@tabacckludge'\textOmicron} % Ό -\DeclareUnicodeCharacter{038E}{\@tabacckludge'\textUpsilon} % Ύ -\DeclareUnicodeCharacter{038F}{\@tabacckludge'\textOmega} % Ώ -\DeclareUnicodeCharacter{0390}{\"'\textiota} % ΐ \textdialytikatonos\textiota - -\DeclareUnicodeCharacter{0391}{\textAlpha} % Α -\DeclareUnicodeCharacter{0392}{\textBeta} % Β -\DeclareUnicodeCharacter{0393}{\textGamma} % Γ -\DeclareUnicodeCharacter{0394}{\textDelta} % Δ -\DeclareUnicodeCharacter{0395}{\textEpsilon} % Ε -\DeclareUnicodeCharacter{0396}{\textZeta} % Ζ -\DeclareUnicodeCharacter{0397}{\textEta} % Η -\DeclareUnicodeCharacter{0398}{\textTheta} % Θ -\DeclareUnicodeCharacter{0399}{\textIota} % Ι -\DeclareUnicodeCharacter{039A}{\textKappa} % Κ -\DeclareUnicodeCharacter{039B}{\textLambda} % Λ -\DeclareUnicodeCharacter{039C}{\textMu} % Μ -\DeclareUnicodeCharacter{039D}{\textNu} % Ν -\DeclareUnicodeCharacter{039E}{\textXi} % Ξ -\DeclareUnicodeCharacter{039F}{\textOmicron} % Ο -\DeclareUnicodeCharacter{03A0}{\textPi} % Π -\DeclareUnicodeCharacter{03A1}{\textRho} % Ρ -\DeclareUnicodeCharacter{03A3}{\textSigma} % Σ -\DeclareUnicodeCharacter{03A4}{\textTau} % Τ -\DeclareUnicodeCharacter{03A5}{\textUpsilon} % Υ -\DeclareUnicodeCharacter{03A6}{\textPhi} % Φ -\DeclareUnicodeCharacter{03A7}{\textChi} % Χ -\DeclareUnicodeCharacter{03A8}{\textPsi} % Ψ -\DeclareUnicodeCharacter{03A9}{\textOmega} % Ω - -\DeclareUnicodeCharacter{03AA}{\"\textIota} % Ϊ -\DeclareUnicodeCharacter{03AB}{\"\textUpsilon} % Ϋ -\DeclareUnicodeCharacter{03AC}{\@tabacckludge'\textalpha} % ά -\DeclareUnicodeCharacter{03AD}{\@tabacckludge'\textepsilon} % έ -\DeclareUnicodeCharacter{03AE}{\@tabacckludge'\texteta} % ή -\DeclareUnicodeCharacter{03AF}{\@tabacckludge'\textiota} % ί -\DeclareUnicodeCharacter{03B0}{\"'\textupsilon} % ΰ \textdialytikatonos\textupsilon, \"\textupsilonacute - -\DeclareUnicodeCharacter{03B1}{\textalpha} % α -\DeclareUnicodeCharacter{03B2}{\textbeta} % β -\DeclareUnicodeCharacter{03B3}{\textgamma} % γ -\DeclareUnicodeCharacter{03B4}{\textdelta} % δ -\DeclareUnicodeCharacter{03B5}{\textepsilon} % ε -\DeclareUnicodeCharacter{03B6}{\textzeta} % ζ -\DeclareUnicodeCharacter{03B7}{\texteta} % η -\DeclareUnicodeCharacter{03B8}{\texttheta} % θ -\DeclareUnicodeCharacter{03B9}{\textiota} % ι -\DeclareUnicodeCharacter{03BA}{\textkappa} % κ -\DeclareUnicodeCharacter{03BB}{\textlambda} % λ -\DeclareUnicodeCharacter{03BC}{\textmu} % μ \textmu, \textmugreek -\DeclareUnicodeCharacter{03BD}{\textnu} % ν -\DeclareUnicodeCharacter{03BE}{\textxi} % ξ -\DeclareUnicodeCharacter{03BF}{\textomicron} % ο -\DeclareUnicodeCharacter{03C0}{\textpi} % π -\DeclareUnicodeCharacter{03C1}{\textrho} % ρ -\DeclareUnicodeCharacter{03C2}{\textvarsigma} % ς -\DeclareUnicodeCharacter{03C3}{\textsigma} % σ -\DeclareUnicodeCharacter{03C4}{\texttau} % τ -\DeclareUnicodeCharacter{03C5}{\textupsilon} % υ -\DeclareUnicodeCharacter{03C6}{\textphi} % φ -\DeclareUnicodeCharacter{03C7}{\textchi} % χ -\DeclareUnicodeCharacter{03C8}{\textpsi} % ψ -\DeclareUnicodeCharacter{03C9}{\textomega} % ω - -\DeclareUnicodeCharacter{03CA}{\"\textiota} % ϊ -\DeclareUnicodeCharacter{03CB}{\"\textupsilon} % ϋ -\DeclareUnicodeCharacter{03CC}{\@tabacckludge'\textomicron} % ό -\DeclareUnicodeCharacter{03CD}{\@tabacckludge'\textupsilon} % ύ -\DeclareUnicodeCharacter{03CE}{\@tabacckludge'\textomega} % ώ - -\DeclareUnicodeCharacter{03D8}{\Qoppa} % Ϙ -\DeclareUnicodeCharacter{03D9}{\qoppa} % ϙ -\DeclareUnicodeCharacter{03DA}{\Stigma} % Ϛ \textStigmagreek -\DeclareUnicodeCharacter{03DB}{\stigma} % ϛ \textstigma \textstigmagreek -\DeclareUnicodeCharacter{03DC}{\Digamma} % Ϝ \textDigamma \textDigammagreek -\DeclareUnicodeCharacter{03DD}{\ddigamma} % ϝ \textdigamma \textdigammagreek -%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek -\DeclareUnicodeCharacter{03DF}{\koppa} % ϟ \textqoppa [sic!] \textkoppagreek -\DeclareUnicodeCharacter{03E0}{\Sampi} % Ϡ \textSampigreek -\DeclareUnicodeCharacter{03E1}{\sampi} % ϡ \textsanpi \textsampigreek +<p>When there are different names for a Greek letter, use the one from +PUenc.dfu (hyperref's PDF-Unicode encoding) as this is the one most likely +to be used together with this file.</p> +<p>Use <tt class="literal">\TextGreek</tt> for compound definitions of Unicode characters to make +sure accented characters work in any font encoding if the <a class="reference external" href="textalpha.sty.html">textalpha</a> package +is used:</p> +<pre class="literal-block">% NR Unicode Name % babel name, UCS name +% 0370 GREEK CAPITAL LETTER HETA % Ͱ +% 0371 GREEK SMALL LETTER HETA % ͱ +% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ +% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ +\DeclareUnicodeCharacter{0374}{\textnumeralsigngreek} % ʹ \anwtonos, \textdexiakeraia +\DeclareUnicodeCharacter{0375}{\textnumeralsignlowergreek} % ͵ \katwtonos, \textaristerikeraia, +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ + +\DeclareUnicodeCharacter{037A}{\textcompwordmark\Ypogegrammeni} % ͺ \textsubiota{\empty} +% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % +% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % +% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % +\DeclareUnicodeCharacter{037E}{\erotimatiko} % ; \textquestion + +\DeclareUnicodeCharacter{0384}{\TextGreek{\@tabacckludge'\textcompwordmark}} % ΄ +\DeclareUnicodeCharacter{0385}{\TextGreek{\"'\textcompwordmark}} % ΅ \textdialytikatonos{\empty}} +\DeclareUnicodeCharacter{0386}{\TextGreek{\@tabacckludge'\textAlpha}} % Ά +\DeclareUnicodeCharacter{0387}{\anoteleia} % · \textanoteleia +\DeclareUnicodeCharacter{0388}{\TextGreek{\@tabacckludge'\textEpsilon}} % Έ +\DeclareUnicodeCharacter{0389}{\TextGreek{\@tabacckludge'\textEta}} % Ή +\DeclareUnicodeCharacter{038A}{\TextGreek{\@tabacckludge'\textIota}} % Ί +\DeclareUnicodeCharacter{038C}{\TextGreek{\@tabacckludge'\textOmicron}} % Ό +\DeclareUnicodeCharacter{038E}{\TextGreek{\@tabacckludge'\textUpsilon}} % Ύ +\DeclareUnicodeCharacter{038F}{\TextGreek{\@tabacckludge'\textOmega}} % Ώ +\DeclareUnicodeCharacter{0390}{\TextGreek{\"'\textiota}} % ΐ \textdialytikatonos\textiota + +\DeclareUnicodeCharacter{0391}{\textAlpha} % Α +\DeclareUnicodeCharacter{0392}{\textBeta} % Β +\DeclareUnicodeCharacter{0393}{\textGamma} % Γ +\DeclareUnicodeCharacter{0394}{\textDelta} % Δ +\DeclareUnicodeCharacter{0395}{\textEpsilon} % Ε +\DeclareUnicodeCharacter{0396}{\textZeta} % Ζ +\DeclareUnicodeCharacter{0397}{\textEta} % Η +\DeclareUnicodeCharacter{0398}{\textTheta} % Θ +\DeclareUnicodeCharacter{0399}{\textIota} % Ι +\DeclareUnicodeCharacter{039A}{\textKappa} % Κ +\DeclareUnicodeCharacter{039B}{\textLambda} % Λ +\DeclareUnicodeCharacter{039C}{\textMu} % Μ +\DeclareUnicodeCharacter{039D}{\textNu} % Ν +\DeclareUnicodeCharacter{039E}{\textXi} % Ξ +\DeclareUnicodeCharacter{039F}{\textOmicron} % Ο +\DeclareUnicodeCharacter{03A0}{\textPi} % Π +\DeclareUnicodeCharacter{03A1}{\textRho} % Ρ +\DeclareUnicodeCharacter{03A3}{\textSigma} % Σ +\DeclareUnicodeCharacter{03A4}{\textTau} % Τ +\DeclareUnicodeCharacter{03A5}{\textUpsilon} % Υ +\DeclareUnicodeCharacter{03A6}{\textPhi} % Φ +\DeclareUnicodeCharacter{03A7}{\textChi} % Χ +\DeclareUnicodeCharacter{03A8}{\textPsi} % Ψ +\DeclareUnicodeCharacter{03A9}{\textOmega} % Ω + +\DeclareUnicodeCharacter{03AA}{\TextGreek{\"\textIota}} % Ϊ +\DeclareUnicodeCharacter{03AB}{\TextGreek{\"\textUpsilon}} % Ϋ +\DeclareUnicodeCharacter{03AC}{\TextGreek{\@tabacckludge'\textalpha}} % ά +\DeclareUnicodeCharacter{03AD}{\TextGreek{\@tabacckludge'\textepsilon}} % έ +\DeclareUnicodeCharacter{03AE}{\TextGreek{\@tabacckludge'\texteta}} % ή +\DeclareUnicodeCharacter{03AF}{\TextGreek{\@tabacckludge'\textiota}} % ί +\DeclareUnicodeCharacter{03B0}{\TextGreek{\"'\textupsilon}} % ΰ \textdialytikatonos\textupsilon, \"\textupsilonacute + +\DeclareUnicodeCharacter{03B1}{\textalpha} % α +\DeclareUnicodeCharacter{03B2}{\textbeta} % β +\DeclareUnicodeCharacter{03B3}{\textgamma} % γ +\DeclareUnicodeCharacter{03B4}{\textdelta} % δ +\DeclareUnicodeCharacter{03B5}{\textepsilon} % ε +\DeclareUnicodeCharacter{03B6}{\textzeta} % ζ +\DeclareUnicodeCharacter{03B7}{\texteta} % η +\DeclareUnicodeCharacter{03B8}{\texttheta} % θ +\DeclareUnicodeCharacter{03B9}{\textiota} % ι +\DeclareUnicodeCharacter{03BA}{\textkappa} % κ +\DeclareUnicodeCharacter{03BB}{\textlambda} % λ +\DeclareUnicodeCharacter{03BC}{\textmu} % μ \textmu, \textmugreek +\DeclareUnicodeCharacter{03BD}{\textnu} % ν +\DeclareUnicodeCharacter{03BE}{\textxi} % ξ +\DeclareUnicodeCharacter{03BF}{\textomicron} % ο +\DeclareUnicodeCharacter{03C0}{\textpi} % π +\DeclareUnicodeCharacter{03C1}{\textrho} % ρ +\DeclareUnicodeCharacter{03C2}{\textvarsigma} % ς +\DeclareUnicodeCharacter{03C3}{\textsigma} % σ +\DeclareUnicodeCharacter{03C4}{\texttau} % τ +\DeclareUnicodeCharacter{03C5}{\textupsilon} % υ +\DeclareUnicodeCharacter{03C6}{\textphi} % φ +\DeclareUnicodeCharacter{03C7}{\textchi} % χ +\DeclareUnicodeCharacter{03C8}{\textpsi} % ψ +\DeclareUnicodeCharacter{03C9}{\textomega} % ω + +\DeclareUnicodeCharacter{03CA}{\TextGreek{\"\textiota}} % ϊ +\DeclareUnicodeCharacter{03CB}{\TextGreek{\"\textupsilon}} % ϋ +\DeclareUnicodeCharacter{03CC}{\TextGreek{\@tabacckludge'\textomicron}} % ό +\DeclareUnicodeCharacter{03CD}{\TextGreek{\@tabacckludge'\textupsilon}} % ύ +\DeclareUnicodeCharacter{03CE}{\TextGreek{\@tabacckludge'\textomega}} % ώ + +\DeclareUnicodeCharacter{03D8}{\Qoppa} % Ϙ +\DeclareUnicodeCharacter{03D9}{\qoppa} % ϙ +\DeclareUnicodeCharacter{03DA}{\textStigmagreek} % Ϛ \Stigma +\DeclareUnicodeCharacter{03DB}{\textstigmagreek} % ϛ \stigma, \textstigma +\DeclareUnicodeCharacter{03DC}{\textDigammagreek} % Ϝ \Digamma, \textDigamma +\DeclareUnicodeCharacter{03DD}{\textdigammagreek} % ϝ \ddigamma, \textdigamma +%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek +\DeclareUnicodeCharacter{03DF}{\textkoppagreek} % ϟ \koppa, \textqoppa [sic!] +\DeclareUnicodeCharacter{03E0}{\textSampigreek} % Ϡ \Sampi +\DeclareUnicodeCharacter{03E1}{\textsampigreek} % ϡ \sampi, \textsampi </pre> </div> <div class="section" id="greek-extended"> <h2>Greek Extended</h2> -<pre class="literal-block">\DeclareUnicodeCharacter{1F00}{\@tabacckludge>\textalpha} % ἀ -\DeclareUnicodeCharacter{1F01}{\@tabacckludge<\textalpha} % ἁ -\DeclareUnicodeCharacter{1F02}{\@tabacckludge>`\textalpha} % ἂ -\DeclareUnicodeCharacter{1F03}{\@tabacckludge<`\textalpha} % ἃ -\DeclareUnicodeCharacter{1F04}{\@tabacckludge>'\textalpha} % ἄ -\DeclareUnicodeCharacter{1F05}{\@tabacckludge<'\textalpha} % ἅ -\DeclareUnicodeCharacter{1F06}{\@tabacckludge>~\textalpha} % ἆ -\DeclareUnicodeCharacter{1F07}{\@tabacckludge<\~\textalpha} % ἇ -\DeclareUnicodeCharacter{1F08}{\@tabacckludge>\textAlpha} % Ἀ -\DeclareUnicodeCharacter{1F09}{\@tabacckludge<\textAlpha} % Ἁ -\DeclareUnicodeCharacter{1F0A}{\@tabacckludge>`\textAlpha} % Ἂ -\DeclareUnicodeCharacter{1F0B}{\@tabacckludge<`\textAlpha} % Ἃ -\DeclareUnicodeCharacter{1F0C}{\@tabacckludge>'\textAlpha} % Ἄ -\DeclareUnicodeCharacter{1F0D}{\@tabacckludge<'\textAlpha} % Ἅ -\DeclareUnicodeCharacter{1F0E}{\@tabacckludge>~\textAlpha} % Ἆ -\DeclareUnicodeCharacter{1F0F}{\@tabacckludge<\~\textAlpha} % Ἇ - -\DeclareUnicodeCharacter{1F10}{\@tabacckludge>\textepsilon} % ἐ -\DeclareUnicodeCharacter{1F11}{\@tabacckludge<\textepsilon} % ἑ -\DeclareUnicodeCharacter{1F12}{\@tabacckludge>`\textepsilon} % ἒ -\DeclareUnicodeCharacter{1F13}{\@tabacckludge<`\textepsilon} % ἓ -\DeclareUnicodeCharacter{1F14}{\@tabacckludge>'\textepsilon} % ἔ -\DeclareUnicodeCharacter{1F15}{\@tabacckludge<'\textepsilon} % ἕ -\DeclareUnicodeCharacter{1F18}{\@tabacckludge>\textEpsilon} % Ἐ -\DeclareUnicodeCharacter{1F19}{\@tabacckludge<\textEpsilon} % Ἑ -\DeclareUnicodeCharacter{1F1A}{\@tabacckludge>`\textEpsilon} % Ἒ -\DeclareUnicodeCharacter{1F1B}{\@tabacckludge<`\textEpsilon} % Ἓ -\DeclareUnicodeCharacter{1F1C}{\@tabacckludge>'\textEpsilon} % Ἔ -\DeclareUnicodeCharacter{1F1D}{\@tabacckludge<'\textEpsilon} % Ἕ - -\DeclareUnicodeCharacter{1F20}{\@tabacckludge>\texteta} % ἠ -\DeclareUnicodeCharacter{1F21}{\@tabacckludge<\texteta} % ἡ -\DeclareUnicodeCharacter{1F22}{\@tabacckludge>`\texteta} % ἢ -\DeclareUnicodeCharacter{1F23}{\@tabacckludge<`\texteta} % ἣ -\DeclareUnicodeCharacter{1F24}{\@tabacckludge>'\texteta} % ἤ -\DeclareUnicodeCharacter{1F25}{\@tabacckludge<'\texteta} % ἥ -\DeclareUnicodeCharacter{1F26}{\@tabacckludge>~\texteta} % ἦ -\DeclareUnicodeCharacter{1F27}{\@tabacckludge<\~\texteta} % ἧ -\DeclareUnicodeCharacter{1F28}{\@tabacckludge>\textEta} % Ἠ -\DeclareUnicodeCharacter{1F29}{\@tabacckludge<\textEta} % Ἡ -\DeclareUnicodeCharacter{1F2A}{\@tabacckludge>`\textEta} % Ἢ -\DeclareUnicodeCharacter{1F2B}{\@tabacckludge<`\textEta} % Ἣ -\DeclareUnicodeCharacter{1F2C}{\@tabacckludge>'\textEta} % Ἤ -\DeclareUnicodeCharacter{1F2D}{\@tabacckludge<'\textEta} % Ἥ -\DeclareUnicodeCharacter{1F2E}{\@tabacckludge>~\textEta} % Ἦ -\DeclareUnicodeCharacter{1F2F}{\@tabacckludge<\~\textEta} % Ἧ - -\DeclareUnicodeCharacter{1F30}{\@tabacckludge>\textiota} % ἰ -\DeclareUnicodeCharacter{1F31}{\@tabacckludge<\textiota} % ἱ -\DeclareUnicodeCharacter{1F32}{\@tabacckludge>`\textiota} % ἲ -\DeclareUnicodeCharacter{1F33}{\@tabacckludge<`\textiota} % ἳ -\DeclareUnicodeCharacter{1F34}{\@tabacckludge>'\textiota} % ἴ -\DeclareUnicodeCharacter{1F35}{\@tabacckludge<'\textiota} % ἵ -\DeclareUnicodeCharacter{1F36}{\@tabacckludge>~\textiota} % ἶ -\DeclareUnicodeCharacter{1F37}{\@tabacckludge<\~\textiota} % ἷ -\DeclareUnicodeCharacter{1F38}{\@tabacckludge>\textIota} % Ἰ -\DeclareUnicodeCharacter{1F39}{\@tabacckludge<\textIota} % Ἱ -\DeclareUnicodeCharacter{1F3A}{\@tabacckludge>`\textIota} % Ἲ -\DeclareUnicodeCharacter{1F3B}{\@tabacckludge<`\textIota} % Ἳ -\DeclareUnicodeCharacter{1F3C}{\@tabacckludge>'\textIota} % Ἴ -\DeclareUnicodeCharacter{1F3D}{\@tabacckludge<'\textIota} % Ἵ -\DeclareUnicodeCharacter{1F3E}{\@tabacckludge>~\textIota} % Ἶ -\DeclareUnicodeCharacter{1F3F}{\@tabacckludge<\~\textIota} % Ἷ - -\DeclareUnicodeCharacter{1F40}{\@tabacckludge>\textomicron} % ὀ -\DeclareUnicodeCharacter{1F41}{\@tabacckludge<\textomicron} % ὁ -\DeclareUnicodeCharacter{1F42}{\@tabacckludge>`\textomicron} % ὂ -\DeclareUnicodeCharacter{1F43}{\@tabacckludge<`\textomicron} % ὃ -\DeclareUnicodeCharacter{1F44}{\@tabacckludge>'\textomicron} % ὄ -\DeclareUnicodeCharacter{1F45}{\@tabacckludge<'\textomicron} % ὅ -\DeclareUnicodeCharacter{1F48}{\@tabacckludge>\textOmicron} % Ὀ -\DeclareUnicodeCharacter{1F49}{\@tabacckludge<\textOmicron} % Ὁ -\DeclareUnicodeCharacter{1F4A}{\@tabacckludge>`\textOmicron} % Ὂ -\DeclareUnicodeCharacter{1F4B}{\@tabacckludge<`\textOmicron} % Ὃ -\DeclareUnicodeCharacter{1F4C}{\@tabacckludge>'\textOmicron} % Ὄ -\DeclareUnicodeCharacter{1F4D}{\@tabacckludge<'\textOmicron} % Ὅ - -\DeclareUnicodeCharacter{1F50}{\@tabacckludge>\textupsilon} % ὐ -\DeclareUnicodeCharacter{1F51}{\@tabacckludge<\textupsilon} % ὑ -\DeclareUnicodeCharacter{1F52}{\@tabacckludge>`\textupsilon} % ὒ -\DeclareUnicodeCharacter{1F53}{\@tabacckludge<`\textupsilon} % ὓ -\DeclareUnicodeCharacter{1F54}{\@tabacckludge>'\textupsilon} % ὔ -\DeclareUnicodeCharacter{1F55}{\@tabacckludge<'\textupsilon} % ὕ -\DeclareUnicodeCharacter{1F56}{\@tabacckludge>~\textupsilon} % ὖ -\DeclareUnicodeCharacter{1F57}{\@tabacckludge<\~\textupsilon} % ὗ -\DeclareUnicodeCharacter{1F59}{\@tabacckludge<\textUpsilon} % Ὑ -\DeclareUnicodeCharacter{1F5B}{\@tabacckludge<`\textUpsilon} % Ὓ -\DeclareUnicodeCharacter{1F5D}{\@tabacckludge<'\textUpsilon} % Ὕ -\DeclareUnicodeCharacter{1F5F}{\@tabacckludge<\~\textUpsilon} % Ὗ - -\DeclareUnicodeCharacter{1F60}{\@tabacckludge>\textomega} % ὠ -\DeclareUnicodeCharacter{1F61}{\@tabacckludge<\textomega} % ὡ -\DeclareUnicodeCharacter{1F62}{\@tabacckludge>`\textomega} % ὢ -\DeclareUnicodeCharacter{1F63}{\@tabacckludge<`\textomega} % ὣ -\DeclareUnicodeCharacter{1F64}{\@tabacckludge>'\textomega} % ὤ -\DeclareUnicodeCharacter{1F65}{\@tabacckludge<'\textomega} % ὥ -\DeclareUnicodeCharacter{1F66}{\@tabacckludge>~\textomega} % ὦ -\DeclareUnicodeCharacter{1F67}{\@tabacckludge<\~\textomega} % ὧ -\DeclareUnicodeCharacter{1F68}{\@tabacckludge>\textOmega} % Ὠ -\DeclareUnicodeCharacter{1F69}{\@tabacckludge<\textOmega} % Ὡ -\DeclareUnicodeCharacter{1F6A}{\@tabacckludge>`\textOmega} % Ὢ -\DeclareUnicodeCharacter{1F6B}{\@tabacckludge<`\textOmega} % Ὣ -\DeclareUnicodeCharacter{1F6C}{\@tabacckludge>'\textOmega} % Ὤ -\DeclareUnicodeCharacter{1F6D}{\@tabacckludge<'\textOmega} % Ὥ -\DeclareUnicodeCharacter{1F6E}{\@tabacckludge>~\textOmega} % Ὦ -\DeclareUnicodeCharacter{1F6F}{\@tabacckludge<\~\textOmega} % Ὧ - -\DeclareUnicodeCharacter{1F70}{\@tabacckludge`\textalpha} % ὰ -\DeclareUnicodeCharacter{1F71}{\@tabacckludge'\textalpha} % ά -\DeclareUnicodeCharacter{1F72}{\@tabacckludge`\textepsilon} % ὲ -\DeclareUnicodeCharacter{1F73}{\@tabacckludge'\textepsilon} % έ -\DeclareUnicodeCharacter{1F74}{\@tabacckludge`\texteta} % ὴ -\DeclareUnicodeCharacter{1F75}{\@tabacckludge'\texteta} % ή -\DeclareUnicodeCharacter{1F76}{\@tabacckludge`\textiota} % ὶ -\DeclareUnicodeCharacter{1F77}{\@tabacckludge'\textiota} % ί -\DeclareUnicodeCharacter{1F78}{\@tabacckludge`\textomicron} % ὸ -\DeclareUnicodeCharacter{1F79}{\@tabacckludge'\textomicron} % ό -\DeclareUnicodeCharacter{1F7A}{\@tabacckludge`\textupsilon} % ὺ -\DeclareUnicodeCharacter{1F7B}{\@tabacckludge'\textupsilon} % ύ -\DeclareUnicodeCharacter{1F7C}{\@tabacckludge`\textomega} % ὼ -\DeclareUnicodeCharacter{1F7D}{\@tabacckludge'\textomega} % ώ - -\DeclareUnicodeCharacter{1F80}{\@tabacckludge>\textalpha|} % ᾀ -\DeclareUnicodeCharacter{1F81}{\@tabacckludge<\textalpha|} % ᾁ -\DeclareUnicodeCharacter{1F82}{\@tabacckludge>`\textalpha|} % ᾂ -\DeclareUnicodeCharacter{1F83}{\@tabacckludge<`\textalpha|} % ᾃ -\DeclareUnicodeCharacter{1F84}{\@tabacckludge>'\textalpha|} % ᾄ -\DeclareUnicodeCharacter{1F85}{\@tabacckludge<'\textalpha|} % ᾅ -\DeclareUnicodeCharacter{1F86}{\@tabacckludge>~\textalpha|} % ᾆ -\DeclareUnicodeCharacter{1F87}{\@tabacckludge<\~\textalpha|} % ᾇ -\DeclareUnicodeCharacter{1F88}{\@tabacckludge>\textAlpha|} % ᾈ -\DeclareUnicodeCharacter{1F89}{\@tabacckludge<\textAlpha|} % ᾉ -\DeclareUnicodeCharacter{1F8A}{\@tabacckludge>`\textAlpha|} % ᾊ -\DeclareUnicodeCharacter{1F8B}{\@tabacckludge<`\textAlpha|} % ᾋ -\DeclareUnicodeCharacter{1F8C}{\@tabacckludge>'\textAlpha|} % ᾌ -\DeclareUnicodeCharacter{1F8D}{\@tabacckludge<'\textAlpha|} % ᾍ -\DeclareUnicodeCharacter{1F8E}{\@tabacckludge>~\textAlpha|} % ᾎ -\DeclareUnicodeCharacter{1F8F}{\@tabacckludge<\~\textAlpha|} % ᾏ - -\DeclareUnicodeCharacter{1F90}{\@tabacckludge>\texteta|} % ᾐ -\DeclareUnicodeCharacter{1F91}{\@tabacckludge<\texteta|} % ᾑ -\DeclareUnicodeCharacter{1F92}{\@tabacckludge>`\texteta|} % ᾒ -\DeclareUnicodeCharacter{1F93}{\@tabacckludge<`\texteta|} % ᾓ -\DeclareUnicodeCharacter{1F94}{\@tabacckludge>'\texteta|} % ᾔ -\DeclareUnicodeCharacter{1F95}{\@tabacckludge<'\texteta|} % ᾕ -\DeclareUnicodeCharacter{1F96}{\@tabacckludge>~\texteta|} % ᾖ -\DeclareUnicodeCharacter{1F97}{\@tabacckludge<\~\texteta|} % ᾗ -\DeclareUnicodeCharacter{1F98}{\@tabacckludge>\textEta|} % ᾘ -\DeclareUnicodeCharacter{1F99}{\@tabacckludge<\textEta|} % ᾙ -\DeclareUnicodeCharacter{1F9A}{\@tabacckludge>`\textEta|} % ᾚ -\DeclareUnicodeCharacter{1F9B}{\@tabacckludge<`\textEta|} % ᾛ -\DeclareUnicodeCharacter{1F9C}{\@tabacckludge>'\textEta|} % ᾜ -\DeclareUnicodeCharacter{1F9D}{\@tabacckludge<'\textEta|} % ᾝ -\DeclareUnicodeCharacter{1F9E}{\@tabacckludge>~\textEta|} % ᾞ -\DeclareUnicodeCharacter{1F9F}{\@tabacckludge<\~\textEta|} % ᾟ - -\DeclareUnicodeCharacter{1FA0}{\@tabacckludge>\textomega|} % ᾠ -\DeclareUnicodeCharacter{1FA1}{\@tabacckludge<\textomega|} % ᾡ -\DeclareUnicodeCharacter{1FA2}{\@tabacckludge>`\textomega|} % ᾢ -\DeclareUnicodeCharacter{1FA3}{\@tabacckludge<`\textomega|} % ᾣ -\DeclareUnicodeCharacter{1FA4}{\@tabacckludge>'\textomega|} % ᾤ -\DeclareUnicodeCharacter{1FA5}{\@tabacckludge<'\textomega|} % ᾥ -\DeclareUnicodeCharacter{1FA6}{\@tabacckludge>~\textomega|} % ᾦ -\DeclareUnicodeCharacter{1FA7}{\@tabacckludge<\~\textomega|} % ᾧ -\DeclareUnicodeCharacter{1FA8}{\@tabacckludge>\textOmega|} % ᾨ -\DeclareUnicodeCharacter{1FA9}{\@tabacckludge<\textOmega|} % ᾩ -\DeclareUnicodeCharacter{1FAA}{\@tabacckludge>`\textOmega|} % ᾪ -\DeclareUnicodeCharacter{1FAB}{\@tabacckludge<`\textOmega|} % ᾫ -\DeclareUnicodeCharacter{1FAC}{\@tabacckludge>'\textOmega|} % ᾬ -\DeclareUnicodeCharacter{1FAD}{\@tabacckludge<'\textOmega|} % ᾭ -\DeclareUnicodeCharacter{1FAE}{\@tabacckludge>~\textOmega|} % ᾮ -\DeclareUnicodeCharacter{1FAF}{\@tabacckludge<\~\textOmega|} % ᾯ - -\DeclareUnicodeCharacter{1FB0}{\u\textalpha} % ᾰ -\DeclareUnicodeCharacter{1FB1}{\@tabacckludge=\textalpha} % ᾱ -\DeclareUnicodeCharacter{1FB2}{\@tabacckludge`\textalpha|} % ᾲ -\DeclareUnicodeCharacter{1FB3}{\textalpha|} % ᾳ -\DeclareUnicodeCharacter{1FB4}{\@tabacckludge'\textalpha|} % ᾴ -\DeclareUnicodeCharacter{1FB6}{\~\textalpha} % ᾶ -\DeclareUnicodeCharacter{1FB7}{\~\textalpha|} % ᾷ -\DeclareUnicodeCharacter{1FB8}{\u\textAlpha} % Ᾰ -\DeclareUnicodeCharacter{1FB9}{\@tabacckludge=\textAlpha} % Ᾱ -\DeclareUnicodeCharacter{1FBA}{\@tabacckludge`\textAlpha} % Ὰ -\DeclareUnicodeCharacter{1FBB}{\@tabacckludge'\textAlpha} % Ά -\DeclareUnicodeCharacter{1FBC}{\textAlpha|} % ᾼ -\DeclareUnicodeCharacter{1FBD}{\@tabacckludge>\textcompwordmark} % ᾽ -\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\Prosgegrammeni} % ι -\DeclareUnicodeCharacter{1FBF}{\@tabacckludge>\textcompwordmark} % ᾿ - -\DeclareUnicodeCharacter{1FC0}{\~\textcompwordmark} % ῀ -\DeclareUnicodeCharacter{1FC1}{\"\~\textcompwordmark} % ῁ -\DeclareUnicodeCharacter{1FC2}{\@tabacckludge`\texteta|} % ῂ -\DeclareUnicodeCharacter{1FC3}{\texteta|} % ῃ -\DeclareUnicodeCharacter{1FC4}{\@tabacckludge'\texteta|} % ῄ -\DeclareUnicodeCharacter{1FC6}{\~\texteta} % ῆ -\DeclareUnicodeCharacter{1FC7}{\~\texteta|} % ῇ -\DeclareUnicodeCharacter{1FC8}{\@tabacckludge`\textEpsilon} % Ὲ -\DeclareUnicodeCharacter{1FC9}{\@tabacckludge'\textEpsilon} % Έ -\DeclareUnicodeCharacter{1FCA}{\@tabacckludge`\textEta} % Ὴ -\DeclareUnicodeCharacter{1FCB}{\@tabacckludge'\textEta} % Ή -\DeclareUnicodeCharacter{1FCC}{\textEta|} % ῌ -\DeclareUnicodeCharacter{1FCD}{\@tabacckludge>`\textcompwordmark} % ῍ -\DeclareUnicodeCharacter{1FCE}{\@tabacckludge>'\textcompwordmark} % ῎ -\DeclareUnicodeCharacter{1FCF}{\@tabacckludge>~\textcompwordmark} % ῏ - -\DeclareUnicodeCharacter{1FD0}{\u\textiota} % ῐ -\DeclareUnicodeCharacter{1FD1}{\@tabacckludge=\textiota} % ῑ -\DeclareUnicodeCharacter{1FD2}{\"`\textiota} % ῒ -\DeclareUnicodeCharacter{1FD3}{\"'\textiota} % ΐ -\DeclareUnicodeCharacter{1FD6}{\~\textiota} % ῖ -\DeclareUnicodeCharacter{1FD7}{\"\~\textiota} % ῗ -\DeclareUnicodeCharacter{1FD8}{\u\textIota} % Ῐ -\DeclareUnicodeCharacter{1FD9}{\@tabacckludge=\textIota} % Ῑ -\DeclareUnicodeCharacter{1FDA}{\@tabacckludge`\textIota} % Ὶ -\DeclareUnicodeCharacter{1FDB}{\@tabacckludge'\textIota} % Ί -\DeclareUnicodeCharacter{1FDD}{\@tabacckludge<`\textcompwordmark} % ῝ -\DeclareUnicodeCharacter{1FDE}{\@tabacckludge<'\textcompwordmark} % ῞ -\DeclareUnicodeCharacter{1FDF}{\@tabacckludge<\~\textcompwordmark} % ῟ - -\DeclareUnicodeCharacter{1FE0}{\u\textupsilon} % ῠ -\DeclareUnicodeCharacter{1FE1}{\@tabacckludge=\textupsilon} % ῡ -\DeclareUnicodeCharacter{1FE2}{\"`\textupsilon} % ῢ -\DeclareUnicodeCharacter{1FE3}{\"'\textupsilon} % ΰ -\DeclareUnicodeCharacter{1FE4}{\@tabacckludge>r} % ῤ -\DeclareUnicodeCharacter{1FE5}{\@tabacckludge<r} % ῥ -\DeclareUnicodeCharacter{1FE6}{\~\textupsilon} % ῦ -\DeclareUnicodeCharacter{1FE7}{\"\~\textupsilon} % ῧ -\DeclareUnicodeCharacter{1FE8}{\u\textUpsilon} % Ῠ -\DeclareUnicodeCharacter{1FE9}{\@tabacckludge=\textUpsilon} % Ῡ -\DeclareUnicodeCharacter{1FEA}{\@tabacckludge`\textUpsilon} % Ὺ -\DeclareUnicodeCharacter{1FEB}{\@tabacckludge'\textUpsilon} % Ύ -\DeclareUnicodeCharacter{1FEC}{\@tabacckludge<\textRho} % Ῥ -\DeclareUnicodeCharacter{1FED}{\"`\textcompwordmark} % ῭ -\DeclareUnicodeCharacter{1FEE}{\"'\textcompwordmark} % ΅ -\DeclareUnicodeCharacter{1FEF}{\@tabacckludge`\textcompwordmark} % ` - -\DeclareUnicodeCharacter{1FF2}{\@tabacckludge`\textomega|} % ῲ -\DeclareUnicodeCharacter{1FF3}{\textomega|} % ῳ -\DeclareUnicodeCharacter{1FF4}{\@tabacckludge'\textomega|} % ῴ -\DeclareUnicodeCharacter{1FF6}{\~\textomega} % ῶ -\DeclareUnicodeCharacter{1FF7}{\~\textomega|} % ῷ -\DeclareUnicodeCharacter{1FF8}{\@tabacckludge`\textOmicron} % Ὸ -\DeclareUnicodeCharacter{1FF9}{\@tabacckludge'\textOmicron} % Ό -\DeclareUnicodeCharacter{1FFA}{\@tabacckludge`\textOmega} % Ὼ -\DeclareUnicodeCharacter{1FFB}{\@tabacckludge'\textOmega} % Ώ -\DeclareUnicodeCharacter{1FFC}{\textOmega|} % ῼ -\DeclareUnicodeCharacter{1FFD}{\@tabacckludge'\textcompwordmark} % ´ -\DeclareUnicodeCharacter{1FFE}{\@tabacckludge<\textcompwordmark} % ῾ +<pre class="literal-block">\DeclareUnicodeCharacter{1F00}{\TextGreek{\@tabacckludge>\textalpha}} % ἀ +\DeclareUnicodeCharacter{1F01}{\TextGreek{\@tabacckludge<\textalpha}} % ἁ +\DeclareUnicodeCharacter{1F02}{\TextGreek{\@tabacckludge>`\textalpha}} % ἂ +\DeclareUnicodeCharacter{1F03}{\TextGreek{\@tabacckludge<`\textalpha}} % ἃ +\DeclareUnicodeCharacter{1F04}{\TextGreek{\@tabacckludge>'\textalpha}} % ἄ +\DeclareUnicodeCharacter{1F05}{\TextGreek{\@tabacckludge<'\textalpha}} % ἅ +\DeclareUnicodeCharacter{1F06}{\TextGreek{\@tabacckludge>~\textalpha}} % ἆ +\DeclareUnicodeCharacter{1F07}{\TextGreek{\@tabacckludge<\~\textalpha}} % ἇ +\DeclareUnicodeCharacter{1F08}{\TextGreek{\@tabacckludge>\textAlpha}} % Ἀ +\DeclareUnicodeCharacter{1F09}{\TextGreek{\@tabacckludge<\textAlpha}} % Ἁ +\DeclareUnicodeCharacter{1F0A}{\TextGreek{\@tabacckludge>`\textAlpha}} % Ἂ +\DeclareUnicodeCharacter{1F0B}{\TextGreek{\@tabacckludge<`\textAlpha}} % Ἃ +\DeclareUnicodeCharacter{1F0C}{\TextGreek{\@tabacckludge>'\textAlpha}} % Ἄ +\DeclareUnicodeCharacter{1F0D}{\TextGreek{\@tabacckludge<'\textAlpha}} % Ἅ +\DeclareUnicodeCharacter{1F0E}{\TextGreek{\@tabacckludge>~\textAlpha}} % Ἆ +\DeclareUnicodeCharacter{1F0F}{\TextGreek{\@tabacckludge<\~\textAlpha}} % Ἇ + +\DeclareUnicodeCharacter{1F10}{\TextGreek{\@tabacckludge>\textepsilon}} % ἐ +\DeclareUnicodeCharacter{1F11}{\TextGreek{\@tabacckludge<\textepsilon}} % ἑ +\DeclareUnicodeCharacter{1F12}{\TextGreek{\@tabacckludge>`\textepsilon}} % ἒ +\DeclareUnicodeCharacter{1F13}{\TextGreek{\@tabacckludge<`\textepsilon}} % ἓ +\DeclareUnicodeCharacter{1F14}{\TextGreek{\@tabacckludge>'\textepsilon}} % ἔ +\DeclareUnicodeCharacter{1F15}{\TextGreek{\@tabacckludge<'\textepsilon}} % ἕ +\DeclareUnicodeCharacter{1F18}{\TextGreek{\@tabacckludge>\textEpsilon}} % Ἐ +\DeclareUnicodeCharacter{1F19}{\TextGreek{\@tabacckludge<\textEpsilon}} % Ἑ +\DeclareUnicodeCharacter{1F1A}{\TextGreek{\@tabacckludge>`\textEpsilon}} % Ἒ +\DeclareUnicodeCharacter{1F1B}{\TextGreek{\@tabacckludge<`\textEpsilon}} % Ἓ +\DeclareUnicodeCharacter{1F1C}{\TextGreek{\@tabacckludge>'\textEpsilon}} % Ἔ +\DeclareUnicodeCharacter{1F1D}{\TextGreek{\@tabacckludge<'\textEpsilon}} % Ἕ + +\DeclareUnicodeCharacter{1F20}{\TextGreek{\@tabacckludge>\texteta}} % ἠ +\DeclareUnicodeCharacter{1F21}{\TextGreek{\@tabacckludge<\texteta}} % ἡ +\DeclareUnicodeCharacter{1F22}{\TextGreek{\@tabacckludge>`\texteta}} % ἢ +\DeclareUnicodeCharacter{1F23}{\TextGreek{\@tabacckludge<`\texteta}} % ἣ +\DeclareUnicodeCharacter{1F24}{\TextGreek{\@tabacckludge>'\texteta}} % ἤ +\DeclareUnicodeCharacter{1F25}{\TextGreek{\@tabacckludge<'\texteta}} % ἥ +\DeclareUnicodeCharacter{1F26}{\TextGreek{\@tabacckludge>~\texteta}} % ἦ +\DeclareUnicodeCharacter{1F27}{\TextGreek{\@tabacckludge<\~\texteta}} % ἧ +\DeclareUnicodeCharacter{1F28}{\TextGreek{\@tabacckludge>\textEta}} % Ἠ +\DeclareUnicodeCharacter{1F29}{\TextGreek{\@tabacckludge<\textEta}} % Ἡ +\DeclareUnicodeCharacter{1F2A}{\TextGreek{\@tabacckludge>`\textEta}} % Ἢ +\DeclareUnicodeCharacter{1F2B}{\TextGreek{\@tabacckludge<`\textEta}} % Ἣ +\DeclareUnicodeCharacter{1F2C}{\TextGreek{\@tabacckludge>'\textEta}} % Ἤ +\DeclareUnicodeCharacter{1F2D}{\TextGreek{\@tabacckludge<'\textEta}} % Ἥ +\DeclareUnicodeCharacter{1F2E}{\TextGreek{\@tabacckludge>~\textEta}} % Ἦ +\DeclareUnicodeCharacter{1F2F}{\TextGreek{\@tabacckludge<\~\textEta}} % Ἧ + +\DeclareUnicodeCharacter{1F30}{\TextGreek{\@tabacckludge>\textiota}} % ἰ +\DeclareUnicodeCharacter{1F31}{\TextGreek{\@tabacckludge<\textiota}} % ἱ +\DeclareUnicodeCharacter{1F32}{\TextGreek{\@tabacckludge>`\textiota}} % ἲ +\DeclareUnicodeCharacter{1F33}{\TextGreek{\@tabacckludge<`\textiota}} % ἳ +\DeclareUnicodeCharacter{1F34}{\TextGreek{\@tabacckludge>'\textiota}} % ἴ +\DeclareUnicodeCharacter{1F35}{\TextGreek{\@tabacckludge<'\textiota}} % ἵ +\DeclareUnicodeCharacter{1F36}{\TextGreek{\@tabacckludge>~\textiota}} % ἶ +\DeclareUnicodeCharacter{1F37}{\TextGreek{\@tabacckludge<\~\textiota}} % ἷ +\DeclareUnicodeCharacter{1F38}{\TextGreek{\@tabacckludge>\textIota}} % Ἰ +\DeclareUnicodeCharacter{1F39}{\TextGreek{\@tabacckludge<\textIota}} % Ἱ +\DeclareUnicodeCharacter{1F3A}{\TextGreek{\@tabacckludge>`\textIota}} % Ἲ +\DeclareUnicodeCharacter{1F3B}{\TextGreek{\@tabacckludge<`\textIota}} % Ἳ +\DeclareUnicodeCharacter{1F3C}{\TextGreek{\@tabacckludge>'\textIota}} % Ἴ +\DeclareUnicodeCharacter{1F3D}{\TextGreek{\@tabacckludge<'\textIota}} % Ἵ +\DeclareUnicodeCharacter{1F3E}{\TextGreek{\@tabacckludge>~\textIota}} % Ἶ +\DeclareUnicodeCharacter{1F3F}{\TextGreek{\@tabacckludge<\~\textIota}} % Ἷ + +\DeclareUnicodeCharacter{1F40}{\TextGreek{\@tabacckludge>\textomicron}} % ὀ +\DeclareUnicodeCharacter{1F41}{\TextGreek{\@tabacckludge<\textomicron}} % ὁ +\DeclareUnicodeCharacter{1F42}{\TextGreek{\@tabacckludge>`\textomicron}} % ὂ +\DeclareUnicodeCharacter{1F43}{\TextGreek{\@tabacckludge<`\textomicron}} % ὃ +\DeclareUnicodeCharacter{1F44}{\TextGreek{\@tabacckludge>'\textomicron}} % ὄ +\DeclareUnicodeCharacter{1F45}{\TextGreek{\@tabacckludge<'\textomicron}} % ὅ +\DeclareUnicodeCharacter{1F48}{\TextGreek{\@tabacckludge>\textOmicron}} % Ὀ +\DeclareUnicodeCharacter{1F49}{\TextGreek{\@tabacckludge<\textOmicron}} % Ὁ +\DeclareUnicodeCharacter{1F4A}{\TextGreek{\@tabacckludge>`\textOmicron}} % Ὂ +\DeclareUnicodeCharacter{1F4B}{\TextGreek{\@tabacckludge<`\textOmicron}} % Ὃ +\DeclareUnicodeCharacter{1F4C}{\TextGreek{\@tabacckludge>'\textOmicron}} % Ὄ +\DeclareUnicodeCharacter{1F4D}{\TextGreek{\@tabacckludge<'\textOmicron}} % Ὅ + +\DeclareUnicodeCharacter{1F50}{\TextGreek{\@tabacckludge>\textupsilon}} % ὐ +\DeclareUnicodeCharacter{1F51}{\TextGreek{\@tabacckludge<\textupsilon}} % ὑ +\DeclareUnicodeCharacter{1F52}{\TextGreek{\@tabacckludge>`\textupsilon}} % ὒ +\DeclareUnicodeCharacter{1F53}{\TextGreek{\@tabacckludge<`\textupsilon}} % ὓ +\DeclareUnicodeCharacter{1F54}{\TextGreek{\@tabacckludge>'\textupsilon}} % ὔ +\DeclareUnicodeCharacter{1F55}{\TextGreek{\@tabacckludge<'\textupsilon}} % ὕ +\DeclareUnicodeCharacter{1F56}{\TextGreek{\@tabacckludge>~\textupsilon}} % ὖ +\DeclareUnicodeCharacter{1F57}{\TextGreek{\@tabacckludge<\~\textupsilon}} % ὗ +\DeclareUnicodeCharacter{1F59}{\TextGreek{\@tabacckludge<\textUpsilon}} % Ὑ +\DeclareUnicodeCharacter{1F5B}{\TextGreek{\@tabacckludge<`\textUpsilon}} % Ὓ +\DeclareUnicodeCharacter{1F5D}{\TextGreek{\@tabacckludge<'\textUpsilon}} % Ὕ +\DeclareUnicodeCharacter{1F5F}{\TextGreek{\@tabacckludge<\~\textUpsilon}} % Ὗ + +\DeclareUnicodeCharacter{1F60}{\TextGreek{\@tabacckludge>\textomega}} % ὠ +\DeclareUnicodeCharacter{1F61}{\TextGreek{\@tabacckludge<\textomega}} % ὡ +\DeclareUnicodeCharacter{1F62}{\TextGreek{\@tabacckludge>`\textomega}} % ὢ +\DeclareUnicodeCharacter{1F63}{\TextGreek{\@tabacckludge<`\textomega}} % ὣ +\DeclareUnicodeCharacter{1F64}{\TextGreek{\@tabacckludge>'\textomega}} % ὤ +\DeclareUnicodeCharacter{1F65}{\TextGreek{\@tabacckludge<'\textomega}} % ὥ +\DeclareUnicodeCharacter{1F66}{\TextGreek{\@tabacckludge>~\textomega}} % ὦ +\DeclareUnicodeCharacter{1F67}{\TextGreek{\@tabacckludge<\~\textomega}} % ὧ +\DeclareUnicodeCharacter{1F68}{\TextGreek{\@tabacckludge>\textOmega}} % Ὠ +\DeclareUnicodeCharacter{1F69}{\TextGreek{\@tabacckludge<\textOmega}} % Ὡ +\DeclareUnicodeCharacter{1F6A}{\TextGreek{\@tabacckludge>`\textOmega}} % Ὢ +\DeclareUnicodeCharacter{1F6B}{\TextGreek{\@tabacckludge<`\textOmega}} % Ὣ +\DeclareUnicodeCharacter{1F6C}{\TextGreek{\@tabacckludge>'\textOmega}} % Ὤ +\DeclareUnicodeCharacter{1F6D}{\TextGreek{\@tabacckludge<'\textOmega}} % Ὥ +\DeclareUnicodeCharacter{1F6E}{\TextGreek{\@tabacckludge>~\textOmega}} % Ὦ +\DeclareUnicodeCharacter{1F6F}{\TextGreek{\@tabacckludge<\~\textOmega}} % Ὧ + +\DeclareUnicodeCharacter{1F70}{\TextGreek{\@tabacckludge`\textalpha}} % ὰ +\DeclareUnicodeCharacter{1F71}{\TextGreek{\@tabacckludge'\textalpha}} % ά +\DeclareUnicodeCharacter{1F72}{\TextGreek{\@tabacckludge`\textepsilon}} % ὲ +\DeclareUnicodeCharacter{1F73}{\TextGreek{\@tabacckludge'\textepsilon}} % έ +\DeclareUnicodeCharacter{1F74}{\TextGreek{\@tabacckludge`\texteta}} % ὴ +\DeclareUnicodeCharacter{1F75}{\TextGreek{\@tabacckludge'\texteta}} % ή +\DeclareUnicodeCharacter{1F76}{\TextGreek{\@tabacckludge`\textiota}} % ὶ +\DeclareUnicodeCharacter{1F77}{\TextGreek{\@tabacckludge'\textiota}} % ί +\DeclareUnicodeCharacter{1F78}{\TextGreek{\@tabacckludge`\textomicron}} % ὸ +\DeclareUnicodeCharacter{1F79}{\TextGreek{\@tabacckludge'\textomicron}} % ό +\DeclareUnicodeCharacter{1F7A}{\TextGreek{\@tabacckludge`\textupsilon}} % ὺ +\DeclareUnicodeCharacter{1F7B}{\TextGreek{\@tabacckludge'\textupsilon}} % ύ +\DeclareUnicodeCharacter{1F7C}{\TextGreek{\@tabacckludge`\textomega}} % ὼ +\DeclareUnicodeCharacter{1F7D}{\TextGreek{\@tabacckludge'\textomega}} % ώ + +\DeclareUnicodeCharacter{1F80}{\TextGreek{\@tabacckludge>\textalpha|}} % ᾀ +\DeclareUnicodeCharacter{1F81}{\TextGreek{\@tabacckludge<\textalpha|}} % ᾁ +\DeclareUnicodeCharacter{1F82}{\TextGreek{\@tabacckludge>`\textalpha|}} % ᾂ +\DeclareUnicodeCharacter{1F83}{\TextGreek{\@tabacckludge<`\textalpha|}} % ᾃ +\DeclareUnicodeCharacter{1F84}{\TextGreek{\@tabacckludge>'\textalpha|}} % ᾄ +\DeclareUnicodeCharacter{1F85}{\TextGreek{\@tabacckludge<'\textalpha|}} % ᾅ +\DeclareUnicodeCharacter{1F86}{\TextGreek{\@tabacckludge>~\textalpha|}} % ᾆ +\DeclareUnicodeCharacter{1F87}{\TextGreek{\@tabacckludge<\~\textalpha|}} % ᾇ +\DeclareUnicodeCharacter{1F88}{\TextGreek{\@tabacckludge>\textAlpha|}} % ᾈ +\DeclareUnicodeCharacter{1F89}{\TextGreek{\@tabacckludge<\textAlpha|}} % ᾉ +\DeclareUnicodeCharacter{1F8A}{\TextGreek{\@tabacckludge>`\textAlpha|}} % ᾊ +\DeclareUnicodeCharacter{1F8B}{\TextGreek{\@tabacckludge<`\textAlpha|}} % ᾋ +\DeclareUnicodeCharacter{1F8C}{\TextGreek{\@tabacckludge>'\textAlpha|}} % ᾌ +\DeclareUnicodeCharacter{1F8D}{\TextGreek{\@tabacckludge<'\textAlpha|}} % ᾍ +\DeclareUnicodeCharacter{1F8E}{\TextGreek{\@tabacckludge>~\textAlpha|}} % ᾎ +\DeclareUnicodeCharacter{1F8F}{\TextGreek{\@tabacckludge<\~\textAlpha|}} % ᾏ + +\DeclareUnicodeCharacter{1F90}{\TextGreek{\@tabacckludge>\texteta|}} % ᾐ +\DeclareUnicodeCharacter{1F91}{\TextGreek{\@tabacckludge<\texteta|}} % ᾑ +\DeclareUnicodeCharacter{1F92}{\TextGreek{\@tabacckludge>`\texteta|}} % ᾒ +\DeclareUnicodeCharacter{1F93}{\TextGreek{\@tabacckludge<`\texteta|}} % ᾓ +\DeclareUnicodeCharacter{1F94}{\TextGreek{\@tabacckludge>'\texteta|}} % ᾔ +\DeclareUnicodeCharacter{1F95}{\TextGreek{\@tabacckludge<'\texteta|}} % ᾕ +\DeclareUnicodeCharacter{1F96}{\TextGreek{\@tabacckludge>~\texteta|}} % ᾖ +\DeclareUnicodeCharacter{1F97}{\TextGreek{\@tabacckludge<\~\texteta|}} % ᾗ +\DeclareUnicodeCharacter{1F98}{\TextGreek{\@tabacckludge>\textEta|}} % ᾘ +\DeclareUnicodeCharacter{1F99}{\TextGreek{\@tabacckludge<\textEta|}} % ᾙ +\DeclareUnicodeCharacter{1F9A}{\TextGreek{\@tabacckludge>`\textEta|}} % ᾚ +\DeclareUnicodeCharacter{1F9B}{\TextGreek{\@tabacckludge<`\textEta|}} % ᾛ +\DeclareUnicodeCharacter{1F9C}{\TextGreek{\@tabacckludge>'\textEta|}} % ᾜ +\DeclareUnicodeCharacter{1F9D}{\TextGreek{\@tabacckludge<'\textEta|}} % ᾝ +\DeclareUnicodeCharacter{1F9E}{\TextGreek{\@tabacckludge>~\textEta|}} % ᾞ +\DeclareUnicodeCharacter{1F9F}{\TextGreek{\@tabacckludge<\~\textEta|}} % ᾟ + +\DeclareUnicodeCharacter{1FA0}{\TextGreek{\@tabacckludge>\textomega|}} % ᾠ +\DeclareUnicodeCharacter{1FA1}{\TextGreek{\@tabacckludge<\textomega|}} % ᾡ +\DeclareUnicodeCharacter{1FA2}{\TextGreek{\@tabacckludge>`\textomega|}} % ᾢ +\DeclareUnicodeCharacter{1FA3}{\TextGreek{\@tabacckludge<`\textomega|}} % ᾣ +\DeclareUnicodeCharacter{1FA4}{\TextGreek{\@tabacckludge>'\textomega|}} % ᾤ +\DeclareUnicodeCharacter{1FA5}{\TextGreek{\@tabacckludge<'\textomega|}} % ᾥ +\DeclareUnicodeCharacter{1FA6}{\TextGreek{\@tabacckludge>~\textomega|}} % ᾦ +\DeclareUnicodeCharacter{1FA7}{\TextGreek{\@tabacckludge<\~\textomega|}} % ᾧ +\DeclareUnicodeCharacter{1FA8}{\TextGreek{\@tabacckludge>\textOmega|}} % ᾨ +\DeclareUnicodeCharacter{1FA9}{\TextGreek{\@tabacckludge<\textOmega|}} % ᾩ +\DeclareUnicodeCharacter{1FAA}{\TextGreek{\@tabacckludge>`\textOmega|}} % ᾪ +\DeclareUnicodeCharacter{1FAB}{\TextGreek{\@tabacckludge<`\textOmega|}} % ᾫ +\DeclareUnicodeCharacter{1FAC}{\TextGreek{\@tabacckludge>'\textOmega|}} % ᾬ +\DeclareUnicodeCharacter{1FAD}{\TextGreek{\@tabacckludge<'\textOmega|}} % ᾭ +\DeclareUnicodeCharacter{1FAE}{\TextGreek{\@tabacckludge>~\textOmega|}} % ᾮ +\DeclareUnicodeCharacter{1FAF}{\TextGreek{\@tabacckludge<\~\textOmega|}} % ᾯ + +\DeclareUnicodeCharacter{1FB0}{\u\textalpha} % ᾰ +\DeclareUnicodeCharacter{1FB1}{\TextGreek{\@tabacckludge=\textalpha}} % ᾱ +\DeclareUnicodeCharacter{1FB2}{\TextGreek{\@tabacckludge`\textalpha|}} % ᾲ +\DeclareUnicodeCharacter{1FB3}{\TextGreek{\textalpha|}} % ᾳ +\DeclareUnicodeCharacter{1FB4}{\TextGreek{\@tabacckludge'\textalpha|}} % ᾴ +\DeclareUnicodeCharacter{1FB6}{\TextGreek{\~\textalpha}} % ᾶ +\DeclareUnicodeCharacter{1FB7}{\TextGreek{\~\textalpha|}} % ᾷ +\DeclareUnicodeCharacter{1FB8}{\u\textAlpha} % Ᾰ +\DeclareUnicodeCharacter{1FB9}{\TextGreek{\@tabacckludge=\textAlpha}} % Ᾱ +\DeclareUnicodeCharacter{1FBA}{\TextGreek{\@tabacckludge`\textAlpha}} % Ὰ +\DeclareUnicodeCharacter{1FBB}{\TextGreek{\@tabacckludge'\textAlpha}} % Ά +\DeclareUnicodeCharacter{1FBC}{\TextGreek{\textAlpha|}} % ᾼ +\DeclareUnicodeCharacter{1FBD}{\TextGreek{\@tabacckludge>\textcompwordmark}} % ᾽ +\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\Prosgegrammeni} % ι +\DeclareUnicodeCharacter{1FBF}{\TextGreek{\@tabacckludge>\textcompwordmark}} % ᾿ + +\DeclareUnicodeCharacter{1FC0}{\TextGreek{\~\textcompwordmark}} % ῀ +\DeclareUnicodeCharacter{1FC1}{\TextGreek{\"\~\textcompwordmark}} % ῁ +\DeclareUnicodeCharacter{1FC2}{\TextGreek{\@tabacckludge`\texteta|}} % ῂ +\DeclareUnicodeCharacter{1FC3}{\TextGreek{\texteta|}} % ῃ +\DeclareUnicodeCharacter{1FC4}{\TextGreek{\@tabacckludge'\texteta|}} % ῄ +\DeclareUnicodeCharacter{1FC6}{\TextGreek{\~\texteta}} % ῆ +\DeclareUnicodeCharacter{1FC7}{\TextGreek{\~\texteta|}} % ῇ +\DeclareUnicodeCharacter{1FC8}{\TextGreek{\@tabacckludge`\textEpsilon}} % Ὲ +\DeclareUnicodeCharacter{1FC9}{\TextGreek{\@tabacckludge'\textEpsilon}} % Έ +\DeclareUnicodeCharacter{1FCA}{\TextGreek{\@tabacckludge`\textEta}} % Ὴ +\DeclareUnicodeCharacter{1FCB}{\TextGreek{\@tabacckludge'\textEta}} % Ή +\DeclareUnicodeCharacter{1FCC}{\TextGreek{\textEta|}} % ῌ +\DeclareUnicodeCharacter{1FCD}{\TextGreek{\@tabacckludge>`\textcompwordmark}} % ῍ +\DeclareUnicodeCharacter{1FCE}{\TextGreek{\@tabacckludge>'\textcompwordmark}} % ῎ +\DeclareUnicodeCharacter{1FCF}{\TextGreek{\@tabacckludge>~\textcompwordmark}} % ῏ + +\DeclareUnicodeCharacter{1FD0}{\u\textiota} % ῐ +\DeclareUnicodeCharacter{1FD1}{\TextGreek{\@tabacckludge=\textiota}} % ῑ +\DeclareUnicodeCharacter{1FD2}{\TextGreek{\"`\textiota}} % ῒ +\DeclareUnicodeCharacter{1FD3}{\TextGreek{\"'\textiota}} % ΐ +\DeclareUnicodeCharacter{1FD6}{\TextGreek{\~\textiota}} % ῖ +\DeclareUnicodeCharacter{1FD7}{\TextGreek{\"\~\textiota}} % ῗ +\DeclareUnicodeCharacter{1FD8}{\u\textIota} % Ῐ +\DeclareUnicodeCharacter{1FD9}{\TextGreek{\@tabacckludge=\textIota}} % Ῑ +\DeclareUnicodeCharacter{1FDA}{\TextGreek{\@tabacckludge`\textIota}} % Ὶ +\DeclareUnicodeCharacter{1FDB}{\TextGreek{\@tabacckludge'\textIota}} % Ί +\DeclareUnicodeCharacter{1FDD}{\TextGreek{\@tabacckludge<`\textcompwordmark}} % ῝ +\DeclareUnicodeCharacter{1FDE}{\TextGreek{\@tabacckludge<'\textcompwordmark}} % ῞ +\DeclareUnicodeCharacter{1FDF}{\TextGreek{\@tabacckludge<\~\textcompwordmark}} % ῟ + +\DeclareUnicodeCharacter{1FE0}{\u\textupsilon} % ῠ +\DeclareUnicodeCharacter{1FE1}{\TextGreek{\@tabacckludge=\textupsilon}} % ῡ +\DeclareUnicodeCharacter{1FE2}{\TextGreek{\"`\textupsilon}} % ῢ +\DeclareUnicodeCharacter{1FE3}{\TextGreek{\"'\textupsilon}} % ΰ +\DeclareUnicodeCharacter{1FE4}{\TextGreek{\@tabacckludge>r}} % ῤ +\DeclareUnicodeCharacter{1FE5}{\TextGreek{\@tabacckludge<r}} % ῥ +\DeclareUnicodeCharacter{1FE6}{\TextGreek{\~\textupsilon}} % ῦ +\DeclareUnicodeCharacter{1FE7}{\TextGreek{\"\~\textupsilon}} % ῧ +\DeclareUnicodeCharacter{1FE8}{\u\textUpsilon} % Ῠ +\DeclareUnicodeCharacter{1FE9}{\TextGreek{\@tabacckludge=\textUpsilon}} % Ῡ +\DeclareUnicodeCharacter{1FEA}{\TextGreek{\@tabacckludge`\textUpsilon}} % Ὺ +\DeclareUnicodeCharacter{1FEB}{\TextGreek{\@tabacckludge'\textUpsilon}} % Ύ +\DeclareUnicodeCharacter{1FEC}{\TextGreek{\@tabacckludge<\textRho}} % Ῥ +\DeclareUnicodeCharacter{1FED}{\TextGreek{\"`\textcompwordmark}} % ῭ +\DeclareUnicodeCharacter{1FEE}{\TextGreek{\"'\textcompwordmark}} % ΅ +\DeclareUnicodeCharacter{1FEF}{\TextGreek{\@tabacckludge`\textcompwordmark}} % ` + +\DeclareUnicodeCharacter{1FF2}{\TextGreek{\@tabacckludge`\textomega|}} % ῲ +\DeclareUnicodeCharacter{1FF3}{\TextGreek{\textomega|}} % ῳ +\DeclareUnicodeCharacter{1FF4}{\TextGreek{\@tabacckludge'\textomega|}} % ῴ +\DeclareUnicodeCharacter{1FF6}{\TextGreek{\~\textomega}} % ῶ +\DeclareUnicodeCharacter{1FF7}{\TextGreek{\~\textomega|}} % ῷ +\DeclareUnicodeCharacter{1FF8}{\TextGreek{\@tabacckludge`\textOmicron}} % Ὸ +\DeclareUnicodeCharacter{1FF9}{\TextGreek{\@tabacckludge'\textOmicron}} % Ό +\DeclareUnicodeCharacter{1FFA}{\TextGreek{\@tabacckludge`\textOmega}} % Ὼ +\DeclareUnicodeCharacter{1FFB}{\TextGreek{\@tabacckludge'\textOmega}} % Ώ +\DeclareUnicodeCharacter{1FFC}{\TextGreek{\textOmega|}} % ῼ +\DeclareUnicodeCharacter{1FFD}{\TextGreek{\@tabacckludge'\textcompwordmark}} % ´ +\DeclareUnicodeCharacter{1FFE}{\TextGreek{\@tabacckludge<\textcompwordmark}} % ῾ </pre> </div> <div class="section" id="id1"> <h2>General Punctuation</h2> -<pre class="literal-block">\DeclareUnicodeCharacter{2013}{\textendash} % – -\DeclareUnicodeCharacter{2014}{\textemdash} % — -\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ -\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ -\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{20AC}{\texteuro} % € +<pre class="literal-block">\DeclareUnicodeCharacter{2013}{\textendash} % – +\DeclareUnicodeCharacter{2014}{\textemdash} % — +\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ +\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ +\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ +\DeclareUnicodeCharacter{20AC}{\texteuro} % € +</pre> +</div> +<div class="section" id="letterlike-symbols"> +<h2>Letterlike Symbols</h2> +<pre class="literal-block">\DeclareUnicodeCharacter{2126}{\textOmega} % Ω OHM SIGN </pre> </div> <div class="section" id="ancient-greek-numbers"> <h2>Ancient Greek Numbers</h2> <p>TODO: map other chars to corresponding Greek letters. -See also the <a class="reference external" href="http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=grnumalt">athnum</a> package:</p> +See also the <a class="reference external" href="http://www.ctan.org/pkg/grnumalt">grnumalt</a> package:</p> <pre class="literal-block">\DeclareUnicodeCharacter{10144}{\PiDelta} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareUnicodeCharacter{10145}{\PiEta} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareUnicodeCharacter{10146}{\PiChi} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareUnicodeCharacter{10147}{\PiMu} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +\DeclareUnicodeCharacter{10145}{\PiEta} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareUnicodeCharacter{10146}{\PiChi} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareUnicodeCharacter{10147}{\PiMu} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND </pre> </div> </div> diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrx.pdf b/Master/texmf-dist/doc/latex/lgrx/lgrx.pdf Binary files differnew file mode 100644 index 00000000000..d7f9de3e862 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lgrx/lgrx.pdf diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrx.tex b/Master/texmf-dist/doc/latex/lgrx/lgrx.tex new file mode 100644 index 00000000000..655557b618b --- /dev/null +++ b/Master/texmf-dist/doc/latex/lgrx/lgrx.tex @@ -0,0 +1,176 @@ +% Test definitions for accents and composite accents in Greek +\documentclass[british,greek,a4paper]{article} +\pagestyle{empty} +\enlargethispage{4ex} +\usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader + +\usepackage% +{lmodern} +% {gfsartemisia} +% {gfsbaskerville} +% [default]{gfsbodoni} +% \usepackage[default]{gfscomplutum} +% {gfsdidot} +% [default]{gfsneohellenic} +% {lmodern} \usepackage{gfsporson} \renewcommand*\rmdefault{porson} +% [default]{gfssolomos} +% {kerkis} +% {teubner} +\renewcommand{\ttdefault}{txtt} + +% Load the extended font encoding definitions (after font package) +\usepackage[LGRx,T1]{fontenc} + +\usepackage{listings} +\lstset{basicstyle=\ttfamily} + +% Babel package:: + +\usepackage{babel} +% revert the polutonikogreek definition of \~: +\addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}} +\addto\extrasgreek{\renewcommand*{\~}{\a~}} + +% "Lipsiakos" italic font `cbleipzig`: +\newcommand*{\lishape}{\fontencoding{LGR}\fontfamily{cmr}% + \fontshape{li}\selectfont} +\DeclareTextFontCommand{\textli}{\lishape} + + +\begin{document} + +\selectlanguage{british} + +\section*{Greek diacritics with standard accent macros} + +% The greek diacritics are +% +% dase\~ia +% yil\'h +% t\'onos +% bare\~ia +% perispwm\'enh +% dialutika + +\texttt{lgrxenc.def} is a comprehensive font encoding definition file. +Diacritics can be input using an extension of the standard macro +commands. Composite diacritics are input as +backslash followed by the LGR transliteration.% +\footnote{This makes it easy to follow the advise in + \emph{teubner-doc}: ``typeset your paper with the regular + accent vowel ligatures and [{\ldots}] substitute them in the + final revision with the accented vowel macros only in those + instances where the lack of kerning is disturbing''.} + +The example in greek-usage.pdf: +% +\begin{quote} \selectlanguage{greek} + T\'i f\'hic? \<Id\`wn \>enj\'ede pa\~id'' + \>eleuj\'eran t\`ac plhs\'ion N\'umfac stefano\~usan, + S\'wstrate, \>er\~wn \'ap\~hljec e\>uj\'uc? +\end{quote} +is input as +\begin{lstlisting} + T\'i f\'hic? \<Id\`wn \>enj\'ede pa\~id'' + \>eleuj\'eran t\`ac plhs\'ion N\'umfac stefano\~usan, + S\'wstrate, \>er\~wn \'ap\~hljec e\>uj\'uc? +\end{lstlisting} +% +Improvements: +% +\begin{itemize} + +\item Accents can be placed on any character:% + \footnote{Babel's \emph{polutonikogreek} option re-defines + \textbackslash\textasciitilde (even for + Latin with \textbackslash textlatin). + This document reverts the babel definition in the preamble + to make the tilde/perispomeni-accent work as usual in both, + English (\textgreek{ni\~n\~o} ni\~n\~o) and Greek + (\foreignlanguage{greek}{ni\~n\~o \textlatin{ni\~n\~o}}). } + \textgreek{\"k \`l \'m \~<n \<o \>'p \>9 \`\>-} + +\item Kerning is preserved + \selectlanguage{greek} + \begin{tabular}[t]{llll} + & \textlatin{roman} & \textlatin{italic} & \textlatin{cbleipzig} \\ + \foreignlanguage{british}{accent macro:} & + a\>ut'os & \emph{a\>ut\'os} & \textli{a\>ut\'os} \\ + \foreignlanguage{british}{transliteration:} & + a>ut'os & \emph{a>ut'os} & \textli{a>ut'os}\\ + \end{tabular} + \selectlanguage{british} + + Kerning only works with pre-composed glyphs: + \textgreek{A\"UA $\rightarrow$ A\~UA} + (like in any font encoding: AVA $\rightarrow$ A\~VA). + + +\item Following Greek typesetting convention, diacritics (except the + dialytika) are placed to the left of capital letters and and dropped + by \verb|\MakeUppercase|: + + \begin{quote} \selectlanguage{greek} + \'antropos $\mapsto$ \MakeUppercase{\'antropos}, + \>'antropos $\mapsto$ \MakeUppercase{\'>antropos},\\ + Aqill\'eas $\mapsto$ \MakeUppercase{Aqill\'eas}, + \>Aqille\'us $\mapsto$ \MakeUppercase{\>Aqille\'us}. + \end{quote} + + % Greek differs from Latin in that it capitalises letters with + % diacritics differently, depending on whether the entire word is in + % capitals (whereupon diacritics are eliminated), or the initial is + % capitalised only, as in the first word in a sentence or in a title + % (whereupon the diacritics are retained, although they appear to the + % left of the letter rather than above it.) + + The dialytika is printed even in cases where it's not needed + in lowercase: + \begin{quote} \selectlanguage{greek} + \'aulos $\mapsto$ \MakeUppercase{\'aulos}, + \'>aulos $\mapsto$ \MakeUppercase{\'\>aulos}% + \footnote{\selectlanguage{british} Fails if written as + \texttt{\textbackslash >'} in \texttt{polutonikogreek} + (which changes the \texttt{\textbackslash uccode} of + \texttt{\textbackslash >}): + \selectlanguage{greek} \'>aulos $\mapsto$ \MakeUppercase{\>'aulos}} + % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ + m\'aina $\mapsto$ \MakeUppercase{m\'aina},\\ + % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema + % κέικ, ἀυπνία/αϋπνία + k\'eik, $\mapsto$ \MakeUppercase{k\'eik}, + \>aupn\'ia $\mapsto$ \MakeUppercase{\>aupn\'ia}. + \end{quote} +\end{itemize} + +\selectlanguage{british} Composite diacritics can be specified as +backslash + LGR transliteration% +\footnote{However, \textbackslash{}MakeUppercase fails, if a + non-escaped tilde character (like in + \texttt{\textbackslash{}>\textasciitilde{}a}) is used in a + document which does not define the \emph{greek} or + \emph{polutonikogreek} language. + } +or combined accent macros, e.\,g. \textgreek{\~>a} can be written as +\begin{quote} + \verb+\~>a+, \verb+\>~a+, + \verb+\~\>{a}+, or \verb+\~\>a+. +\end{quote} +However, braces in composite accents +(\verb+\~{\>a}+, \verb+\~{>a}+, or \verb+\~{\>{a}}+) +lead to errors. + +Accent macros can start with \verb|\a| instead of \verb|\| when the +short form is redefined, e.\,g. inside a \emph{tabbing} environment. +This works also for the new-defined Dasia and Psili shortcuts +(becoming \verb|\a<| and \verb|\a>|): +% +\begin{quote} +\selectlanguage{greek} +\begin{tabbing} +T'i f'hic? \= T\a'i f\a'hic? \\ +<Id`wn \> \a>enj\a'ede pa\a~id +\end{tabbing} +\end{quote} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf b/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf Binary files differindex dabafa1484a..2cebfc5291f 100644 --- a/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf +++ b/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.tex b/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.tex index 41218bcfb09..8e42d699d8b 100644 --- a/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.tex +++ b/Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.tex @@ -24,7 +24,7 @@ \newcommand{\LGR}{\fontencoding{LGR}\selectfont} \newcommand{\Latin}{\fontencoding{T1}\selectfont} -\pagestyle{empty} +% \pagestyle{empty} % ------------------------------------------------------------------------- \begin{document} @@ -131,7 +131,7 @@ Ligature break up: AY fi \LGR AU "i $\mapsto$ this macro is not guaranteed to be defined, so it should not be used in a font encoding definition file. Instead, the textcomp.sty package should be used to provide the symbols for all font encodings (using the -sharp s (\ss) in Greek is bound to fail anyway). +sharp s (\ss) in Greek is bound to fail anyway). \subsubsection*{Greek alphabet} @@ -259,20 +259,28 @@ no-break space: \Latin The dialytika must be kept in UPPERCASE, e.\,g. % from http://diacritics.typo.cz/index.php?id=70 μαΐστρος -> ΜΑΪΣΤΡΟΣ. \LGR ma\"'istros $\mapsto$ \MakeUppercase{ma\"'istros} +\Latin or % from teubner εὐζωΐα -> ΕΥΖΩΪΑ. + +\LGR e\>uzw\'"ia $\mapsto$ \MakeUppercase{e\>uzw\'"ia}. + +\Latin This is implemented for all input variants of diacritics with +dialytika: \LGR \"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u $\mapsto$ \MakeUppercase{\"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u}, -\Latin even where it is redundant in lowercase, e.\,g. +\Latin Tonos and dasia mark a \emph{hiatus} (break-up of a diphtong) if +placed on the first vowel of a diphtong ({\LGR \'ai, \'au, \'ei}). A +dialytika must be placed on the second vowel if they are dropped: \LGR +(\MakeUppercase{\'ai, \'au, \'ei}). -\LGR % άυλος/ΑΫΛΟΣ +% from teubner: άυλος/ΑΫΛΟΣ \'aulos $\mapsto$ \MakeUppercase{\'aulos}, \>'aulos $\mapsto$ \MakeUppercase{\>'aulos}, % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ m\'aina $\mapsto$ \MakeUppercase{m\'aina}, - % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema -\LGR % κέικ, ἀυπνία/αϋπνία +% κέικ, ἀυπνία/αϋπνία k\'eik, $\mapsto$ \MakeUppercase{k\'eik} \>aupn\'ia $\mapsto$ \MakeUppercase{\>aupn\'ia} @@ -283,7 +291,7 @@ and psili: \LGR \MakeUppercase{\'a b}: \Latin space beween A and B kept \LGR -\newcommand\md{\char127} +\newcommand\md{\textcompwordmark} \newcommand\MU{\MakeUppercase} \md \MU{ AO AY AI AU RA OA UA DU} [ \\ @@ -328,7 +336,7 @@ $\mapsto$ \MakeUppercase{ \Latin Downcasing should keep diacritics (of course, it cannot regenerate -dropped ones): +``manually" dropped ones): \LGR 'A \"I \"U \~"A $\mapsto$ \MakeLowercase{\'A \"I \"U \~"A} \end{document} diff --git a/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html b/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html index ecc837ea909..9e2fa316664 100644 --- a/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html +++ b/Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html @@ -10,7 +10,7 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $ +:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -250,10 +250,18 @@ pre.address { margin-top: 0 ; font: inherit } -pre.literal-block, pre.doctest-block, pre.math { +pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } +pre.code .ln { /* line numbers */ + color: grey; +} + +.code { + background-color: #eeeeee +} + span.classifier { font-family: sans-serif ; font-style: oblique } @@ -364,7 +372,7 @@ dl.simple, dl.compact, dl.simple > dd, dl.compact > dd { } /* space around paragraphs */ -dl > dd p:first-child { +dl > dd p:first-child, td > p { margin: 0; } @@ -504,9 +512,10 @@ resulting list resembles the list-style 'outside' with a hanging indent. */ /* New ordered list: reset counter, suppress the default label */ -ol { +ol, ol.arabic, ol.loweralpha, ol.upperalpha, +ol.lowerroman, ol.upperroman { counter-reset: item; - list-style-type: none ! important; + list-style: none } /* Set the negative indent of the list label as feature of the list item */ @@ -568,6 +577,7 @@ ol.nested > li:before, ol.nested ol > li:before { dd > ul, dd > ol { padding-left: 0pt; +} /* TODO: prefix, suffix? */ @@ -650,9 +660,9 @@ tt.literal { } /* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */ -/* pre.literal-block, pre.doctest-block { */ -/* margin-top: 0em ; */ -/* } */ +/* pre.literal-block, pre.doctest-block { */ +/* margin-top: 0em ; */ +/* } */ /* Table of Contents */ @@ -661,8 +671,8 @@ div.topic.contents { margin: 0; } /* div.topic.contents ul { */ -/* list-style: none; */ -/* } */ +/* list-style: none; */ +/* } */ div.topic.contents a { text-decoration: none; /* no underline for links */ @@ -699,14 +709,18 @@ version 1.3 of this license or any later version.</p> </dl> <div class="abstract topic"> <p class="topic-title first">Abstract</p> -<p>The LGR font encoding is the de-facto standard for Greek -typesetting with LaTeX. However, the encoding definition +<dl class="docutils"> +<dt>The LGR font encoding is the de-facto standard for Greek</dt> +<dd><p>typesetting with LaTeX. However, the encoding definition file that ships with babel misses many of the definitions common since the advent of the NFSS (see <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">fntguide</a> "Encodings").</p> <p>This file provides a comprehensive set of macros to typeset Greek with LGR encoded fonts. It works for both, monotonic and polytonic Greek, independent of the <cite>babel</cite> package.</p> +</dd> +</dl> +<p>This package is part of the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/lgrx.html">lgrx</a> bundle.</p> </div> <div class="contents topic" id="contents"> <p class="topic-title first">Contents</p> @@ -717,34 +731,40 @@ package.</p> <li><p><a class="reference internal" href="#implementation" id="id4">Implementation</a></p> <ul> <li><p><a class="reference internal" href="#read-this-file-only-once" id="id5">Read this file only once</a></p></li> -<li><p><a class="reference internal" href="#announcement" id="id6">Announcement</a></p></li> +<li><p><a class="reference internal" href="#identification" id="id6">Identification</a></p></li> <li><p><a class="reference internal" href="#base-setup" id="id7">Base setup</a></p></li> <li><p><a class="reference internal" href="#text-symbols" id="id8">Text symbols</a></p> <ul> <li><p><a class="reference internal" href="#greek-alphabet" id="id9">Greek Alphabet</a></p></li> -<li><p><a class="reference internal" href="#additional-greek-symbols" id="id10">Additional Greek symbols</a></p></li> -<li><p><a class="reference internal" href="#other" id="id11">Other</a></p></li> +<li><p><a class="reference internal" href="#additional-greek-symbols" id="id10">Additional Greek symbols</a></p> +<ul> +<li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="id11">Ancient Greek Numbers (Athenian Numerals)</a></p></li> +<li><p><a class="reference internal" href="#archaic-letters" id="id12">Archaic letters</a></p></li> +<li><p><a class="reference internal" href="#numeral-signs" id="id13">numeral signs</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#diacritics" id="id12">Diacritics</a></p> +<li><p><a class="reference internal" href="#other" id="id14">Other</a></p></li> +</ul> +</li> +<li><p><a class="reference internal" href="#diacritics" id="id15">Diacritics</a></p> <ul> -<li><p><a class="reference internal" href="#simple-diacritics" id="id13">simple diacritics</a></p></li> -<li><p><a class="reference internal" href="#composite-diacritics" id="id14">composite diacritics</a></p></li> +<li><p><a class="reference internal" href="#simple-diacritics" id="id16">simple diacritics</a></p></li> +<li><p><a class="reference internal" href="#composite-diacritics" id="id17">composite diacritics</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#capital-letters" id="id15">Capital letters</a></p> +<li><p><a class="reference internal" href="#capital-letters" id="id18">Capital letters</a></p> <ul> -<li><p><a class="reference internal" href="#title-case" id="id16">Title Case</a></p></li> +<li><p><a class="reference internal" href="#title-case" id="id19">Title Case</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#uppercase" id="id17">UPPERCASE</a></p> +<li><p><a class="reference internal" href="#uppercase" id="id20">UPPERCASE</a></p> <ul> -<li><p><a class="reference internal" href="#uclclist-extension" id="id18">@uclclist extension</a></p></li> -<li><p><a class="reference internal" href="#substitution-macros" id="id19">Substitution macros</a></p> +<li><p><a class="reference internal" href="#uclclist-extension" id="id21">@uclclist extension</a></p></li> +<li><p><a class="reference internal" href="#substitution-macros" id="id22">Substitution macros</a></p> <ul> -<li><p><a class="reference internal" href="#drop-diacritics" id="id20">Drop diacritics</a></p></li> -<li><p><a class="reference internal" href="#keep-dialytika" id="id21">Keep dialytika.</a></p></li> -<li><p><a class="reference internal" href="#mark-hiatus" id="id22">Mark hiatus</a></p></li> +<li><p><a class="reference internal" href="#drop-diacritics" id="id23">Drop diacritics</a></p></li> +<li><p><a class="reference internal" href="#keep-dialytika" id="id24">Keep dialytika.</a></p></li> +<li><p><a class="reference internal" href="#mark-hiatus" id="id25">Mark hiatus</a></p></li> </ul> </li> </ul> @@ -755,10 +775,10 @@ package.</p> </div> <div class="section" id="changelog"> <h1><a class="toc-backref" href="#id1">Changelog</a></h1> -<table> +<table class="borderless"> <colgroup> <col width="7%" /> -<col width="18%" /> +<col width="17%" /> <col width="75%" /> </colgroup> <tbody valign="top"> @@ -796,28 +816,38 @@ with TextCommand</p></td> <td><p>2012-05-08</p></td> <td><p>upload to CTAN</p></td> </tr> +<tr><td><p>0.6</p></td> +<td><p>2012-06-29</p></td> +<td><p><tt class="literal">\TextGreek</tt> wrapper command (used in lgrenc.dfu), +aliases for <tt class="literal">puenc.def</tt> compatibility</p></td> +</tr> </tbody> </table> </div> <div class="section" id="usage"> <h1><a class="toc-backref" href="#id2">Usage</a></h1> -<p>To prevent mixing up with <cite>Babel</cite>'s <tt class="literal">lgrenc.def</tt>, the comprehensive -font encoding definitions must be loaded via the <tt class="literal">LGRx</tt> option.</p> +<p>To prevent confusion with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">Babel</a>'s rudimentary <tt class="literal">lgrenc.def</tt>, this file is +named <tt class="literal">lgrxenc.def</tt>. Load it by calling <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fontenc.html">fontenc</a> with the <tt class="literal">LGRx</tt> option +or indirectly via the <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages.</p> <dl class="docutils"> <dt>Example:</dt> -<dd><p>Select font encodings <cite>T1</cite> (as default) and <cite>LGR</cite> with comprehensive -font encoding definitions:</p> -<pre class="literal-block">\usepackage[LGRx,T1]{fontenc} -</pre> +<dd><p>Select font encodings <cite>T1</cite> (as default) and <cite>LGR</cite> (with the comprehensive +font encoding definitions)</p> +<blockquote> +<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1]{fontenc}</span></tt></p> +</blockquote> </dd> </dl> <div class="attention"> <p class="admonition-title">Attention!</p> -<p>The font encoding defined by the option <tt class="literal">LGRx</tt> is <strong>not</strong> <cite>LGRx</cite> but -<cite>LGR</cite>. Therefore, <tt class="literal">LGRx</tt> must not be given as last option. To set -<cite>LGR</cite> as as default font encoding specify both, <cite>LGRx</cite> and <cite>LGR</cite>, e.g.</p> -<pre class="literal-block">\usepackage[LGRx,T1,LGR]{fontenc} -</pre> +<p>The name of the font encoding defined by the option <tt class="literal">LGRx</tt> +is <strong>not</strong> <cite>LGRx</cite> but <cite>LGR</cite>. Therefore, <tt class="literal">LGRx</tt> must not be the +last option (as fontenc uses the last option to select the default font +encoding). To set <cite>LGR</cite> as as default font encoding specify both, +<cite>LGRx</cite> and <cite>LGR</cite>, e.g.</p> +<blockquote> +<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1,LGR]{fontenc}</span></tt></p> +</blockquote> </div> </div> <div class="section" id="macro-names"> @@ -914,12 +944,12 @@ LETTER *", while others map to "GREEK * SYMBOL" Unicode chars.</p <p>An alternative, more complete set of short mnemonic character names is the <a class="reference external" href="http://www.w3.org/TR/xml-entity-names/">XML Entity Definitions for Characters</a> W3C Recommendation from 01 April 2010.</p> -<p>For glyph names of the LGR encoding see e.g. <tt class="literal">CB.enc</tt> by -Apostolos Syropoulos and <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> from the <cite>libertine</cite> package. +<p>For glyph names of the LGR encoding see e.g. <tt class="literal">CB.enc</tt> by Apostolos +Syropoulos and <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/libertine-legacy.html">libertine</a> (legacy) package. <tt class="literal">lgr.cmap</tt> provides a mapping to Unicode characters.</p> <p>A full set of <tt class="literal">\text*</tt> symbol macros is defined in <tt class="literal">ucsencs.def</tt> from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode.html">ucs</a> package.</p> -<p>Using the names from <tt class="literal">puenc.def</tt> ensures that the <cite>hyperref</cite> package +<p>Using the names from <tt class="literal">puenc.def</tt> ensures that the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a> package will do the right conversion to a PDF-string (see <a class="reference external" href="greek-part-of-puenc.def">greek-part-of-puenc.def</a>).</p> <p>For accent macros, this file uses Greek names like in Unicode and @@ -931,6 +961,14 @@ end-user "symbol macros" (<tt class="literal">\~ \' \` \" \< \ <h1><a class="toc-backref" href="#id4">Implementation</a></h1> <div class="section" id="read-this-file-only-once"> <h2><a class="toc-backref" href="#id5">Read this file only once</a></h2> +<div class="note"> +<p class="admonition-title">Note</p> +<p>The use of <tt class="literal">\@ifundefined</tt> has the side-effect that the tested +macro becomes defined and set to <tt class="literal">\relax</tt> (polluting the namespace and +interfering with test via eTeX's <tt class="literal">\ifdefined</tt>). However, in this case +no harm is done as the macro is defined by the <a class="reference internal" href="#identification">identification</a> below +anyway.</p> +</div> <pre class="literal-block">\@ifundefined{ver@lgrxenc.def} {\message{setting up comprehensive LGR font encoding definitions.}} {\message{comprehensive LGR font encoding definitions already loaded} @@ -938,37 +976,40 @@ end-user "symbol macros" (<tt class="literal">\~ \' \` \" \< \ } </pre> </div> -<div class="section" id="announcement"> -<h2><a class="toc-backref" href="#id6">Announcement</a></h2> -<blockquote> -<dl class="docutils"> -<dt>ProvidesFile{lgrxenc.def}</dt> -<dd><dl class="docutils"> -<dt>[2010/06/08 v0.5.1 %</dt> -<dd><p>comprehensive LGR Greek Font Encoding definitions]</p> -</dd> -</dl> -</dd> -</dl> -</blockquote> +<div class="section" id="identification"> +<h2><a class="toc-backref" href="#id6">Identification</a></h2> +<pre class="literal-block">\ProvidesFile{lgrxenc.def} + [2012/07/03 v0.6 % + comprehensive LGR Greek Font Encoding definitions] +</pre> </div> <div class="section" id="base-setup"> <h2><a class="toc-backref" href="#id7">Base setup</a></h2> -<p>The base setup is copied from the standard encoding file -<tt class="literal">lgrenc.def</tt> that comes with the Babel package:</p> +<p>Declare the font encoding and substitutions. +(from the file <tt class="literal">lgrenc.def</tt> that comes with the Babel package):</p> <pre class="literal-block">\DeclareFontEncoding{LGR}{}{} \DeclareFontSubstitution{LGR}{cmr}{m}{n} \DeclareErrorFont{LGR}{cmr}{m}{n}{10} </pre> +<p>The <tt class="literal">\TextGreek</tt> command can be used to ensure that its argument is set in +a font encoding with support for Greek. If the font encoding is already LGR, +kerning between adjacent command calls (e.g. +<tt class="literal"><span class="pre">\TextGreek{A}\TextGreek{\Upsilon}</span></tt>) is preserved. This allows wrapping of +compound Unicode character definitions.</p> +<pre class="literal-block">\DeclareTextCommand{\TextGreek}{LGR}[1]{#1} +</pre> </div> <div class="section" id="text-symbols"> <h2><a class="toc-backref" href="#id8">Text symbols</a></h2> <div class="section" id="greek-alphabet"> <h3><a class="toc-backref" href="#id9">Greek Alphabet</a></h3> -<p>All letters are accessible by the Latin transcription. However, as -they are distinct text symbols, <tt class="literal">\text*</tt> macros are defined. -The <cite>textalpha.sty</cite> package makes these macros available in any font -encoding.</p> +<p>Greek letters are accessible by the Latin transcription, but the mapping is +specific to the LGR font encoding.</p> +<p>The <tt class="literal">\text*</tt> macros provide a way to access the symbols in any font +encoding supporting Greek independent of the specific font encoding. +Alternative Greek font encodings are LGI (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/ibycus-babel.html">ibycus</a>) and PU (<cite>PDF Unicode</cite> +used by <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a> for PDF metadata). The <cite>textalpha.sty</cite> package makes these +macros available in any font encoding.</p> <pre class="literal-block">\DeclareTextSymbol{\textAlpha}{LGR}{65} \DeclareTextSymbol{\textBeta}{LGR}{66} \DeclareTextSymbol{\textGamma}{LGR}{71} @@ -1024,47 +1065,65 @@ encoding.</p> </div> <div class="section" id="additional-greek-symbols"> <h3><a class="toc-backref" href="#id10">Additional Greek symbols</a></h3> -<p>Ancient Greek Numbers (Athenian Numerals) -named like in the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/athnum.html">athnum</a> package:</p> +<div class="section" id="ancient-greek-numbers-athenian-numerals"> +<h4><a class="toc-backref" href="#id11">Ancient Greek Numbers (Athenian Numerals)</a></h4> +<p>Names from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/athnum.html">athnum</a> package:</p> <pre class="literal-block">\DeclareTextSymbol{\PiDelta}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY \DeclareTextSymbol{\PiEta}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED \DeclareTextSymbol{\PiChi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND \DeclareTextSymbol{\PiMu}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND </pre> -<p>or using Greek numerals (as in <tt class="literal"><span class="pre">xl-lgr.enc</span></tt>):</p> -<pre class="literal-block">%\DeclareTextSymbol{\pentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY -%\DeclareTextSymbol{\pentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -%\DeclareTextSymbol{\penteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -%\DeclareTextSymbol{\pentemurioi}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +<p>Names from <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> (Greek numerals):</p> +<pre class="literal-block">\DeclareTextSymbol{\pentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbol{\pentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbol{\penteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbol{\pentemurioi}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +</pre> +</div> +<div class="section" id="archaic-letters"> +<h4><a class="toc-backref" href="#id12">Archaic letters</a></h4> +<p>Names after <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a>'s <tt class="literal">greek.ldf</tt>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a> and <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a>'s puenc.def:</p> +<pre class="literal-block">\DeclareTextSymbol{\stigma}{LGR}{6} % ϛ (greek.df, teubner) +\DeclareTextSymbol{\textstigmagreek}{LGR}{6} % ϛ (puenc.def) +\DeclareTextSymbol{\varstigma}{LGR}{7} % stigma variant (CB.enc, teubner) +% \DeclareTextSymbol{\vardigamma}{LGR}{7} % digamma variant (greek.ldf) +\DeclareTextSymbol{\koppa}{LGR}{18} % ϟ (greek small letter koppa) +\DeclareTextSymbol{\textkoppagreek}{LGR}{18} % ϟ (puenc.def) +\DeclareTextSymbol{\qoppa}{LGR}{19} % ϙ (archaic koppa) +\DeclareTextSymbol{\Qoppa}{LGR}{21} % Ϙ (archaic Koppa) +\DeclareTextSymbol{\Stigma}{LGR}{22} % ϹΤ ligature (teubner) +\DeclareTextSymbol{\textStigmagreek}{LGR}{22} % ϹΤ ligature (puenc.def) +% \DeclareTextSymbol{\Stigma}{LGR}{??} % Ϛ +\DeclareTextSymbol{\Sampi}{LGR}{23} % Ϡ +\DeclareTextSymbol{\textSampigreek}{LGR}{23} % Ϡ (puenc.def) +\DeclareTextSymbol{\sampi}{LGR}{27} % ϡ +\DeclareTextSymbol{\textsampigreek}{LGR}{27} % ϡ (puend.def) +\DeclareTextSymbol{\anoteleia}{LGR}{38} % · +\DeclareTextSymbol{\erotimatiko}{LGR}{63} % ; +% \digamma used by amsmath for math-macro: +\DeclareTextSymbol{\ddigamma}{LGR}{147} % ϝ (greek.ldf) +\DeclareTextSymbol{\Digamma}{LGR}{195} % Ϝ (greek.ldf) +\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ with "text" prefix +\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ with "text" prefix +\DeclareTextSymbol{\textdigammagreek}{LGR}{147} % ϝ (puenc.def) +\DeclareTextSymbol{\textDigammagreek}{LGR}{195} % Ϝ (puenc.def) </pre> -<p>after babel's <tt class="literal">greek.ldf</tt> and <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a>:</p> -<pre class="literal-block">\DeclareTextSymbol{\stigma}{LGR}{6} % ϛ -\DeclareTextSymbol{\varstigma}{LGR}{7} % stigma variant (CB.enc, teubner) -% \DeclareTextSymbol{\vardigamma}{LGR}{7} % digamma variant (greek.ldf) -\DeclareTextSymbol{\koppa}{LGR}{18} % ϟ (greek small letter koppa) -\DeclareTextSymbol{\qoppa}{LGR}{19} % ϙ (archaic koppa) -\DeclareTextSymbol{\Qoppa}{LGR}{21} % Ϙ (archaic Koppa) -\DeclareTextSymbol{\Stigma}{LGR}{22} % ϹΤ ligature (teubner) -% \DeclareTextSymbol{\Stigma}{LGR}{??} % Ϛ -\DeclareTextSymbol{\Sampi}{LGR}{23} % Ϡ -\DeclareTextSymbol{\sampi}{LGR}{27} % ϡ -\DeclareTextSymbol{\anoteleia}{LGR}{38} % · -\DeclareTextSymbol{\erotimatiko}{LGR}{63} % ; -\DeclareTextSymbol{\ddigamma}{LGR}{147} % ϝ (\digamma used by amsmath!) -\DeclareTextSymbol{\Digamma}{LGR}{195} % Ϝ -% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals -\DeclareTextSymbol{\anwtonos}{LGR}{254} % ʹ (Dexia keraia) +</div> +<div class="section" id="numeral-signs"> +<h4><a class="toc-backref" href="#id13">numeral signs</a></h4> +<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_numerals">http://en.wikipedia.org/wiki/Greek_numerals</a></p> +<p>Names from <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a> and <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a>:</p> +<pre class="literal-block">\DeclareTextSymbol{\anwtonos}{LGR}{254} % ʹ (Dexia keraia) \DeclareTextSymbol{\katwtonos}{LGR}{255} % ͵ (Aristeri keraia) </pre> -<p>As <tt class="literal">\digamma</tt> is a math macro (defined in amsmath), provide aliases -named as <tt class="literal">\text</tt> followed by the glyph name (as recommended in -<tt class="literal">fntguide.pdf</tt>:</p> -<pre class="literal-block">\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ alias using "text" prefix -\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ +<p>alias names for compatibility with hyperref's puenc.def:</p> +<pre class="literal-block">\DeclareTextSymbol{\textnumeralsigngreek}{LGR}{254} +\DeclareTextSymbol{\textnumeralsignlowergreek}{LGR}{255} </pre> </div> +</div> <div class="section" id="other"> -<h3><a class="toc-backref" href="#id11">Other</a></h3> +<h3><a class="toc-backref" href="#id14">Other</a></h3> <p>Characters that also exist in other font encodings</p> <ul class="simple"> <li><p>Define them for LGR if there is a matching glyph, @@ -1091,7 +1150,6 @@ so that they work if LGR is the only chosen font encoding.</p></li> \ProvideTextCommand{\textasciiacute}{LGR}{\char39\textcompwordmark} % ' \ProvideTextCommand{\textasciigrave}{LGR}{\char96\textcompwordmark} % ` \DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~ - % \DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign ≠ Omega) \DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf \DeclareTextSymbol{\textpercent}{LGR}{37} % % @@ -1120,7 +1178,7 @@ in the font-encoding definition file as they</p> </div> </div> <div class="section" id="diacritics"> -<h2><a class="toc-backref" href="#id12">Diacritics</a></h2> +<h2><a class="toc-backref" href="#id15">Diacritics</a></h2> <p>Based on the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a> package by Claudio Beccari and the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg but with composite diacritic definitions (iterative diacritics).</p> @@ -1133,7 +1191,7 @@ diacritic macros).</p></li> <li><p>input convention similar to LGR input encodings (just prepend a <tt class="literal">\</tt>).</p></li> </ul> <div class="section" id="simple-diacritics"> -<h3><a class="toc-backref" href="#id13">simple diacritics</a></h3> +<h3><a class="toc-backref" href="#id16">simple diacritics</a></h3> <p>Define Greek diacritics as named macros with shortcut alias.</p> <p>Direct defining of <tt class="literal">\<</tt> and <tt class="literal">\></tt> fails with <tt class="literal">`! Missing $ inserted.'</tt> (clash with math definitions). @@ -1174,7 +1232,7 @@ they rather represent the left and right part of U+23E0 TOP TORTOISE SHELL BRACKET.</p> </div> <div class="section" id="composite-diacritics"> -<h3><a class="toc-backref" href="#id14">composite diacritics</a></h3> +<h3><a class="toc-backref" href="#id17">composite diacritics</a></h3> <p>Definitions:</p> <pre class="literal-block">% Unicode Name Teubner name \DeclareTextAccent{\DasiaOxia}{LGR}{86} % Ar @@ -1422,16 +1480,16 @@ the shortcut marcros, otherwise it fails with <tt class="literal">\Makeuppercase </div> </div> <div class="section" id="capital-letters"> -<h2><a class="toc-backref" href="#id15">Capital letters</a></h2> +<h2><a class="toc-backref" href="#id18">Capital letters</a></h2> <blockquote> <p>In Greek, diacritics are omitted in all-uppercase words, but kept as part of an uppercase initial (written before rather than above the letter).</p> <p>The diaytika should also always be used in all-uppercase words (even -in cases where they are not needed when writing in lowercase</p> +in cases where they are not needed when writing in lowercase)</p> <p class="attribution">—<a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></p> </blockquote> <div class="section" id="title-case"> -<h3><a class="toc-backref" href="#id16">Title Case</a></h3> +<h3><a class="toc-backref" href="#id19">Title Case</a></h3> <p>Place diacritics before instead of above:</p> <pre class="literal-block">\DeclareTextCompositeCommand{\Dasia}{LGR}{A}{<A} \DeclareTextCompositeCommand{\DasiaVaria}{LGR}{A}{<`A} @@ -1583,9 +1641,9 @@ in cases where they are not needed when writing in lowercase</p> </div> </div> <div class="section" id="uppercase"> -<h2><a class="toc-backref" href="#id17">UPPERCASE</a></h2> +<h2><a class="toc-backref" href="#id20">UPPERCASE</a></h2> <div class="section" id="uclclist-extension"> -<h3><a class="toc-backref" href="#id18">@uclclist extension</a></h3> +<h3><a class="toc-backref" href="#id21">@uclclist extension</a></h3> <p>If UPPERCASE (all-caps) is generated with <tt class="literal">\MakeUppercase</tt>, macro substitutions in the <tt class="literal">\@uclclist</tt> apply. This can be used to drop the diacritics (except dialytika).</p> @@ -1645,39 +1703,49 @@ diacritics (except dialytika).</p> </pre> </div> <div class="section" id="substitution-macros"> -<h3><a class="toc-backref" href="#id19">Substitution macros</a></h3> +<h3><a class="toc-backref" href="#id22">Substitution macros</a></h3> <div class="section" id="drop-diacritics"> -<h4><a class="toc-backref" href="#id20">Drop diacritics</a></h4> +<h4><a class="toc-backref" href="#id23">Drop diacritics</a></h4> <pre class="literal-block">\DeclareTextCommand{\do@nothing}{LGR}[1]{#1} </pre> <p>(The argument processing ensures that kerning is preserved)</p> </div> <div class="section" id="keep-dialytika"> -<h4><a class="toc-backref" href="#id21">Keep dialytika.</a></h4> +<h4><a class="toc-backref" href="#id24">Keep dialytika.</a></h4> <p>Define an alias so that downcasing with <tt class="literal">\MakeLowercase</tt> does not convert a simple dialytika to a composite accent:</p> <pre class="literal-block">\DeclareTextCommand{\up@Dialytika}{LGR}{\Dialytika} </pre> </div> <div class="section" id="mark-hiatus"> -<h4><a class="toc-backref" href="#id22">Mark hiatus</a></h4> -<p>Tonos and dasia mark a hiatus if placed on the first vowel of a -diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the second vowel -if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ, ἀυπνία -→ ΑΫΠΝΙΑ):</p> +<h4><a class="toc-backref" href="#id25">Mark hiatus</a></h4> +<p>Tonos and dasia mark a hiatus (break-up of a diphtong) if placed on the +first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the +second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ, +ἀυπνία → ΑΫΠΝΙΑ):</p> <pre class="literal-block">\DeclareTextCommand{\@hiatus}{LGR}[1]{#1} \DeclareTextCompositeCommand{\@hiatus}{LGR}{A}{\A@hiatus} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\textAlpha}{\A@hiatus} \DeclareTextCompositeCommand{\@hiatus}{LGR}{E}{\E@hiatus} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\textEpsilon}{\E@hiatus} </pre> <p>Look ahead and place a diaeresis on Ι or Υ:</p> <pre class="literal-block">\DeclareTextCommand{\A@hiatus}{LGR}{% \LGR@ifnextchar{I}{A\"}{% - \LGR@ifnextchar{U}{A\"}{A}% + \LGR@ifnextchar{U}{A\"}{% + \LGR@ifnextchar{\textIota}{A\"}{% + \LGR@ifnextchar{\textUpsilon}{A\"}{A}% + }% + }% }% } \DeclareTextCommand{\E@hiatus}{LGR}{% \LGR@ifnextchar{I}{E\"}{% - \LGR@ifnextchar{U}{E\"}{E}% + \LGR@ifnextchar{U}{E\"}{% + \LGR@ifnextchar{\textIota}{E\"}{% + \LGR@ifnextchar{\textUpsilon}{E\"}{E}% + }% + }% }% } </pre> diff --git a/Master/texmf-dist/doc/latex/lgrx/textalpha-test.pdf b/Master/texmf-dist/doc/latex/lgrx/textalpha-test.pdf Binary files differindex 070d63aae25..f8cc8fed185 100644 --- a/Master/texmf-dist/doc/latex/lgrx/textalpha-test.pdf +++ b/Master/texmf-dist/doc/latex/lgrx/textalpha-test.pdf diff --git a/Master/texmf-dist/doc/latex/lgrx/textalpha-test.tex b/Master/texmf-dist/doc/latex/lgrx/textalpha-test.tex index c3a33e248dd..61d15db0601 100644 --- a/Master/texmf-dist/doc/latex/lgrx/textalpha-test.tex +++ b/Master/texmf-dist/doc/latex/lgrx/textalpha-test.tex @@ -2,40 +2,35 @@ \usepackage{cmap} % fix search and cut-and-paste in PDF \usepackage{lmodern} \usepackage{parskip} +\usepackage{booktabs} \usepackage{textcomp} -\usepackage{textalpha} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} -\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} -\hypersetup{unicode=true} +\usepackage[unicode=true]{hyperref} \usepackage{bookmark} +% \pagestyle{headings} + +\usepackage{textalpha} -\newcommand{\LGR}{\fontencoding{LGR}\selectfont} -\newcommand{\Latin}{\fontencoding{T1}\selectfont} -\providecommand{\greektext}{% - \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}% -} -\providecommand*{\textgreek}[1]{\leavevmode{\greektext #1}} +\begin{document} -\DeclareTextCommand{\TextGreek}{LGR}[1]{#1} -\DeclareTextCommandDefault{\TextGreek}[1]{\textgreek{#1}} +\section*{Test the \emph{textalpha} package} -\pagestyle{empty} -\setcounter{secnumdepth}{0} +With the \emph{textalpha} package, you can easily write a single Greek +symbol (like \textPsi{} or \textmu{}) or a +\textlambda\textomicron\textgamma\textomicron\textvarsigma{} in non-Greek +text as well as ISO-conforming formulas with upright constants (like +\textpi): $A = \mbox{\textpi} r^2$ vs. $A = \pi r^2$. -\begin{document} -\subsection{Greek alphabet} +\section{Greek alphabet} Greek letters via Latin transscription in LGR font encoding: -\LGR -\MakeUppercase{a b g d e z h j i k l m n x o p r s t u f q y w} - -a b g d e z h j i k l m n x o p r s c t u f q y w +\TextGreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W}\\ +\TextGreek{a b g d e z h j i k l m n x o p r s c t u f q y w} -\Latin Greek letters via default macros in other font encoding (here T1): \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} @@ -43,91 +38,164 @@ Greek letters via default macros in other font encoding (here T1): \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} \textChi{} \textPsi{} \textOmega{} - - +\\ \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} \textrho{} \textsigma{} \textvarsigma{} \texttau{} \textupsilon{} \textphi{} \textchi{} \textpsi{} \textomega{} -So you can easily write a single Greek symbol (like \textPsi{} or -\textmu{}) or -\textlambda\textomicron\textgamma\textomicron\textvarsigma{} in -non-Greek text or ISO-conforming formulas with an upright pi symbol -like $A = \mbox{\textpi} r^2$ instead of $A = \pi r^2$. -However, kerning is broken in other font encodings: compare -\textgreek{AUA} (LGR) to \textAlpha\textUpsilon\textAlpha (T1). -Because of this (and for proper hyphenation), use of babel and correct -language setting is recommended for Greek quotes. +\section{PDF strings} + +With the \emph{lgrx} bundle, you can get Greek letters in both, TeX +and PDF strings. \subsection{\textlambda\textomicron\textgamma\textomicron\textvarsigma{}, - λογος and \TextGreek{logos}} + λογος and \TextGreek{logos}} The subsection title above uses: text* macros, Unicode input and the LGR -transcription for the Greek word \TextGreek{logos}. The last variant (Latin -transscription) is written in Latin letters in the PDF bookmark. +transcription for the Greek word \TextGreek{logos}. Check the table of +contents in the PDF viewer: text* macros and Unicode literals work fine, the +Latin transscription stays Latin in the PDF metadata. -On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex: +\section{Limitations} + +Because the internal font encoding switch interferes with other work behind +the scenes, kerning, diacritics and up/downcasing show problems if +Greek letters are used without explicit change of the font encoding. +These problems can be avoided by use of babel and the correct language +setting (greek or polutonikogreek) or an explicit font encoding switch. + +The \verb+\TextGreek+ macro ensures the argument is set in LGR font +encoding. This can be used to fix these problems without side-effects if +the font encoding is already LGR. + +\subsection{Kerning} + +No kerning occures between Greek characters in non-Greek text due to the +internal font encoding switch:compare +\TextGreek{\textAlpha\textUpsilon\textAlpha} (LGR) to +\textAlpha\textUpsilon\textAlpha (T1). Because of this (and for proper +hyphenation), use of babel and correct language setting is recommended for +Greek quotes. + +The \verb+\TextGreek+ macro is used for wrapping of combined Unicode +character definitions. Check that kerning is preserved also between accented +characters if the font encoding is LGR: \TextGreek{AΫA} vs. AΫA (T1). -\begin{quote} - \textbackslash pdfstringdef (converting TeX code to PDF strings for - bookmarks) supports NFSS2 and needs active characters. Encoding - stuff based on the internal font machinery of TeX (letters with - catcode 11 or 12, ligatures) does not work, because the strings - don't reach TeX's stomach. -\end{quote} - \subsection{Diacritics} -In LGR encoding, shortcuts as well as named macros are set up for use with -the Latin transcription. +Composition of diacritics (like \verb+\Dasia\Tonos+) fails in other font +encodings. Long names (like \verb+\DasiaOxia+) work, however they do not +select precomposed characters. With LGR, pre-composed glyphs are chosen if +available (the difference becomes obvious if you drag-and-drop text from the +PDF version of this document): +% +\TextGreek{\<'a \Dasia\Tonos a \DasiaOxia a \DasiaOxia\textalpha} (LGR) vs. +\DasiaOxia\textalpha{} (T1). -Composition of diacritics (like \verb+\Dasia\Tonos+) fails in other -font encodings. Long names (like \verb+\DasiaOxia+) work, however they -do not select precomposed characters (the difference becomes obvious -if you drag-and-drop text from the PDF version of this document): +Diacritics (except the dialytika) are placed before capital letters in +titlecase and dropped in all-caps: % -LGR: \LGR \<'a \Dasia\Tonos a \DasiaOxia a \DasiaOxia\textalpha \Latin \\ -Latin: \DasiaOxia\textalpha +\begin{quote} + \TextGreek{% + \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`>\texteta{} + \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} + \\ + \<{\textAlpha} \>{\textEpsilon} \"'{\textIota} \`>\textEta{} + \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} + \\ + \MakeUppercase{% + \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`>\texteta{} + \'<{\textomicron} \~<{\textupsilon} \~>{\textomega}. + } + } +\end{quote} +% +However, in other font encodings, this does not work: +\TextGreek{\<{\textAlpha}} (LGR) vs. \<{\textAlpha} (T1). -Diacritics (except the dialytika) should placed -before capital letters and dropped with MakeUppercase: +The dialytika marks a \emph{hiatus} (break-up of a diphthong). It must be +present in UPPERCASE even where it is redundant in lowercase (the hiatus can +also be marked by an accent on the first character of a diphthong). The +auto-hiatus feature works in LGR font encoding, +\Tonos\textalpha\textupsilon{}, \Tonos\textepsilon\textiota{} $\mapsto$ +\MakeUppercase{\TextGreek{ + \Tonos\textalpha\textupsilon{}, \Tonos\textepsilon\textiota{} +}}, but not in T1: +\MakeUppercase{ + \Tonos\textalpha\textupsilon{}, \Tonos\textepsilon\textiota{} +}. -\LGR -\<{\textalpha} \>{\textepsilon} \"'{\textiota} \`>{\texteta} -\'<{\textomicron} \~<{\textupsilon} \~>{\textomega} -\\ -\<{\textAlpha} \>{\textEpsilon} \"'{\textIota} \`>{\textEta} -\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} -\\ -\MakeUppercase{% - \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`>\texteta{} - \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} -} -\Latin However, in other font encodings, this does not work: +\section{Greek Unicode characters in non-Greek text} -No kerning: (\textgreek{ΑΥΑ} vs. ΑΥΑ), misplaced multiple (\textgreek{ἅ} vs. -ἅ) or Titlecase accents (\textgreek{Ά Έ Ή Ί} vs. Ά Έ Ή Ί) and errors with -MakeUppercase. +With the \emph{textalpha} package and inputencoding "utf8", Greek Unicode +characters can be used in text with any font encoding. -Therefore, we would need to define macros for all Unicode characters -that we want to access without explicit font-encoding change. +Combined Diacritics work ᾅ, diacritics (except diaresis) are dopped with +MakeUppercase (μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}), +% +but the Hiatus-detection does not work: Currently, the second vowel of the +diphthong must be given as macro, not Unicode literal: +(\TextGreek{ἀ\textupsilon{}πνία} $\mapsto$ +\TextGreek{\MakeUppercase{\TextGreek{ἀ\textupsilon{}πνία}}} vs. +\TextGreek{\MakeUppercase{\TextGreek{ἀυπνία}}}). +See \texttt{greek-unicode.[tex|psf]} for more details. + +No kerning occures between Greek characters in non-Greek text due to the +internal font encoding switch: \TextGreek{ΑΥΑ} (LGR) vs. ΑΥΑ (T1). + + +The following tables list Greek Unicode characters: + +\subsection{Greek and Coptic} + +* glyph missing in LGR, · Unicode point not defined + +\begin{tabular}{rrrrrrrrrrrrrrrrr} +\toprule +& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\\ +\midrule +370 & * & * & * & * & ʹ & ͵ & * & * & · & · & ͺ & * & * & * & ; & \\ +380 & · & · & · & · & ΄ & ΅ & Ά & · & Έ & Ή & Ί & · & Ό & · & Ύ & Ώ\\ +390 & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\ +3A0 & Π & Ρ & · & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\ +3B0 & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\ +3C0 & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\ +3D0 & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\ +3E0 & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ +3F0 & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ +\bottomrule +\end{tabular} + +\subsection{Greek Extended} + +\begin{tabular}{rrrrrrrrrrrrrrrrr} +\toprule +& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\\ +\midrule + 1F00 & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\ + 1F10 & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & · & · & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & · & \\ + 1F20 & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\ + 1F30 & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\ + 1F40 & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & · & · & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & · & \\ + 1F50 & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & · & Ὑ & · & Ὓ & · & Ὕ & · & Ὗ\\ + 1F60 & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\ + 1F70 & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & · & \\ + 1F80 & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\ + 1F90 & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\ + 1FA0 & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\ + 1FB0 & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & · & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\\ + 1Fc0 & ῀ & ῁ & ῂ & ῃ & ῄ & · & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\ + 1FD0 & ῐ & ῑ & ῒ & ΐ & · & · & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & · & ῝ & ῞ & ῟\\ + 1FE0 & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\ + 1FF0 & · & · & ῲ & ῳ & ῴ & · & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\ +\bottomrule +\end{tabular} -Alternative: A \verb+\TextGreek+ TextCommandDefault that wraps the argument in -the equivalent of Babel's \verb+\textgreek+ with an LGR TextCommand that -just passes the argument. This is done in the preamble of this document. -This works with the Babel transscription (\TextGreek{logos}), -keeps kerning (if the kerning pair is inside the argument, -\TextGreek{\textAlpha\textUpsilon\textAlpha}), -and allows iterative accent macros where pre-composed characters are -selected (\TextGreek{\DasiaOxia\textalpha} or -\TextGreek{\Dasia\Tonos\textalpha}). -TODO: Use this definition for multi-macro definitions in the Unicode -definition file? \end{document} diff --git a/Master/texmf-dist/doc/latex/lgrx/textalpha.sty.html b/Master/texmf-dist/doc/latex/lgrx/textalpha.sty.html index 12308b76711..3aee638ad16 100644 --- a/Master/texmf-dist/doc/latex/lgrx/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/lgrx/textalpha.sty.html @@ -4,13 +4,13 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" /> -<title>Greek symbols in text</title> +<title>textalpha: Greek symbols in text</title> <meta name="copyright" content="© 2010 Günter Milde" /> <style type="text/css"> /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $ +:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -250,10 +250,18 @@ pre.address { margin-top: 0 ; font: inherit } -pre.literal-block, pre.doctest-block, pre.math { +pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } +pre.code .ln { /* line numbers */ + color: grey; +} + +.code { + background-color: #eeeeee +} + span.classifier { font-family: sans-serif ; font-style: oblique } @@ -504,9 +512,10 @@ resulting list resembles the list-style 'outside' with a hanging indent. */ /* New ordered list: reset counter, suppress the default label */ -ol { +ol, ol.arabic, ol.loweralpha, ol.upperalpha, +ol.lowerroman, ol.upperroman { counter-reset: item; - list-style-type: none ! important; + list-style: none } /* Set the negative indent of the list label as feature of the list item */ @@ -568,6 +577,7 @@ ol.nested > li:before, ol.nested ol > li:before { dd > ul, dd > ol { padding-left: 0pt; +} /* TODO: prefix, suffix? */ @@ -684,8 +694,8 @@ div.hint, div.important, div.note, div.tip, div.warning { </style> </head> <body> -<div class="document" id="greek-symbols-in-text"> -<h1 class="title">Greek symbols in text</h1> +<div class="document" id="textalpha-greek-symbols-in-text"> +<h1 class="title">textalpha: Greek symbols in text</h1> <dl class="docinfo"> <dt class="copyright">Copyright</dt> @@ -698,8 +708,9 @@ version 1.3 of this license or any later version.</p> <dt>Identification</dt> <dd><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2010/08/04 v0.1 macros for Greek letters in text] +[2012/07/03 v0.2 macros for Greek letters in text] </pre> +<p>This package is part of the <a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle.</p> </dd> </dl> <div class="abstract topic"> @@ -707,6 +718,11 @@ version 1.3 of this license or any later version.</p> <p>Provide a set of <tt class="literal">\text*</tt> macros for Greek letters outside math.</p> </div> +<div class="note"> +<p class="admonition-title">Note</p> +<p>The package was renamed from <cite>textgreek</cite> to <cite>textalpha</cite> to prevent +confusion with the <a class="reference internal" href="#textgreek">textgreek</a> package by Leonard Michlmayr.</p> +</div> <dl class="docutils"> <dt>Changelog:</dt> <dd><table class="borderless"> @@ -720,16 +736,20 @@ outside math.</p> <td><p>0.1</p></td> <td><p>initial version</p></td> </tr> +<tr><td><p>2012-06-27</p></td> +<td><p>0.2</p></td> +<td><p>support for compound Unicode definitions outside LGR</p></td> +</tr> </tbody> </table> </dd> </dl> <div class="section" id="motivation"> <h1>Motivation</h1> -<p>By default, the <tt class="literal">\alpha</tt> -- <tt class="literal">\Omega</tt> macros for Greek letters</p> +<p>By default, macros for Greek letters</p> <ul class="simple"> -<li><p>are only valid in mathematical mode</p></li> -<li><p>do not change shape (default shape is italic)</p></li> +<li><p>are only valid in mathematical mode,</p></li> +<li><p>do not change shape (default shape is italic).</p></li> </ul> <p>In Greek text fonts with the LGR font encoding, letters are accessible by a Latin transcription.</p> @@ -751,22 +771,52 @@ is supported.</p></li> <a class="reference external" href="http://www.ctan.org/tex-archive/macros/latex/doc/fntguide.pdf">fntguide</a> (section 5.3).</p> <dl class="docutils"> <dt>Attention</dt> -<dd><p>While the macros work reasonably well for single letters, the -automatic font-encoding switches behind the doors destroy the -kerning between the letters.</p> -<p>Text composites (replacement of accent+character with a pre-composed -character) work in LGR, but not in other encodings (due to the -forth-and-back font encoding switch).</p> -<p>Therefore, Greek text should be written with the help of <a class="reference external" href="http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel">babel</a>, -setting the language to either <tt class="literal">greek</tt> or <tt class="literal">polutonikogreek</tt>.</p> +<dd><p>While the macros work reasonably well for single letters, the automatic +font-encoding switches behind the doors interferes with the kerning +between the letters and replacement of accent+character with a +pre-composed character.</p> +<p>Therefore, Greek text should be written with the help of <a class="reference external" href="http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel">babel</a>, setting +the language to either <tt class="literal">greek</tt> or <tt class="literal">polutonikogreek</tt> or wrapped in the +provided <tt class="literal">\TextGreek</tt> macro.</p> </dd> </dl> </div> <div class="section" id="implementation"> <h1>Implementation</h1> -<p>This package requires the extended font encoding definitions:</p> +<div class="section" id="requirements"> +<h2>Requirements</h2> +<p>This package requires the extended font encoding definitions</p> <pre class="literal-block">\input{lgrxenc.def} </pre> +</div> +<div class="section" id="textgreek"> +<h2>TextGreek</h2> +<p>The <tt class="literal">\TextGreek</tt> 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:</p> +<pre class="literal-block">\DeclareTextCommandDefault{\TextGreek}[1]{{\fontencoding{LGR}\selectfont #1}} +</pre> +<!-- 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{\TextGreek}{LGR}`` this fails with the table +of Unicode characters in the test document `<textalpha-test.tex>`__: + + ``! You can't use a prefix with `end-group character }'.`` --> +<p>Font encodings supporting Greek script (e.g. LGI) may declare a specific +text command that passes the argument unchanged. This way, kerning and +selection of precomposed glyphs work also for cases like +<tt class="literal"><span class="pre">\TextGreek{\'A}U</span></tt>.</p> +<!-- Do this for PU here? ``\DeclareTextCommand{\TextGreek}{PU}[1]{#1}`` + +Rather not: Not required, as hyperref's PDF string preparation +ignores unknown commands. Can lead to infinite recursion (``TeX capacity +exeeded``) without the ``unicode=true`` hyperref option.: --> +</div> <div class="section" id="greek-alphabet"> <h2>Greek Alphabet</h2> <p>Define the <tt class="literal">text*</tt> marcos as default for all font encodings:</p> @@ -821,6 +871,50 @@ setting the language to either <tt class="literal">greek</tt> or <tt class="lite \DeclareTextSymbolDefault{\textpsi}{LGR} \DeclareTextSymbolDefault{\textomega}{LGR} </pre> +<div class="section" id="additional-greek-symbols"> +<h3>Additional Greek symbols</h3> +<p>Ancient Greek Numbers (Athenian Numerals):</p> +<pre class="literal-block">\DeclareTextSymbolDefault{\PiDelta}{LGR} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbolDefault{\PiEta}{LGR} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbolDefault{\PiChi}{LGR} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbolDefault{\PiMu}{LGR} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +% \DeclareTextSymbolDefault{\pentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY +% \DeclareTextSymbolDefault{\pentehekaton}{LGR} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +% \DeclareTextSymbolDefault{\penteqilioi}{LGR} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +% \DeclareTextSymbolDefault{\pentemurioi}{LGR} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + +\DeclareTextSymbolDefault{\stigma}{LGR} % ϛ +\DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def) +\DeclareTextSymbolDefault{\varstigma}{LGR} % stigma variant (CB.enc, teubner) +% \DeclareTextSymbolDefault{\vardigamma}{LGR} % digamma variant (greek.ldf) +\DeclareTextSymbolDefault{\koppa}{LGR} % ϟ (greek small letter koppa) +\DeclareTextSymbolDefault{\textkoppagreek}{LGR} % ϟ (puenc.def) +\DeclareTextSymbolDefault{\qoppa}{LGR} % ϙ (archaic koppa) +\DeclareTextSymbolDefault{\Qoppa}{LGR} % Ϙ (archaic Koppa) +\DeclareTextSymbolDefault{\Stigma}{LGR} % ϹΤ ligature (teubner) +\DeclareTextSymbolDefault{\textStigmagreek}{LGR} % ϹΤ ligature (puenc.def) +\DeclareTextSymbolDefault{\Sampi}{LGR} % Ϡ +\DeclareTextSymbolDefault{\textSampigreek}{LGR} % Ϡ (puenc.def) +\DeclareTextSymbolDefault{\sampi}{LGR} % ϡ +\DeclareTextSymbolDefault{\textsampigreek}{LGR} % ϡ (puenc.def) +\DeclareTextSymbolDefault{\anoteleia}{LGR} % · +\DeclareTextSymbolDefault{\erotimatiko}{LGR} % ; +% \digamma used by amsmath! +\DeclareTextSymbolDefault{\ddigamma}{LGR} % ϝ (greek.ldf) +\DeclareTextSymbolDefault{\Digamma}{LGR} % Ϝ +\DeclareTextSymbolDefault{\textdigamma}{LGR} % ϝ alias using "text" prefix +\DeclareTextSymbolDefault{\textDigamma}{LGR} % Ϝ alias using "text" prefix +\DeclareTextSymbolDefault{\textdigammagreek}{LGR} % ϝ (puenc.def) +\DeclareTextSymbolDefault{\textDigammagreek}{LGR} % Ϝ (puenc.def) + +% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals +\DeclareTextSymbolDefault{\anwtonos}{LGR} % ʹ (Dexia keraia) +\DeclareTextSymbolDefault{\katwtonos}{LGR} % ͵ (Aristeri keraia) +% alias names for compatibility with hyperref's puenc.def: +\DeclareTextSymbolDefault{\textnumeralsigngreek}{LGR} +\DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} +</pre> +</div> </div> <div class="section" id="diacritics"> <h2>Diacritics</h2> @@ -845,6 +939,17 @@ default in any encoding:</p> \DeclareTextAccentDefault{\DialytikaVaria}{LGR} \DeclareTextAccentDefault{\DialytikaPerispomeni}{LGR} </pre> +<p>Postfix accents:</p> +<pre class="literal-block">\DeclareTextSymbolDefault{\Ypogegrammeni}{LGR} % "small" sub-iota +\DeclareTextSymbolDefault{\Prosgegrammeni}{LGR} % "capital" sub-iota +</pre> +</div> +<div class="section" id="auxiliary-commands"> +<h2>Auxiliary commands</h2> +<p><tt class="literal">\MakeUppercase</tt> requires some internal commands:</p> +<pre class="literal-block">\DeclareTextAccentDefault{\@hiatus}{LGR} +\DeclareTextAccentDefault{\up@Dialytika}{LGR} +</pre> <!-- References - - - - - - - - - - --> </div> diff --git a/Master/texmf-dist/tex/latex/lgrx/alphabeta.sty b/Master/texmf-dist/tex/latex/lgrx/alphabeta.sty new file mode 100644 index 00000000000..a6bedc8f6b5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lgrx/alphabeta.sty @@ -0,0 +1,335 @@ +% 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. +% +% :Identification: +% :: + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{alphabeta} +[2012/06/26 v0.1 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 +% ========== ===== ========================================================= +% +% Motivation +% ========== +% +% By default, the ``\alpha, \beta, ...`` macros for Greek letters +% are only valid in mathematical mode. +% +% The `textalpha` package provides a set of macros that can be used to +% access Greek symbols from a font in LGR encoding (e.g. the `CB fonts`_) +% without the need for an explicite font-encoding switch under the names +% ``\textalpha, \textbeta``, ..., ``\textOmega``. +% +% With this package, the math macros are redefined to work both, text and +% math, so that single Greek letters or simple words can be written with the +% established command names. +% +% Attention +% While the macros work reasonably well for single letters, the automatic +% font-encoding switches behind the doors interferes with the kerning +% between the 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 either ``greek`` or ``polutonikogreek`` or wrapped in the +% provided ``\TextGreek`` macro. +% +% +% Implementation +% ============== +% +% This package extends the `textalpha` package:: + +\RequirePackage{textalpha} + +% It uses the ``\TextOrMath`` test from the fixltx2e_ standard LaTeX +% package:: + +\RequirePackage{fixltx2e} + +% .. _fixltx2e: http://www.ctan.org/pkg/fixltx2e +% +% +% 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 + + +% 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, but we define an alias to the corrsponding ``\text...`` +% command. +% :: + +\newcommand{\Alpha}{\textAlpha} +\newcommand{\Beta}{\textBeta} +\renewcommand{\Gamma}{\TextOrMath{\textGamma}{\mathGamma}} +\renewcommand{\Delta}{\TextOrMath{\textDelta}{\mathDelta}} +\newcommand{\Epsilon}{\textEpsilon} +\newcommand{\Zeta}{\textZeta} +\newcommand{\Eta}{\textEta} +\renewcommand{\Theta}{\TextOrMath{\textTheta}{\mathTheta}} +\newcommand{\Iota}{\textIota} +\newcommand{\Kappa}{\textKappa} +\renewcommand{\Lambda}{\TextOrMath{\textLambda}{\mathLambda}} +\newcommand{\Mu}{\textMu} +\newcommand{\Nu}{\textNu} +\renewcommand{\Xi}{\TextOrMath{\textXi}{\mathXi}} +\newcommand{\Omicron}{\textOmicron} +\renewcommand{\Pi}{\TextOrMath{\textPi}{\mathPi}} +\newcommand{\Rho}{\textRho} +\renewcommand{\Sigma}{\TextOrMath{\textSigma}{\mathSigma}} +\newcommand{\Tau}{\textTau} +\renewcommand{\Upsilon}{\TextOrMath{\textUpsilon}{\mathUpsilon}} +\renewcommand{\Phi}{\TextOrMath{\textPhi}{\mathPhi}} +\newcommand{\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}} +\newcommand{\omicron}{\textomicron} +\renewcommand{\pi}{\TextOrMath{\textpi}{\mathpi}} +\renewcommand{\rho}{\TextOrMath{\textrho}{\mathrho}} +\renewcommand{\sigma}{\TextOrMath{\textsigma}{\mathsigma}} +\renewcommand{\varsigma}{\TextOrMath{\textvarsigma}{\mathvarsigma}} +\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}} + +% 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` (even so composition only works if the font encoding +% is LGR). :: + +\DeclareTextComposite{\Varia}{LGR}{\alpha}{128} +\DeclareTextComposite{\Dasia}{LGR}{\alpha}{129} +\DeclareTextComposite{\Psili}{LGR}{\alpha}{130} +\DeclareTextComposite{\DasiaVaria}{LGR}{\alpha}{131} +\DeclareTextComposite{\Tonos}{LGR}{\alpha}{136} +\DeclareTextComposite{\DasiaOxia}{LGR}{\alpha}{137} +\DeclareTextComposite{\PsiliOxia}{LGR}{\alpha}{138} +\DeclareTextComposite{\PsiliVaria}{LGR}{\alpha}{139} +\DeclareTextComposite{\Perispomeni}{LGR}{\alpha}{144} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\alpha}{145} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\alpha}{146} +\DeclareTextComposite{\Varia}{LGR}{\eta}{152} +\DeclareTextComposite{\Dasia}{LGR}{\eta}{153} +\DeclareTextComposite{\Psili}{LGR}{\eta}{154} +\DeclareTextComposite{\Tonos}{LGR}{\eta}{160} +\DeclareTextComposite{\DasiaOxia}{LGR}{\eta}{161} +\DeclareTextComposite{\PsiliOxia}{LGR}{\eta}{162} +\DeclareTextComposite{\DasiaVaria}{LGR}{\eta}{163} +\DeclareTextComposite{\Perispomeni}{LGR}{\eta}{168} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\eta}{169} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\eta}{170} +\DeclareTextComposite{\PsiliVaria}{LGR}{\eta}{171} +\DeclareTextComposite{\Varia}{LGR}{\omega}{176} +\DeclareTextComposite{\Dasia}{LGR}{\omega}{177} +\DeclareTextComposite{\Psili}{LGR}{\omega}{178} +\DeclareTextComposite{\DasiaVaria}{LGR}{\omega}{179} +\DeclareTextComposite{\Tonos}{LGR}{\omega}{184} +\DeclareTextComposite{\DasiaOxia}{LGR}{\omega}{185} +\DeclareTextComposite{\PsiliOxia}{LGR}{\omega}{186} +\DeclareTextComposite{\PsiliVaria}{LGR}{\omega}{187} +\DeclareTextComposite{\Perispomeni}{LGR}{\omega}{192} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\omega}{193} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\omega}{194} +\DeclareTextComposite{\Varia}{LGR}{\iota}{200} +\DeclareTextComposite{\Dasia}{LGR}{\iota}{201} +\DeclareTextComposite{\Psili}{LGR}{\iota}{202} +\DeclareTextComposite{\DasiaVaria}{LGR}{\iota}{203} +\DeclareTextComposite{\Tonos}{LGR}{\iota}{208} +\DeclareTextComposite{\DasiaOxia}{LGR}{\iota}{209} +\DeclareTextComposite{\PsiliOxia}{LGR}{\iota}{210} +\DeclareTextComposite{\PsiliVaria}{LGR}{\iota}{211} +\DeclareTextComposite{\Perispomeni}{LGR}{\iota}{216} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\iota}{217} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\iota}{218} +\DeclareTextComposite{\Dialytika}{LGR}{\iota}{240} +\DeclareTextComposite{\DialytikaVaria}{LGR}{\iota}{241} +\DeclareTextComposite{\DialytikaTonos}{LGR}{\iota}{242} +\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{\iota}{243} +\DeclareTextComposite{\Varia}{LGR}{\upsilon}{204} +\DeclareTextComposite{\Dasia}{LGR}{\upsilon}{205} +\DeclareTextComposite{\Psili}{LGR}{\upsilon}{206} +\DeclareTextComposite{\DasiaVaria}{LGR}{\upsilon}{207} +\DeclareTextComposite{\Tonos}{LGR}{\upsilon}{212} +\DeclareTextComposite{\DasiaOxia}{LGR}{\upsilon}{213} +\DeclareTextComposite{\PsiliOxia}{LGR}{\upsilon}{214} +\DeclareTextComposite{\PsiliVaria}{LGR}{\upsilon}{215} +\DeclareTextComposite{\Perispomeni}{LGR}{\upsilon}{220} +\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\upsilon}{221} +\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\upsilon}{222} +\DeclareTextComposite{\Dialytika}{LGR}{\upsilon}{244} +\DeclareTextComposite{\DialytikaVaria}{LGR}{\upsilon}{245} +\DeclareTextComposite{\DialytikaTonos}{LGR}{\upsilon}{246} +\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{\upsilon}{247} +\DeclareTextComposite{\Varia}{LGR}{\epsilon}{224} +\DeclareTextComposite{\Dasia}{LGR}{\epsilon}{225} +\DeclareTextComposite{\Psili}{LGR}{\epsilon}{226} +\DeclareTextComposite{\DasiaVaria}{LGR}{\epsilon}{227} +\DeclareTextComposite{\Tonos}{LGR}{\epsilon}{232} +\DeclareTextComposite{\DasiaOxia}{LGR}{\epsilon}{233} +\DeclareTextComposite{\PsiliOxia}{LGR}{\epsilon}{234} +\DeclareTextComposite{\PsiliVaria}{LGR}{\epsilon}{235} +\DeclareTextComposite{\Varia}{LGR}{\omicron}{228} +\DeclareTextComposite{\Dasia}{LGR}{\omicron}{229} +\DeclareTextComposite{\Psili}{LGR}{\omicron}{230} +\DeclareTextComposite{\DasiaVaria}{LGR}{\omicron}{231} +\DeclareTextComposite{\Tonos}{LGR}{\omicron}{236} +\DeclareTextComposite{\DasiaOxia}{LGR}{\omicron}{237} +\DeclareTextComposite{\PsiliOxia}{LGR}{\omicron}{238} +\DeclareTextComposite{\PsiliVaria}{LGR}{\omicron}{239} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Alpha}{<A} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Alpha}{<`A} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Alpha}{<'A} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Alpha}{<\char126A} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Alpha}{>A} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Alpha}{>`A} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Alpha}{>'A} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Alpha}{>\char126A} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Alpha}{'A} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Alpha}{`A} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Epsilon}{<E} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Epsilon}{<'E} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Epsilon}{<`E} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Epsilon}{>E} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Epsilon}{>'E} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Epsilon}{>`E} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Epsilon}{'E} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Epsilon}{`E} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Eta}{<H} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Eta}{<`H} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Eta}{<'H} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Eta}{<\char126H} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Eta}{>H} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Eta}{>`H} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Eta}{>'H} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Eta}{>\char126H} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Eta}{'H} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Eta}{`H} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Iota}{<I} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Iota}{<`I} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Iota}{<'I} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Iota}{<\char126I} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Iota}{>I} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Iota}{>`I} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Iota}{>'I} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Iota}{>\char126I} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Iota}{'I} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Iota}{`I} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Omicron}{<O} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Omicron}{<`O} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Omicron}{<'O} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Omicron}{>O} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Omicron}{>`O} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Omicron}{>'O} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Omicron}{'O} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Omicron}{`O} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Upsilon}{<U} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Upsilon}{<`U} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Upsilon}{<'U} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Upsilon}{<\char126U} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Upsilon}{'U} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Upsilon}{`U} +\DeclareTextCompositeCommand{\Dasia}{LGR}{\Omega}{<W} +\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\Omega}{<`W} +\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\Omega}{<'W} +\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\Omega}{<\char126W} +\DeclareTextCompositeCommand{\Psili}{LGR}{\Omega}{>W} +\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\Omega}{>`W} +\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\Omega}{>'W} +\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\Omega}{>\char126W} +\DeclareTextCompositeCommand{\Tonos}{LGR}{\Omega}{'W} +\DeclareTextCompositeCommand{\Varia}{LGR}{\Omega}{`W} +\DeclareTextComposite{\Dialytika}{LGR}{\Iota}{219} +\DeclareTextComposite{\Dialytika}{LGR}{\Upsilon}{223} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\Alpha}{\A@hiatus} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\Epsilon}{\E@hiatus} + + +% .. 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 +% .. _lgrx: http://www.ctan.org/pkg/lgrx +% .. _fixltx2e: http://www.ctan.org/pkg/fixltx2e diff --git a/Master/texmf-dist/tex/latex/lgrx/lgrenc.dfu b/Master/texmf-dist/tex/latex/lgrx/lgrenc.dfu index de8fcb5a565..d9a98088421 100644 --- a/Master/texmf-dist/tex/latex/lgrx/lgrenc.dfu +++ b/Master/texmf-dist/tex/latex/lgrx/lgrenc.dfu @@ -1,43 +1,62 @@ % lgrenc.dfu: Greek Unicode support using LGR fonts % ================================================== -% +% % :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. -% -% Based on a `babel patch`_ by Werner Lemberg, with input from the ucs -% package (``ucsencs.def``) by Dominique Unruh and ``CB.enc`` by -% Apostolos Syropoulos. -% -% :: +% :Identification: +% :: -\ProvidesFile{lgrenc.dfu}[2010/06/15 0.1 UTF-8 support for Greek] +\ProvidesFile{lgrenc.dfu}[2012/07/03 0.2 UTF-8 support for Greek] +% This package is part of the lgrx_ bundle. +% +% Based on a `babel patch`_ by Werner Lemberg, with input from the ucs_ +% package (``ucsencs.def``) by Dominique Unruh and ``CB.enc`` by +% Apostolos Syropoulos. +% +% Changelog: +% .. class:: borderless +% +% ========== ===== ========================================================= +% 2010-06-16 0.1 initial version +% 2012-06-27 0.2 support for accented Greek characters with textalpha_ +% ========== ===== ========================================================= +% % Usage % ----- -% +% % Requires extended font encoding definitions from ``lgrxenc.def``: -% +% % ``\usepackage[LGRx,T1]{fontenc}`` % define LGR and T1 encodings % ``\usepackage[utf8]{inputenc}`` % standard UTF-8 input encoding -% -% Note: as the LGRx option define the ``LGR`` (not ``LGRx``) font -% encoding, it cannot be given as last option! Use, e.g., -% ``\usepackage[LGRx,T1,LGR]{fontenc}`` to make LGR the default. -% -% All text containing Greek Unicode characters must be marked as -% requiring the LGR font encoding (either directly or by setting the -% language to ``greek`` or ``polutonikogreek``). -% -% +% +% .. Note:: as the LGRx option define the ``LGR`` (not ``LGRx``) font +% encoding, it cannot be given as last option! Use, e.g., +% ``\usepackage[LGRx,T1,LGR]{fontenc}`` to make LGR the default. +% +% By default, text containing Greek Unicode characters must be marked as +% requiring a font encoding that supports Greek script, e.g. by setting the +% language to ``greek`` or ``polutonikogreek``. This is a generic feature of +% inputenc_'s `utf8` option (an equivalent restriction holds for the Cyrillic +% script). +% +% With the textalpha_ or alphabeta_ packages of this bundle, Greek Unicode +% literals can be used without special markup also in non-Greek documents: +% +% ``\usepackage[utf8]{inputenc}`` % standard UTF-8 input encoding +% ``\usepackage[T1]{fontenc}`` % use T1 font encoding as default +% ``\usepackage{textalpha}`` % also loads lgrxenc.def +% +% % Character Declarations % ---------------------- -% +% % Some characters exist in other font encodings too. Care has been taken % to ensure the definitions match with other ``*.dfu`` and ``*enc.def`` % files. -% +% % Latin-1 Supplement (T1) % ~~~~~~~~~~~~~~~~~~~~~~~ % :: @@ -61,7 +80,6 @@ \DeclareUnicodeCharacter{02D8}{\textasciibreve} % ˘ - % General Punctuation % ~~~~~~~~~~~~~~~~~~~ % :: @@ -82,395 +100,406 @@ \DeclareUnicodeCharacter{20AC}{\texteuro} % € -% Letterlike Symbols -% ~~~~~~~~~~~~~~~~~~ -% :: - -% TODO: define this (as it looks like) or not (as it is not the same)? -% \DeclareUnicodeCharacter{2126}{\textohm} % Ω (Ohm sign ≠ Omega) - % Greek and Coptic % ~~~~~~~~~~~~~~~~ +% +% When there are different names for a Greek letter, use the one from +% PUenc.dfu (hyperref's PDF-Unicode encoding) as this is the one most likely +% to be used together with this file. +% +% Use ``\TextGreek`` for compound definitions of Unicode characters to make +% sure accented characters work in any font encoding if the textalpha_ package +% is used:: + +% NR Unicode Name % babel name, UCS name +% 0370 GREEK CAPITAL LETTER HETA % Ͱ +% 0371 GREEK SMALL LETTER HETA % ͱ +% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ +% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ +\DeclareUnicodeCharacter{0374}{\textnumeralsigngreek} % ʹ \anwtonos, \textdexiakeraia +\DeclareUnicodeCharacter{0375}{\textnumeralsignlowergreek} % ͵ \katwtonos, \textaristerikeraia, +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ + +\DeclareUnicodeCharacter{037A}{\textcompwordmark\Ypogegrammeni} % ͺ \textsubiota{\empty} +% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % +% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % +% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % +\DeclareUnicodeCharacter{037E}{\erotimatiko} % ; \textquestion + +\DeclareUnicodeCharacter{0384}{\TextGreek{\@tabacckludge'\textcompwordmark}} % ΄ +\DeclareUnicodeCharacter{0385}{\TextGreek{\"'\textcompwordmark}} % ΅ \textdialytikatonos{\empty}} +\DeclareUnicodeCharacter{0386}{\TextGreek{\@tabacckludge'\textAlpha}} % Ά +\DeclareUnicodeCharacter{0387}{\anoteleia} % · \textanoteleia +\DeclareUnicodeCharacter{0388}{\TextGreek{\@tabacckludge'\textEpsilon}} % Έ +\DeclareUnicodeCharacter{0389}{\TextGreek{\@tabacckludge'\textEta}} % Ή +\DeclareUnicodeCharacter{038A}{\TextGreek{\@tabacckludge'\textIota}} % Ί +\DeclareUnicodeCharacter{038C}{\TextGreek{\@tabacckludge'\textOmicron}} % Ό +\DeclareUnicodeCharacter{038E}{\TextGreek{\@tabacckludge'\textUpsilon}} % Ύ +\DeclareUnicodeCharacter{038F}{\TextGreek{\@tabacckludge'\textOmega}} % Ώ +\DeclareUnicodeCharacter{0390}{\TextGreek{\"'\textiota}} % ΐ \textdialytikatonos\textiota + +\DeclareUnicodeCharacter{0391}{\textAlpha} % Α +\DeclareUnicodeCharacter{0392}{\textBeta} % Β +\DeclareUnicodeCharacter{0393}{\textGamma} % Γ +\DeclareUnicodeCharacter{0394}{\textDelta} % Δ +\DeclareUnicodeCharacter{0395}{\textEpsilon} % Ε +\DeclareUnicodeCharacter{0396}{\textZeta} % Ζ +\DeclareUnicodeCharacter{0397}{\textEta} % Η +\DeclareUnicodeCharacter{0398}{\textTheta} % Θ +\DeclareUnicodeCharacter{0399}{\textIota} % Ι +\DeclareUnicodeCharacter{039A}{\textKappa} % Κ +\DeclareUnicodeCharacter{039B}{\textLambda} % Λ +\DeclareUnicodeCharacter{039C}{\textMu} % Μ +\DeclareUnicodeCharacter{039D}{\textNu} % Ν +\DeclareUnicodeCharacter{039E}{\textXi} % Ξ +\DeclareUnicodeCharacter{039F}{\textOmicron} % Ο +\DeclareUnicodeCharacter{03A0}{\textPi} % Π +\DeclareUnicodeCharacter{03A1}{\textRho} % Ρ +\DeclareUnicodeCharacter{03A3}{\textSigma} % Σ +\DeclareUnicodeCharacter{03A4}{\textTau} % Τ +\DeclareUnicodeCharacter{03A5}{\textUpsilon} % Υ +\DeclareUnicodeCharacter{03A6}{\textPhi} % Φ +\DeclareUnicodeCharacter{03A7}{\textChi} % Χ +\DeclareUnicodeCharacter{03A8}{\textPsi} % Ψ +\DeclareUnicodeCharacter{03A9}{\textOmega} % Ω + +\DeclareUnicodeCharacter{03AA}{\TextGreek{\"\textIota}} % Ϊ +\DeclareUnicodeCharacter{03AB}{\TextGreek{\"\textUpsilon}} % Ϋ +\DeclareUnicodeCharacter{03AC}{\TextGreek{\@tabacckludge'\textalpha}} % ά +\DeclareUnicodeCharacter{03AD}{\TextGreek{\@tabacckludge'\textepsilon}} % έ +\DeclareUnicodeCharacter{03AE}{\TextGreek{\@tabacckludge'\texteta}} % ή +\DeclareUnicodeCharacter{03AF}{\TextGreek{\@tabacckludge'\textiota}} % ί +\DeclareUnicodeCharacter{03B0}{\TextGreek{\"'\textupsilon}} % ΰ \textdialytikatonos\textupsilon, \"\textupsilonacute + +\DeclareUnicodeCharacter{03B1}{\textalpha} % α +\DeclareUnicodeCharacter{03B2}{\textbeta} % β +\DeclareUnicodeCharacter{03B3}{\textgamma} % γ +\DeclareUnicodeCharacter{03B4}{\textdelta} % δ +\DeclareUnicodeCharacter{03B5}{\textepsilon} % ε +\DeclareUnicodeCharacter{03B6}{\textzeta} % ζ +\DeclareUnicodeCharacter{03B7}{\texteta} % η +\DeclareUnicodeCharacter{03B8}{\texttheta} % θ +\DeclareUnicodeCharacter{03B9}{\textiota} % ι +\DeclareUnicodeCharacter{03BA}{\textkappa} % κ +\DeclareUnicodeCharacter{03BB}{\textlambda} % λ +\DeclareUnicodeCharacter{03BC}{\textmu} % μ \textmu, \textmugreek +\DeclareUnicodeCharacter{03BD}{\textnu} % ν +\DeclareUnicodeCharacter{03BE}{\textxi} % ξ +\DeclareUnicodeCharacter{03BF}{\textomicron} % ο +\DeclareUnicodeCharacter{03C0}{\textpi} % π +\DeclareUnicodeCharacter{03C1}{\textrho} % ρ +\DeclareUnicodeCharacter{03C2}{\textvarsigma} % ς +\DeclareUnicodeCharacter{03C3}{\textsigma} % σ +\DeclareUnicodeCharacter{03C4}{\texttau} % τ +\DeclareUnicodeCharacter{03C5}{\textupsilon} % υ +\DeclareUnicodeCharacter{03C6}{\textphi} % φ +\DeclareUnicodeCharacter{03C7}{\textchi} % χ +\DeclareUnicodeCharacter{03C8}{\textpsi} % ψ +\DeclareUnicodeCharacter{03C9}{\textomega} % ω + +\DeclareUnicodeCharacter{03CA}{\TextGreek{\"\textiota}} % ϊ +\DeclareUnicodeCharacter{03CB}{\TextGreek{\"\textupsilon}} % ϋ +\DeclareUnicodeCharacter{03CC}{\TextGreek{\@tabacckludge'\textomicron}} % ό +\DeclareUnicodeCharacter{03CD}{\TextGreek{\@tabacckludge'\textupsilon}} % ύ +\DeclareUnicodeCharacter{03CE}{\TextGreek{\@tabacckludge'\textomega}} % ώ + +\DeclareUnicodeCharacter{03D8}{\Qoppa} % Ϙ +\DeclareUnicodeCharacter{03D9}{\qoppa} % ϙ +\DeclareUnicodeCharacter{03DA}{\textStigmagreek} % Ϛ \Stigma +\DeclareUnicodeCharacter{03DB}{\textstigmagreek} % ϛ \stigma, \textstigma +\DeclareUnicodeCharacter{03DC}{\textDigammagreek} % Ϝ \Digamma, \textDigamma +\DeclareUnicodeCharacter{03DD}{\textdigammagreek} % ϝ \ddigamma, \textdigamma +%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek +\DeclareUnicodeCharacter{03DF}{\textkoppagreek} % ϟ \koppa, \textqoppa [sic!] +\DeclareUnicodeCharacter{03E0}{\textSampigreek} % Ϡ \Sampi +\DeclareUnicodeCharacter{03E1}{\textsampigreek} % ϡ \sampi, \textsampi + +% Greek Extended +% ~~~~~~~~~~~~~~ % :: -% NR Unicode Name % UCS-name, PU-(hyperre)-fname -% 0370 GREEK CAPITAL LETTER HETA % Ͱ -% 0371 GREEK SMALL LETTER HETA % ͱ -% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ -% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ -\DeclareUnicodeCharacter{0374}{\anwtonos} % ʹ \textdexiakeraia, \textnumeralsigngreek -\DeclareUnicodeCharacter{0375}{\katwtonos} % ͵ \textaristerikeraia, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - -\DeclareUnicodeCharacter{037A}{\textcompwordmark\Ypogegrammeni} % ͺ \textsubiota{\empty} -% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % -% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % -% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % -\DeclareUnicodeCharacter{037E}{\erotimatiko} % ; \textquestion - -\DeclareUnicodeCharacter{0384}{\@tabacckludge'\textcompwordmark} % ΄ -\DeclareUnicodeCharacter{0385}{\"'\textcompwordmark} % ΅ \textdialytikatonos{\empty} -\DeclareUnicodeCharacter{0386}{\@tabacckludge'\textAlpha} % Ά -\DeclareUnicodeCharacter{0387}{\anoteleia} % · \textanoteleia -\DeclareUnicodeCharacter{0388}{\@tabacckludge'\textEpsilon} % Έ -\DeclareUnicodeCharacter{0389}{\@tabacckludge'\textEta} % Ή -\DeclareUnicodeCharacter{038A}{\@tabacckludge'\textIota} % Ί -\DeclareUnicodeCharacter{038C}{\@tabacckludge'\textOmicron} % Ό -\DeclareUnicodeCharacter{038E}{\@tabacckludge'\textUpsilon} % Ύ -\DeclareUnicodeCharacter{038F}{\@tabacckludge'\textOmega} % Ώ -\DeclareUnicodeCharacter{0390}{\"'\textiota} % ΐ \textdialytikatonos\textiota - -\DeclareUnicodeCharacter{0391}{\textAlpha} % Α -\DeclareUnicodeCharacter{0392}{\textBeta} % Β -\DeclareUnicodeCharacter{0393}{\textGamma} % Γ -\DeclareUnicodeCharacter{0394}{\textDelta} % Δ -\DeclareUnicodeCharacter{0395}{\textEpsilon} % Ε -\DeclareUnicodeCharacter{0396}{\textZeta} % Ζ -\DeclareUnicodeCharacter{0397}{\textEta} % Η -\DeclareUnicodeCharacter{0398}{\textTheta} % Θ -\DeclareUnicodeCharacter{0399}{\textIota} % Ι -\DeclareUnicodeCharacter{039A}{\textKappa} % Κ -\DeclareUnicodeCharacter{039B}{\textLambda} % Λ -\DeclareUnicodeCharacter{039C}{\textMu} % Μ -\DeclareUnicodeCharacter{039D}{\textNu} % Ν -\DeclareUnicodeCharacter{039E}{\textXi} % Ξ -\DeclareUnicodeCharacter{039F}{\textOmicron} % Ο -\DeclareUnicodeCharacter{03A0}{\textPi} % Π -\DeclareUnicodeCharacter{03A1}{\textRho} % Ρ -\DeclareUnicodeCharacter{03A3}{\textSigma} % Σ -\DeclareUnicodeCharacter{03A4}{\textTau} % Τ -\DeclareUnicodeCharacter{03A5}{\textUpsilon} % Υ -\DeclareUnicodeCharacter{03A6}{\textPhi} % Φ -\DeclareUnicodeCharacter{03A7}{\textChi} % Χ -\DeclareUnicodeCharacter{03A8}{\textPsi} % Ψ -\DeclareUnicodeCharacter{03A9}{\textOmega} % Ω - -\DeclareUnicodeCharacter{03AA}{\"\textIota} % Ϊ -\DeclareUnicodeCharacter{03AB}{\"\textUpsilon} % Ϋ -\DeclareUnicodeCharacter{03AC}{\@tabacckludge'\textalpha} % ά -\DeclareUnicodeCharacter{03AD}{\@tabacckludge'\textepsilon} % έ -\DeclareUnicodeCharacter{03AE}{\@tabacckludge'\texteta} % ή -\DeclareUnicodeCharacter{03AF}{\@tabacckludge'\textiota} % ί -\DeclareUnicodeCharacter{03B0}{\"'\textupsilon} % ΰ \textdialytikatonos\textupsilon, \"\textupsilonacute - -\DeclareUnicodeCharacter{03B1}{\textalpha} % α -\DeclareUnicodeCharacter{03B2}{\textbeta} % β -\DeclareUnicodeCharacter{03B3}{\textgamma} % γ -\DeclareUnicodeCharacter{03B4}{\textdelta} % δ -\DeclareUnicodeCharacter{03B5}{\textepsilon} % ε -\DeclareUnicodeCharacter{03B6}{\textzeta} % ζ -\DeclareUnicodeCharacter{03B7}{\texteta} % η -\DeclareUnicodeCharacter{03B8}{\texttheta} % θ -\DeclareUnicodeCharacter{03B9}{\textiota} % ι -\DeclareUnicodeCharacter{03BA}{\textkappa} % κ -\DeclareUnicodeCharacter{03BB}{\textlambda} % λ -\DeclareUnicodeCharacter{03BC}{\textmu} % μ \textmu, \textmugreek -\DeclareUnicodeCharacter{03BD}{\textnu} % ν -\DeclareUnicodeCharacter{03BE}{\textxi} % ξ -\DeclareUnicodeCharacter{03BF}{\textomicron} % ο -\DeclareUnicodeCharacter{03C0}{\textpi} % π -\DeclareUnicodeCharacter{03C1}{\textrho} % ρ -\DeclareUnicodeCharacter{03C2}{\textvarsigma} % ς -\DeclareUnicodeCharacter{03C3}{\textsigma} % σ -\DeclareUnicodeCharacter{03C4}{\texttau} % τ -\DeclareUnicodeCharacter{03C5}{\textupsilon} % υ -\DeclareUnicodeCharacter{03C6}{\textphi} % φ -\DeclareUnicodeCharacter{03C7}{\textchi} % χ -\DeclareUnicodeCharacter{03C8}{\textpsi} % ψ -\DeclareUnicodeCharacter{03C9}{\textomega} % ω - -\DeclareUnicodeCharacter{03CA}{\"\textiota} % ϊ -\DeclareUnicodeCharacter{03CB}{\"\textupsilon} % ϋ -\DeclareUnicodeCharacter{03CC}{\@tabacckludge'\textomicron} % ό -\DeclareUnicodeCharacter{03CD}{\@tabacckludge'\textupsilon} % ύ -\DeclareUnicodeCharacter{03CE}{\@tabacckludge'\textomega} % ώ - -\DeclareUnicodeCharacter{03D8}{\Qoppa} % Ϙ -\DeclareUnicodeCharacter{03D9}{\qoppa} % ϙ -\DeclareUnicodeCharacter{03DA}{\Stigma} % Ϛ \textStigmagreek -\DeclareUnicodeCharacter{03DB}{\stigma} % ϛ \textstigma \textstigmagreek -\DeclareUnicodeCharacter{03DC}{\Digamma} % Ϝ \textDigamma \textDigammagreek -\DeclareUnicodeCharacter{03DD}{\ddigamma} % ϝ \textdigamma \textdigammagreek -%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek -\DeclareUnicodeCharacter{03DF}{\koppa} % ϟ \textqoppa [sic!] \textkoppagreek -\DeclareUnicodeCharacter{03E0}{\Sampi} % Ϡ \textSampigreek -\DeclareUnicodeCharacter{03E1}{\sampi} % ϡ \textsanpi \textsampigreek - -% Greek Extended -% ~~~~~~~~~~~~~~ -% :: - -\DeclareUnicodeCharacter{1F00}{\@tabacckludge>\textalpha} % ἀ -\DeclareUnicodeCharacter{1F01}{\@tabacckludge<\textalpha} % ἁ -\DeclareUnicodeCharacter{1F02}{\@tabacckludge>`\textalpha} % ἂ -\DeclareUnicodeCharacter{1F03}{\@tabacckludge<`\textalpha} % ἃ -\DeclareUnicodeCharacter{1F04}{\@tabacckludge>'\textalpha} % ἄ -\DeclareUnicodeCharacter{1F05}{\@tabacckludge<'\textalpha} % ἅ -\DeclareUnicodeCharacter{1F06}{\@tabacckludge>~\textalpha} % ἆ -\DeclareUnicodeCharacter{1F07}{\@tabacckludge<\~\textalpha} % ἇ -\DeclareUnicodeCharacter{1F08}{\@tabacckludge>\textAlpha} % Ἀ -\DeclareUnicodeCharacter{1F09}{\@tabacckludge<\textAlpha} % Ἁ -\DeclareUnicodeCharacter{1F0A}{\@tabacckludge>`\textAlpha} % Ἂ -\DeclareUnicodeCharacter{1F0B}{\@tabacckludge<`\textAlpha} % Ἃ -\DeclareUnicodeCharacter{1F0C}{\@tabacckludge>'\textAlpha} % Ἄ -\DeclareUnicodeCharacter{1F0D}{\@tabacckludge<'\textAlpha} % Ἅ -\DeclareUnicodeCharacter{1F0E}{\@tabacckludge>~\textAlpha} % Ἆ -\DeclareUnicodeCharacter{1F0F}{\@tabacckludge<\~\textAlpha} % Ἇ - -\DeclareUnicodeCharacter{1F10}{\@tabacckludge>\textepsilon} % ἐ -\DeclareUnicodeCharacter{1F11}{\@tabacckludge<\textepsilon} % ἑ -\DeclareUnicodeCharacter{1F12}{\@tabacckludge>`\textepsilon} % ἒ -\DeclareUnicodeCharacter{1F13}{\@tabacckludge<`\textepsilon} % ἓ -\DeclareUnicodeCharacter{1F14}{\@tabacckludge>'\textepsilon} % ἔ -\DeclareUnicodeCharacter{1F15}{\@tabacckludge<'\textepsilon} % ἕ -\DeclareUnicodeCharacter{1F18}{\@tabacckludge>\textEpsilon} % Ἐ -\DeclareUnicodeCharacter{1F19}{\@tabacckludge<\textEpsilon} % Ἑ -\DeclareUnicodeCharacter{1F1A}{\@tabacckludge>`\textEpsilon} % Ἒ -\DeclareUnicodeCharacter{1F1B}{\@tabacckludge<`\textEpsilon} % Ἓ -\DeclareUnicodeCharacter{1F1C}{\@tabacckludge>'\textEpsilon} % Ἔ -\DeclareUnicodeCharacter{1F1D}{\@tabacckludge<'\textEpsilon} % Ἕ - -\DeclareUnicodeCharacter{1F20}{\@tabacckludge>\texteta} % ἠ -\DeclareUnicodeCharacter{1F21}{\@tabacckludge<\texteta} % ἡ -\DeclareUnicodeCharacter{1F22}{\@tabacckludge>`\texteta} % ἢ -\DeclareUnicodeCharacter{1F23}{\@tabacckludge<`\texteta} % ἣ -\DeclareUnicodeCharacter{1F24}{\@tabacckludge>'\texteta} % ἤ -\DeclareUnicodeCharacter{1F25}{\@tabacckludge<'\texteta} % ἥ -\DeclareUnicodeCharacter{1F26}{\@tabacckludge>~\texteta} % ἦ -\DeclareUnicodeCharacter{1F27}{\@tabacckludge<\~\texteta} % ἧ -\DeclareUnicodeCharacter{1F28}{\@tabacckludge>\textEta} % Ἠ -\DeclareUnicodeCharacter{1F29}{\@tabacckludge<\textEta} % Ἡ -\DeclareUnicodeCharacter{1F2A}{\@tabacckludge>`\textEta} % Ἢ -\DeclareUnicodeCharacter{1F2B}{\@tabacckludge<`\textEta} % Ἣ -\DeclareUnicodeCharacter{1F2C}{\@tabacckludge>'\textEta} % Ἤ -\DeclareUnicodeCharacter{1F2D}{\@tabacckludge<'\textEta} % Ἥ -\DeclareUnicodeCharacter{1F2E}{\@tabacckludge>~\textEta} % Ἦ -\DeclareUnicodeCharacter{1F2F}{\@tabacckludge<\~\textEta} % Ἧ - -\DeclareUnicodeCharacter{1F30}{\@tabacckludge>\textiota} % ἰ -\DeclareUnicodeCharacter{1F31}{\@tabacckludge<\textiota} % ἱ -\DeclareUnicodeCharacter{1F32}{\@tabacckludge>`\textiota} % ἲ -\DeclareUnicodeCharacter{1F33}{\@tabacckludge<`\textiota} % ἳ -\DeclareUnicodeCharacter{1F34}{\@tabacckludge>'\textiota} % ἴ -\DeclareUnicodeCharacter{1F35}{\@tabacckludge<'\textiota} % ἵ -\DeclareUnicodeCharacter{1F36}{\@tabacckludge>~\textiota} % ἶ -\DeclareUnicodeCharacter{1F37}{\@tabacckludge<\~\textiota} % ἷ -\DeclareUnicodeCharacter{1F38}{\@tabacckludge>\textIota} % Ἰ -\DeclareUnicodeCharacter{1F39}{\@tabacckludge<\textIota} % Ἱ -\DeclareUnicodeCharacter{1F3A}{\@tabacckludge>`\textIota} % Ἲ -\DeclareUnicodeCharacter{1F3B}{\@tabacckludge<`\textIota} % Ἳ -\DeclareUnicodeCharacter{1F3C}{\@tabacckludge>'\textIota} % Ἴ -\DeclareUnicodeCharacter{1F3D}{\@tabacckludge<'\textIota} % Ἵ -\DeclareUnicodeCharacter{1F3E}{\@tabacckludge>~\textIota} % Ἶ -\DeclareUnicodeCharacter{1F3F}{\@tabacckludge<\~\textIota} % Ἷ - -\DeclareUnicodeCharacter{1F40}{\@tabacckludge>\textomicron} % ὀ -\DeclareUnicodeCharacter{1F41}{\@tabacckludge<\textomicron} % ὁ -\DeclareUnicodeCharacter{1F42}{\@tabacckludge>`\textomicron} % ὂ -\DeclareUnicodeCharacter{1F43}{\@tabacckludge<`\textomicron} % ὃ -\DeclareUnicodeCharacter{1F44}{\@tabacckludge>'\textomicron} % ὄ -\DeclareUnicodeCharacter{1F45}{\@tabacckludge<'\textomicron} % ὅ -\DeclareUnicodeCharacter{1F48}{\@tabacckludge>\textOmicron} % Ὀ -\DeclareUnicodeCharacter{1F49}{\@tabacckludge<\textOmicron} % Ὁ -\DeclareUnicodeCharacter{1F4A}{\@tabacckludge>`\textOmicron} % Ὂ -\DeclareUnicodeCharacter{1F4B}{\@tabacckludge<`\textOmicron} % Ὃ -\DeclareUnicodeCharacter{1F4C}{\@tabacckludge>'\textOmicron} % Ὄ -\DeclareUnicodeCharacter{1F4D}{\@tabacckludge<'\textOmicron} % Ὅ - -\DeclareUnicodeCharacter{1F50}{\@tabacckludge>\textupsilon} % ὐ -\DeclareUnicodeCharacter{1F51}{\@tabacckludge<\textupsilon} % ὑ -\DeclareUnicodeCharacter{1F52}{\@tabacckludge>`\textupsilon} % ὒ -\DeclareUnicodeCharacter{1F53}{\@tabacckludge<`\textupsilon} % ὓ -\DeclareUnicodeCharacter{1F54}{\@tabacckludge>'\textupsilon} % ὔ -\DeclareUnicodeCharacter{1F55}{\@tabacckludge<'\textupsilon} % ὕ -\DeclareUnicodeCharacter{1F56}{\@tabacckludge>~\textupsilon} % ὖ -\DeclareUnicodeCharacter{1F57}{\@tabacckludge<\~\textupsilon} % ὗ -\DeclareUnicodeCharacter{1F59}{\@tabacckludge<\textUpsilon} % Ὑ -\DeclareUnicodeCharacter{1F5B}{\@tabacckludge<`\textUpsilon} % Ὓ -\DeclareUnicodeCharacter{1F5D}{\@tabacckludge<'\textUpsilon} % Ὕ -\DeclareUnicodeCharacter{1F5F}{\@tabacckludge<\~\textUpsilon} % Ὗ - -\DeclareUnicodeCharacter{1F60}{\@tabacckludge>\textomega} % ὠ -\DeclareUnicodeCharacter{1F61}{\@tabacckludge<\textomega} % ὡ -\DeclareUnicodeCharacter{1F62}{\@tabacckludge>`\textomega} % ὢ -\DeclareUnicodeCharacter{1F63}{\@tabacckludge<`\textomega} % ὣ -\DeclareUnicodeCharacter{1F64}{\@tabacckludge>'\textomega} % ὤ -\DeclareUnicodeCharacter{1F65}{\@tabacckludge<'\textomega} % ὥ -\DeclareUnicodeCharacter{1F66}{\@tabacckludge>~\textomega} % ὦ -\DeclareUnicodeCharacter{1F67}{\@tabacckludge<\~\textomega} % ὧ -\DeclareUnicodeCharacter{1F68}{\@tabacckludge>\textOmega} % Ὠ -\DeclareUnicodeCharacter{1F69}{\@tabacckludge<\textOmega} % Ὡ -\DeclareUnicodeCharacter{1F6A}{\@tabacckludge>`\textOmega} % Ὢ -\DeclareUnicodeCharacter{1F6B}{\@tabacckludge<`\textOmega} % Ὣ -\DeclareUnicodeCharacter{1F6C}{\@tabacckludge>'\textOmega} % Ὤ -\DeclareUnicodeCharacter{1F6D}{\@tabacckludge<'\textOmega} % Ὥ -\DeclareUnicodeCharacter{1F6E}{\@tabacckludge>~\textOmega} % Ὦ -\DeclareUnicodeCharacter{1F6F}{\@tabacckludge<\~\textOmega} % Ὧ - -\DeclareUnicodeCharacter{1F70}{\@tabacckludge`\textalpha} % ὰ -\DeclareUnicodeCharacter{1F71}{\@tabacckludge'\textalpha} % ά -\DeclareUnicodeCharacter{1F72}{\@tabacckludge`\textepsilon} % ὲ -\DeclareUnicodeCharacter{1F73}{\@tabacckludge'\textepsilon} % έ -\DeclareUnicodeCharacter{1F74}{\@tabacckludge`\texteta} % ὴ -\DeclareUnicodeCharacter{1F75}{\@tabacckludge'\texteta} % ή -\DeclareUnicodeCharacter{1F76}{\@tabacckludge`\textiota} % ὶ -\DeclareUnicodeCharacter{1F77}{\@tabacckludge'\textiota} % ί -\DeclareUnicodeCharacter{1F78}{\@tabacckludge`\textomicron} % ὸ -\DeclareUnicodeCharacter{1F79}{\@tabacckludge'\textomicron} % ό -\DeclareUnicodeCharacter{1F7A}{\@tabacckludge`\textupsilon} % ὺ -\DeclareUnicodeCharacter{1F7B}{\@tabacckludge'\textupsilon} % ύ -\DeclareUnicodeCharacter{1F7C}{\@tabacckludge`\textomega} % ὼ -\DeclareUnicodeCharacter{1F7D}{\@tabacckludge'\textomega} % ώ - -\DeclareUnicodeCharacter{1F80}{\@tabacckludge>\textalpha|} % ᾀ -\DeclareUnicodeCharacter{1F81}{\@tabacckludge<\textalpha|} % ᾁ -\DeclareUnicodeCharacter{1F82}{\@tabacckludge>`\textalpha|} % ᾂ -\DeclareUnicodeCharacter{1F83}{\@tabacckludge<`\textalpha|} % ᾃ -\DeclareUnicodeCharacter{1F84}{\@tabacckludge>'\textalpha|} % ᾄ -\DeclareUnicodeCharacter{1F85}{\@tabacckludge<'\textalpha|} % ᾅ -\DeclareUnicodeCharacter{1F86}{\@tabacckludge>~\textalpha|} % ᾆ -\DeclareUnicodeCharacter{1F87}{\@tabacckludge<\~\textalpha|} % ᾇ -\DeclareUnicodeCharacter{1F88}{\@tabacckludge>\textAlpha|} % ᾈ -\DeclareUnicodeCharacter{1F89}{\@tabacckludge<\textAlpha|} % ᾉ -\DeclareUnicodeCharacter{1F8A}{\@tabacckludge>`\textAlpha|} % ᾊ -\DeclareUnicodeCharacter{1F8B}{\@tabacckludge<`\textAlpha|} % ᾋ -\DeclareUnicodeCharacter{1F8C}{\@tabacckludge>'\textAlpha|} % ᾌ -\DeclareUnicodeCharacter{1F8D}{\@tabacckludge<'\textAlpha|} % ᾍ -\DeclareUnicodeCharacter{1F8E}{\@tabacckludge>~\textAlpha|} % ᾎ -\DeclareUnicodeCharacter{1F8F}{\@tabacckludge<\~\textAlpha|} % ᾏ - -\DeclareUnicodeCharacter{1F90}{\@tabacckludge>\texteta|} % ᾐ -\DeclareUnicodeCharacter{1F91}{\@tabacckludge<\texteta|} % ᾑ -\DeclareUnicodeCharacter{1F92}{\@tabacckludge>`\texteta|} % ᾒ -\DeclareUnicodeCharacter{1F93}{\@tabacckludge<`\texteta|} % ᾓ -\DeclareUnicodeCharacter{1F94}{\@tabacckludge>'\texteta|} % ᾔ -\DeclareUnicodeCharacter{1F95}{\@tabacckludge<'\texteta|} % ᾕ -\DeclareUnicodeCharacter{1F96}{\@tabacckludge>~\texteta|} % ᾖ -\DeclareUnicodeCharacter{1F97}{\@tabacckludge<\~\texteta|} % ᾗ -\DeclareUnicodeCharacter{1F98}{\@tabacckludge>\textEta|} % ᾘ -\DeclareUnicodeCharacter{1F99}{\@tabacckludge<\textEta|} % ᾙ -\DeclareUnicodeCharacter{1F9A}{\@tabacckludge>`\textEta|} % ᾚ -\DeclareUnicodeCharacter{1F9B}{\@tabacckludge<`\textEta|} % ᾛ -\DeclareUnicodeCharacter{1F9C}{\@tabacckludge>'\textEta|} % ᾜ -\DeclareUnicodeCharacter{1F9D}{\@tabacckludge<'\textEta|} % ᾝ -\DeclareUnicodeCharacter{1F9E}{\@tabacckludge>~\textEta|} % ᾞ -\DeclareUnicodeCharacter{1F9F}{\@tabacckludge<\~\textEta|} % ᾟ - -\DeclareUnicodeCharacter{1FA0}{\@tabacckludge>\textomega|} % ᾠ -\DeclareUnicodeCharacter{1FA1}{\@tabacckludge<\textomega|} % ᾡ -\DeclareUnicodeCharacter{1FA2}{\@tabacckludge>`\textomega|} % ᾢ -\DeclareUnicodeCharacter{1FA3}{\@tabacckludge<`\textomega|} % ᾣ -\DeclareUnicodeCharacter{1FA4}{\@tabacckludge>'\textomega|} % ᾤ -\DeclareUnicodeCharacter{1FA5}{\@tabacckludge<'\textomega|} % ᾥ -\DeclareUnicodeCharacter{1FA6}{\@tabacckludge>~\textomega|} % ᾦ -\DeclareUnicodeCharacter{1FA7}{\@tabacckludge<\~\textomega|} % ᾧ -\DeclareUnicodeCharacter{1FA8}{\@tabacckludge>\textOmega|} % ᾨ -\DeclareUnicodeCharacter{1FA9}{\@tabacckludge<\textOmega|} % ᾩ -\DeclareUnicodeCharacter{1FAA}{\@tabacckludge>`\textOmega|} % ᾪ -\DeclareUnicodeCharacter{1FAB}{\@tabacckludge<`\textOmega|} % ᾫ -\DeclareUnicodeCharacter{1FAC}{\@tabacckludge>'\textOmega|} % ᾬ -\DeclareUnicodeCharacter{1FAD}{\@tabacckludge<'\textOmega|} % ᾭ -\DeclareUnicodeCharacter{1FAE}{\@tabacckludge>~\textOmega|} % ᾮ -\DeclareUnicodeCharacter{1FAF}{\@tabacckludge<\~\textOmega|} % ᾯ - -\DeclareUnicodeCharacter{1FB0}{\u\textalpha} % ᾰ -\DeclareUnicodeCharacter{1FB1}{\@tabacckludge=\textalpha} % ᾱ -\DeclareUnicodeCharacter{1FB2}{\@tabacckludge`\textalpha|} % ᾲ -\DeclareUnicodeCharacter{1FB3}{\textalpha|} % ᾳ -\DeclareUnicodeCharacter{1FB4}{\@tabacckludge'\textalpha|} % ᾴ -\DeclareUnicodeCharacter{1FB6}{\~\textalpha} % ᾶ -\DeclareUnicodeCharacter{1FB7}{\~\textalpha|} % ᾷ -\DeclareUnicodeCharacter{1FB8}{\u\textAlpha} % Ᾰ -\DeclareUnicodeCharacter{1FB9}{\@tabacckludge=\textAlpha} % Ᾱ -\DeclareUnicodeCharacter{1FBA}{\@tabacckludge`\textAlpha} % Ὰ -\DeclareUnicodeCharacter{1FBB}{\@tabacckludge'\textAlpha} % Ά -\DeclareUnicodeCharacter{1FBC}{\textAlpha|} % ᾼ -\DeclareUnicodeCharacter{1FBD}{\@tabacckludge>\textcompwordmark} % ᾽ -\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\Prosgegrammeni} % ι -\DeclareUnicodeCharacter{1FBF}{\@tabacckludge>\textcompwordmark} % ᾿ - -\DeclareUnicodeCharacter{1FC0}{\~\textcompwordmark} % ῀ -\DeclareUnicodeCharacter{1FC1}{\"\~\textcompwordmark} % ῁ -\DeclareUnicodeCharacter{1FC2}{\@tabacckludge`\texteta|} % ῂ -\DeclareUnicodeCharacter{1FC3}{\texteta|} % ῃ -\DeclareUnicodeCharacter{1FC4}{\@tabacckludge'\texteta|} % ῄ -\DeclareUnicodeCharacter{1FC6}{\~\texteta} % ῆ -\DeclareUnicodeCharacter{1FC7}{\~\texteta|} % ῇ -\DeclareUnicodeCharacter{1FC8}{\@tabacckludge`\textEpsilon} % Ὲ -\DeclareUnicodeCharacter{1FC9}{\@tabacckludge'\textEpsilon} % Έ -\DeclareUnicodeCharacter{1FCA}{\@tabacckludge`\textEta} % Ὴ -\DeclareUnicodeCharacter{1FCB}{\@tabacckludge'\textEta} % Ή -\DeclareUnicodeCharacter{1FCC}{\textEta|} % ῌ -\DeclareUnicodeCharacter{1FCD}{\@tabacckludge>`\textcompwordmark} % ῍ -\DeclareUnicodeCharacter{1FCE}{\@tabacckludge>'\textcompwordmark} % ῎ -\DeclareUnicodeCharacter{1FCF}{\@tabacckludge>~\textcompwordmark} % ῏ - -\DeclareUnicodeCharacter{1FD0}{\u\textiota} % ῐ -\DeclareUnicodeCharacter{1FD1}{\@tabacckludge=\textiota} % ῑ -\DeclareUnicodeCharacter{1FD2}{\"`\textiota} % ῒ -\DeclareUnicodeCharacter{1FD3}{\"'\textiota} % ΐ -\DeclareUnicodeCharacter{1FD6}{\~\textiota} % ῖ -\DeclareUnicodeCharacter{1FD7}{\"\~\textiota} % ῗ -\DeclareUnicodeCharacter{1FD8}{\u\textIota} % Ῐ -\DeclareUnicodeCharacter{1FD9}{\@tabacckludge=\textIota} % Ῑ -\DeclareUnicodeCharacter{1FDA}{\@tabacckludge`\textIota} % Ὶ -\DeclareUnicodeCharacter{1FDB}{\@tabacckludge'\textIota} % Ί -\DeclareUnicodeCharacter{1FDD}{\@tabacckludge<`\textcompwordmark} % ῝ -\DeclareUnicodeCharacter{1FDE}{\@tabacckludge<'\textcompwordmark} % ῞ -\DeclareUnicodeCharacter{1FDF}{\@tabacckludge<\~\textcompwordmark} % ῟ - -\DeclareUnicodeCharacter{1FE0}{\u\textupsilon} % ῠ -\DeclareUnicodeCharacter{1FE1}{\@tabacckludge=\textupsilon} % ῡ -\DeclareUnicodeCharacter{1FE2}{\"`\textupsilon} % ῢ -\DeclareUnicodeCharacter{1FE3}{\"'\textupsilon} % ΰ -\DeclareUnicodeCharacter{1FE4}{\@tabacckludge>r} % ῤ -\DeclareUnicodeCharacter{1FE5}{\@tabacckludge<r} % ῥ -\DeclareUnicodeCharacter{1FE6}{\~\textupsilon} % ῦ -\DeclareUnicodeCharacter{1FE7}{\"\~\textupsilon} % ῧ -\DeclareUnicodeCharacter{1FE8}{\u\textUpsilon} % Ῠ -\DeclareUnicodeCharacter{1FE9}{\@tabacckludge=\textUpsilon} % Ῡ -\DeclareUnicodeCharacter{1FEA}{\@tabacckludge`\textUpsilon} % Ὺ -\DeclareUnicodeCharacter{1FEB}{\@tabacckludge'\textUpsilon} % Ύ -\DeclareUnicodeCharacter{1FEC}{\@tabacckludge<\textRho} % Ῥ -\DeclareUnicodeCharacter{1FED}{\"`\textcompwordmark} % ῭ -\DeclareUnicodeCharacter{1FEE}{\"'\textcompwordmark} % ΅ -\DeclareUnicodeCharacter{1FEF}{\@tabacckludge`\textcompwordmark} % ` - -\DeclareUnicodeCharacter{1FF2}{\@tabacckludge`\textomega|} % ῲ -\DeclareUnicodeCharacter{1FF3}{\textomega|} % ῳ -\DeclareUnicodeCharacter{1FF4}{\@tabacckludge'\textomega|} % ῴ -\DeclareUnicodeCharacter{1FF6}{\~\textomega} % ῶ -\DeclareUnicodeCharacter{1FF7}{\~\textomega|} % ῷ -\DeclareUnicodeCharacter{1FF8}{\@tabacckludge`\textOmicron} % Ὸ -\DeclareUnicodeCharacter{1FF9}{\@tabacckludge'\textOmicron} % Ό -\DeclareUnicodeCharacter{1FFA}{\@tabacckludge`\textOmega} % Ὼ -\DeclareUnicodeCharacter{1FFB}{\@tabacckludge'\textOmega} % Ώ -\DeclareUnicodeCharacter{1FFC}{\textOmega|} % ῼ -\DeclareUnicodeCharacter{1FFD}{\@tabacckludge'\textcompwordmark} % ´ -\DeclareUnicodeCharacter{1FFE}{\@tabacckludge<\textcompwordmark} % ῾ +\DeclareUnicodeCharacter{1F00}{\TextGreek{\@tabacckludge>\textalpha}} % ἀ +\DeclareUnicodeCharacter{1F01}{\TextGreek{\@tabacckludge<\textalpha}} % ἁ +\DeclareUnicodeCharacter{1F02}{\TextGreek{\@tabacckludge>`\textalpha}} % ἂ +\DeclareUnicodeCharacter{1F03}{\TextGreek{\@tabacckludge<`\textalpha}} % ἃ +\DeclareUnicodeCharacter{1F04}{\TextGreek{\@tabacckludge>'\textalpha}} % ἄ +\DeclareUnicodeCharacter{1F05}{\TextGreek{\@tabacckludge<'\textalpha}} % ἅ +\DeclareUnicodeCharacter{1F06}{\TextGreek{\@tabacckludge>~\textalpha}} % ἆ +\DeclareUnicodeCharacter{1F07}{\TextGreek{\@tabacckludge<\~\textalpha}} % ἇ +\DeclareUnicodeCharacter{1F08}{\TextGreek{\@tabacckludge>\textAlpha}} % Ἀ +\DeclareUnicodeCharacter{1F09}{\TextGreek{\@tabacckludge<\textAlpha}} % Ἁ +\DeclareUnicodeCharacter{1F0A}{\TextGreek{\@tabacckludge>`\textAlpha}} % Ἂ +\DeclareUnicodeCharacter{1F0B}{\TextGreek{\@tabacckludge<`\textAlpha}} % Ἃ +\DeclareUnicodeCharacter{1F0C}{\TextGreek{\@tabacckludge>'\textAlpha}} % Ἄ +\DeclareUnicodeCharacter{1F0D}{\TextGreek{\@tabacckludge<'\textAlpha}} % Ἅ +\DeclareUnicodeCharacter{1F0E}{\TextGreek{\@tabacckludge>~\textAlpha}} % Ἆ +\DeclareUnicodeCharacter{1F0F}{\TextGreek{\@tabacckludge<\~\textAlpha}} % Ἇ + +\DeclareUnicodeCharacter{1F10}{\TextGreek{\@tabacckludge>\textepsilon}} % ἐ +\DeclareUnicodeCharacter{1F11}{\TextGreek{\@tabacckludge<\textepsilon}} % ἑ +\DeclareUnicodeCharacter{1F12}{\TextGreek{\@tabacckludge>`\textepsilon}} % ἒ +\DeclareUnicodeCharacter{1F13}{\TextGreek{\@tabacckludge<`\textepsilon}} % ἓ +\DeclareUnicodeCharacter{1F14}{\TextGreek{\@tabacckludge>'\textepsilon}} % ἔ +\DeclareUnicodeCharacter{1F15}{\TextGreek{\@tabacckludge<'\textepsilon}} % ἕ +\DeclareUnicodeCharacter{1F18}{\TextGreek{\@tabacckludge>\textEpsilon}} % Ἐ +\DeclareUnicodeCharacter{1F19}{\TextGreek{\@tabacckludge<\textEpsilon}} % Ἑ +\DeclareUnicodeCharacter{1F1A}{\TextGreek{\@tabacckludge>`\textEpsilon}} % Ἒ +\DeclareUnicodeCharacter{1F1B}{\TextGreek{\@tabacckludge<`\textEpsilon}} % Ἓ +\DeclareUnicodeCharacter{1F1C}{\TextGreek{\@tabacckludge>'\textEpsilon}} % Ἔ +\DeclareUnicodeCharacter{1F1D}{\TextGreek{\@tabacckludge<'\textEpsilon}} % Ἕ + +\DeclareUnicodeCharacter{1F20}{\TextGreek{\@tabacckludge>\texteta}} % ἠ +\DeclareUnicodeCharacter{1F21}{\TextGreek{\@tabacckludge<\texteta}} % ἡ +\DeclareUnicodeCharacter{1F22}{\TextGreek{\@tabacckludge>`\texteta}} % ἢ +\DeclareUnicodeCharacter{1F23}{\TextGreek{\@tabacckludge<`\texteta}} % ἣ +\DeclareUnicodeCharacter{1F24}{\TextGreek{\@tabacckludge>'\texteta}} % ἤ +\DeclareUnicodeCharacter{1F25}{\TextGreek{\@tabacckludge<'\texteta}} % ἥ +\DeclareUnicodeCharacter{1F26}{\TextGreek{\@tabacckludge>~\texteta}} % ἦ +\DeclareUnicodeCharacter{1F27}{\TextGreek{\@tabacckludge<\~\texteta}} % ἧ +\DeclareUnicodeCharacter{1F28}{\TextGreek{\@tabacckludge>\textEta}} % Ἠ +\DeclareUnicodeCharacter{1F29}{\TextGreek{\@tabacckludge<\textEta}} % Ἡ +\DeclareUnicodeCharacter{1F2A}{\TextGreek{\@tabacckludge>`\textEta}} % Ἢ +\DeclareUnicodeCharacter{1F2B}{\TextGreek{\@tabacckludge<`\textEta}} % Ἣ +\DeclareUnicodeCharacter{1F2C}{\TextGreek{\@tabacckludge>'\textEta}} % Ἤ +\DeclareUnicodeCharacter{1F2D}{\TextGreek{\@tabacckludge<'\textEta}} % Ἥ +\DeclareUnicodeCharacter{1F2E}{\TextGreek{\@tabacckludge>~\textEta}} % Ἦ +\DeclareUnicodeCharacter{1F2F}{\TextGreek{\@tabacckludge<\~\textEta}} % Ἧ + +\DeclareUnicodeCharacter{1F30}{\TextGreek{\@tabacckludge>\textiota}} % ἰ +\DeclareUnicodeCharacter{1F31}{\TextGreek{\@tabacckludge<\textiota}} % ἱ +\DeclareUnicodeCharacter{1F32}{\TextGreek{\@tabacckludge>`\textiota}} % ἲ +\DeclareUnicodeCharacter{1F33}{\TextGreek{\@tabacckludge<`\textiota}} % ἳ +\DeclareUnicodeCharacter{1F34}{\TextGreek{\@tabacckludge>'\textiota}} % ἴ +\DeclareUnicodeCharacter{1F35}{\TextGreek{\@tabacckludge<'\textiota}} % ἵ +\DeclareUnicodeCharacter{1F36}{\TextGreek{\@tabacckludge>~\textiota}} % ἶ +\DeclareUnicodeCharacter{1F37}{\TextGreek{\@tabacckludge<\~\textiota}} % ἷ +\DeclareUnicodeCharacter{1F38}{\TextGreek{\@tabacckludge>\textIota}} % Ἰ +\DeclareUnicodeCharacter{1F39}{\TextGreek{\@tabacckludge<\textIota}} % Ἱ +\DeclareUnicodeCharacter{1F3A}{\TextGreek{\@tabacckludge>`\textIota}} % Ἲ +\DeclareUnicodeCharacter{1F3B}{\TextGreek{\@tabacckludge<`\textIota}} % Ἳ +\DeclareUnicodeCharacter{1F3C}{\TextGreek{\@tabacckludge>'\textIota}} % Ἴ +\DeclareUnicodeCharacter{1F3D}{\TextGreek{\@tabacckludge<'\textIota}} % Ἵ +\DeclareUnicodeCharacter{1F3E}{\TextGreek{\@tabacckludge>~\textIota}} % Ἶ +\DeclareUnicodeCharacter{1F3F}{\TextGreek{\@tabacckludge<\~\textIota}} % Ἷ + +\DeclareUnicodeCharacter{1F40}{\TextGreek{\@tabacckludge>\textomicron}} % ὀ +\DeclareUnicodeCharacter{1F41}{\TextGreek{\@tabacckludge<\textomicron}} % ὁ +\DeclareUnicodeCharacter{1F42}{\TextGreek{\@tabacckludge>`\textomicron}} % ὂ +\DeclareUnicodeCharacter{1F43}{\TextGreek{\@tabacckludge<`\textomicron}} % ὃ +\DeclareUnicodeCharacter{1F44}{\TextGreek{\@tabacckludge>'\textomicron}} % ὄ +\DeclareUnicodeCharacter{1F45}{\TextGreek{\@tabacckludge<'\textomicron}} % ὅ +\DeclareUnicodeCharacter{1F48}{\TextGreek{\@tabacckludge>\textOmicron}} % Ὀ +\DeclareUnicodeCharacter{1F49}{\TextGreek{\@tabacckludge<\textOmicron}} % Ὁ +\DeclareUnicodeCharacter{1F4A}{\TextGreek{\@tabacckludge>`\textOmicron}} % Ὂ +\DeclareUnicodeCharacter{1F4B}{\TextGreek{\@tabacckludge<`\textOmicron}} % Ὃ +\DeclareUnicodeCharacter{1F4C}{\TextGreek{\@tabacckludge>'\textOmicron}} % Ὄ +\DeclareUnicodeCharacter{1F4D}{\TextGreek{\@tabacckludge<'\textOmicron}} % Ὅ + +\DeclareUnicodeCharacter{1F50}{\TextGreek{\@tabacckludge>\textupsilon}} % ὐ +\DeclareUnicodeCharacter{1F51}{\TextGreek{\@tabacckludge<\textupsilon}} % ὑ +\DeclareUnicodeCharacter{1F52}{\TextGreek{\@tabacckludge>`\textupsilon}} % ὒ +\DeclareUnicodeCharacter{1F53}{\TextGreek{\@tabacckludge<`\textupsilon}} % ὓ +\DeclareUnicodeCharacter{1F54}{\TextGreek{\@tabacckludge>'\textupsilon}} % ὔ +\DeclareUnicodeCharacter{1F55}{\TextGreek{\@tabacckludge<'\textupsilon}} % ὕ +\DeclareUnicodeCharacter{1F56}{\TextGreek{\@tabacckludge>~\textupsilon}} % ὖ +\DeclareUnicodeCharacter{1F57}{\TextGreek{\@tabacckludge<\~\textupsilon}} % ὗ +\DeclareUnicodeCharacter{1F59}{\TextGreek{\@tabacckludge<\textUpsilon}} % Ὑ +\DeclareUnicodeCharacter{1F5B}{\TextGreek{\@tabacckludge<`\textUpsilon}} % Ὓ +\DeclareUnicodeCharacter{1F5D}{\TextGreek{\@tabacckludge<'\textUpsilon}} % Ὕ +\DeclareUnicodeCharacter{1F5F}{\TextGreek{\@tabacckludge<\~\textUpsilon}} % Ὗ + +\DeclareUnicodeCharacter{1F60}{\TextGreek{\@tabacckludge>\textomega}} % ὠ +\DeclareUnicodeCharacter{1F61}{\TextGreek{\@tabacckludge<\textomega}} % ὡ +\DeclareUnicodeCharacter{1F62}{\TextGreek{\@tabacckludge>`\textomega}} % ὢ +\DeclareUnicodeCharacter{1F63}{\TextGreek{\@tabacckludge<`\textomega}} % ὣ +\DeclareUnicodeCharacter{1F64}{\TextGreek{\@tabacckludge>'\textomega}} % ὤ +\DeclareUnicodeCharacter{1F65}{\TextGreek{\@tabacckludge<'\textomega}} % ὥ +\DeclareUnicodeCharacter{1F66}{\TextGreek{\@tabacckludge>~\textomega}} % ὦ +\DeclareUnicodeCharacter{1F67}{\TextGreek{\@tabacckludge<\~\textomega}} % ὧ +\DeclareUnicodeCharacter{1F68}{\TextGreek{\@tabacckludge>\textOmega}} % Ὠ +\DeclareUnicodeCharacter{1F69}{\TextGreek{\@tabacckludge<\textOmega}} % Ὡ +\DeclareUnicodeCharacter{1F6A}{\TextGreek{\@tabacckludge>`\textOmega}} % Ὢ +\DeclareUnicodeCharacter{1F6B}{\TextGreek{\@tabacckludge<`\textOmega}} % Ὣ +\DeclareUnicodeCharacter{1F6C}{\TextGreek{\@tabacckludge>'\textOmega}} % Ὤ +\DeclareUnicodeCharacter{1F6D}{\TextGreek{\@tabacckludge<'\textOmega}} % Ὥ +\DeclareUnicodeCharacter{1F6E}{\TextGreek{\@tabacckludge>~\textOmega}} % Ὦ +\DeclareUnicodeCharacter{1F6F}{\TextGreek{\@tabacckludge<\~\textOmega}} % Ὧ + +\DeclareUnicodeCharacter{1F70}{\TextGreek{\@tabacckludge`\textalpha}} % ὰ +\DeclareUnicodeCharacter{1F71}{\TextGreek{\@tabacckludge'\textalpha}} % ά +\DeclareUnicodeCharacter{1F72}{\TextGreek{\@tabacckludge`\textepsilon}} % ὲ +\DeclareUnicodeCharacter{1F73}{\TextGreek{\@tabacckludge'\textepsilon}} % έ +\DeclareUnicodeCharacter{1F74}{\TextGreek{\@tabacckludge`\texteta}} % ὴ +\DeclareUnicodeCharacter{1F75}{\TextGreek{\@tabacckludge'\texteta}} % ή +\DeclareUnicodeCharacter{1F76}{\TextGreek{\@tabacckludge`\textiota}} % ὶ +\DeclareUnicodeCharacter{1F77}{\TextGreek{\@tabacckludge'\textiota}} % ί +\DeclareUnicodeCharacter{1F78}{\TextGreek{\@tabacckludge`\textomicron}} % ὸ +\DeclareUnicodeCharacter{1F79}{\TextGreek{\@tabacckludge'\textomicron}} % ό +\DeclareUnicodeCharacter{1F7A}{\TextGreek{\@tabacckludge`\textupsilon}} % ὺ +\DeclareUnicodeCharacter{1F7B}{\TextGreek{\@tabacckludge'\textupsilon}} % ύ +\DeclareUnicodeCharacter{1F7C}{\TextGreek{\@tabacckludge`\textomega}} % ὼ +\DeclareUnicodeCharacter{1F7D}{\TextGreek{\@tabacckludge'\textomega}} % ώ + +\DeclareUnicodeCharacter{1F80}{\TextGreek{\@tabacckludge>\textalpha|}} % ᾀ +\DeclareUnicodeCharacter{1F81}{\TextGreek{\@tabacckludge<\textalpha|}} % ᾁ +\DeclareUnicodeCharacter{1F82}{\TextGreek{\@tabacckludge>`\textalpha|}} % ᾂ +\DeclareUnicodeCharacter{1F83}{\TextGreek{\@tabacckludge<`\textalpha|}} % ᾃ +\DeclareUnicodeCharacter{1F84}{\TextGreek{\@tabacckludge>'\textalpha|}} % ᾄ +\DeclareUnicodeCharacter{1F85}{\TextGreek{\@tabacckludge<'\textalpha|}} % ᾅ +\DeclareUnicodeCharacter{1F86}{\TextGreek{\@tabacckludge>~\textalpha|}} % ᾆ +\DeclareUnicodeCharacter{1F87}{\TextGreek{\@tabacckludge<\~\textalpha|}} % ᾇ +\DeclareUnicodeCharacter{1F88}{\TextGreek{\@tabacckludge>\textAlpha|}} % ᾈ +\DeclareUnicodeCharacter{1F89}{\TextGreek{\@tabacckludge<\textAlpha|}} % ᾉ +\DeclareUnicodeCharacter{1F8A}{\TextGreek{\@tabacckludge>`\textAlpha|}} % ᾊ +\DeclareUnicodeCharacter{1F8B}{\TextGreek{\@tabacckludge<`\textAlpha|}} % ᾋ +\DeclareUnicodeCharacter{1F8C}{\TextGreek{\@tabacckludge>'\textAlpha|}} % ᾌ +\DeclareUnicodeCharacter{1F8D}{\TextGreek{\@tabacckludge<'\textAlpha|}} % ᾍ +\DeclareUnicodeCharacter{1F8E}{\TextGreek{\@tabacckludge>~\textAlpha|}} % ᾎ +\DeclareUnicodeCharacter{1F8F}{\TextGreek{\@tabacckludge<\~\textAlpha|}} % ᾏ + +\DeclareUnicodeCharacter{1F90}{\TextGreek{\@tabacckludge>\texteta|}} % ᾐ +\DeclareUnicodeCharacter{1F91}{\TextGreek{\@tabacckludge<\texteta|}} % ᾑ +\DeclareUnicodeCharacter{1F92}{\TextGreek{\@tabacckludge>`\texteta|}} % ᾒ +\DeclareUnicodeCharacter{1F93}{\TextGreek{\@tabacckludge<`\texteta|}} % ᾓ +\DeclareUnicodeCharacter{1F94}{\TextGreek{\@tabacckludge>'\texteta|}} % ᾔ +\DeclareUnicodeCharacter{1F95}{\TextGreek{\@tabacckludge<'\texteta|}} % ᾕ +\DeclareUnicodeCharacter{1F96}{\TextGreek{\@tabacckludge>~\texteta|}} % ᾖ +\DeclareUnicodeCharacter{1F97}{\TextGreek{\@tabacckludge<\~\texteta|}} % ᾗ +\DeclareUnicodeCharacter{1F98}{\TextGreek{\@tabacckludge>\textEta|}} % ᾘ +\DeclareUnicodeCharacter{1F99}{\TextGreek{\@tabacckludge<\textEta|}} % ᾙ +\DeclareUnicodeCharacter{1F9A}{\TextGreek{\@tabacckludge>`\textEta|}} % ᾚ +\DeclareUnicodeCharacter{1F9B}{\TextGreek{\@tabacckludge<`\textEta|}} % ᾛ +\DeclareUnicodeCharacter{1F9C}{\TextGreek{\@tabacckludge>'\textEta|}} % ᾜ +\DeclareUnicodeCharacter{1F9D}{\TextGreek{\@tabacckludge<'\textEta|}} % ᾝ +\DeclareUnicodeCharacter{1F9E}{\TextGreek{\@tabacckludge>~\textEta|}} % ᾞ +\DeclareUnicodeCharacter{1F9F}{\TextGreek{\@tabacckludge<\~\textEta|}} % ᾟ + +\DeclareUnicodeCharacter{1FA0}{\TextGreek{\@tabacckludge>\textomega|}} % ᾠ +\DeclareUnicodeCharacter{1FA1}{\TextGreek{\@tabacckludge<\textomega|}} % ᾡ +\DeclareUnicodeCharacter{1FA2}{\TextGreek{\@tabacckludge>`\textomega|}} % ᾢ +\DeclareUnicodeCharacter{1FA3}{\TextGreek{\@tabacckludge<`\textomega|}} % ᾣ +\DeclareUnicodeCharacter{1FA4}{\TextGreek{\@tabacckludge>'\textomega|}} % ᾤ +\DeclareUnicodeCharacter{1FA5}{\TextGreek{\@tabacckludge<'\textomega|}} % ᾥ +\DeclareUnicodeCharacter{1FA6}{\TextGreek{\@tabacckludge>~\textomega|}} % ᾦ +\DeclareUnicodeCharacter{1FA7}{\TextGreek{\@tabacckludge<\~\textomega|}} % ᾧ +\DeclareUnicodeCharacter{1FA8}{\TextGreek{\@tabacckludge>\textOmega|}} % ᾨ +\DeclareUnicodeCharacter{1FA9}{\TextGreek{\@tabacckludge<\textOmega|}} % ᾩ +\DeclareUnicodeCharacter{1FAA}{\TextGreek{\@tabacckludge>`\textOmega|}} % ᾪ +\DeclareUnicodeCharacter{1FAB}{\TextGreek{\@tabacckludge<`\textOmega|}} % ᾫ +\DeclareUnicodeCharacter{1FAC}{\TextGreek{\@tabacckludge>'\textOmega|}} % ᾬ +\DeclareUnicodeCharacter{1FAD}{\TextGreek{\@tabacckludge<'\textOmega|}} % ᾭ +\DeclareUnicodeCharacter{1FAE}{\TextGreek{\@tabacckludge>~\textOmega|}} % ᾮ +\DeclareUnicodeCharacter{1FAF}{\TextGreek{\@tabacckludge<\~\textOmega|}} % ᾯ + +\DeclareUnicodeCharacter{1FB0}{\u\textalpha} % ᾰ +\DeclareUnicodeCharacter{1FB1}{\TextGreek{\@tabacckludge=\textalpha}} % ᾱ +\DeclareUnicodeCharacter{1FB2}{\TextGreek{\@tabacckludge`\textalpha|}} % ᾲ +\DeclareUnicodeCharacter{1FB3}{\TextGreek{\textalpha|}} % ᾳ +\DeclareUnicodeCharacter{1FB4}{\TextGreek{\@tabacckludge'\textalpha|}} % ᾴ +\DeclareUnicodeCharacter{1FB6}{\TextGreek{\~\textalpha}} % ᾶ +\DeclareUnicodeCharacter{1FB7}{\TextGreek{\~\textalpha|}} % ᾷ +\DeclareUnicodeCharacter{1FB8}{\u\textAlpha} % Ᾰ +\DeclareUnicodeCharacter{1FB9}{\TextGreek{\@tabacckludge=\textAlpha}} % Ᾱ +\DeclareUnicodeCharacter{1FBA}{\TextGreek{\@tabacckludge`\textAlpha}} % Ὰ +\DeclareUnicodeCharacter{1FBB}{\TextGreek{\@tabacckludge'\textAlpha}} % Ά +\DeclareUnicodeCharacter{1FBC}{\TextGreek{\textAlpha|}} % ᾼ +\DeclareUnicodeCharacter{1FBD}{\TextGreek{\@tabacckludge>\textcompwordmark}} % ᾽ +\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\Prosgegrammeni} % ι +\DeclareUnicodeCharacter{1FBF}{\TextGreek{\@tabacckludge>\textcompwordmark}} % ᾿ + +\DeclareUnicodeCharacter{1FC0}{\TextGreek{\~\textcompwordmark}} % ῀ +\DeclareUnicodeCharacter{1FC1}{\TextGreek{\"\~\textcompwordmark}} % ῁ +\DeclareUnicodeCharacter{1FC2}{\TextGreek{\@tabacckludge`\texteta|}} % ῂ +\DeclareUnicodeCharacter{1FC3}{\TextGreek{\texteta|}} % ῃ +\DeclareUnicodeCharacter{1FC4}{\TextGreek{\@tabacckludge'\texteta|}} % ῄ +\DeclareUnicodeCharacter{1FC6}{\TextGreek{\~\texteta}} % ῆ +\DeclareUnicodeCharacter{1FC7}{\TextGreek{\~\texteta|}} % ῇ +\DeclareUnicodeCharacter{1FC8}{\TextGreek{\@tabacckludge`\textEpsilon}} % Ὲ +\DeclareUnicodeCharacter{1FC9}{\TextGreek{\@tabacckludge'\textEpsilon}} % Έ +\DeclareUnicodeCharacter{1FCA}{\TextGreek{\@tabacckludge`\textEta}} % Ὴ +\DeclareUnicodeCharacter{1FCB}{\TextGreek{\@tabacckludge'\textEta}} % Ή +\DeclareUnicodeCharacter{1FCC}{\TextGreek{\textEta|}} % ῌ +\DeclareUnicodeCharacter{1FCD}{\TextGreek{\@tabacckludge>`\textcompwordmark}} % ῍ +\DeclareUnicodeCharacter{1FCE}{\TextGreek{\@tabacckludge>'\textcompwordmark}} % ῎ +\DeclareUnicodeCharacter{1FCF}{\TextGreek{\@tabacckludge>~\textcompwordmark}} % ῏ + +\DeclareUnicodeCharacter{1FD0}{\u\textiota} % ῐ +\DeclareUnicodeCharacter{1FD1}{\TextGreek{\@tabacckludge=\textiota}} % ῑ +\DeclareUnicodeCharacter{1FD2}{\TextGreek{\"`\textiota}} % ῒ +\DeclareUnicodeCharacter{1FD3}{\TextGreek{\"'\textiota}} % ΐ +\DeclareUnicodeCharacter{1FD6}{\TextGreek{\~\textiota}} % ῖ +\DeclareUnicodeCharacter{1FD7}{\TextGreek{\"\~\textiota}} % ῗ +\DeclareUnicodeCharacter{1FD8}{\u\textIota} % Ῐ +\DeclareUnicodeCharacter{1FD9}{\TextGreek{\@tabacckludge=\textIota}} % Ῑ +\DeclareUnicodeCharacter{1FDA}{\TextGreek{\@tabacckludge`\textIota}} % Ὶ +\DeclareUnicodeCharacter{1FDB}{\TextGreek{\@tabacckludge'\textIota}} % Ί +\DeclareUnicodeCharacter{1FDD}{\TextGreek{\@tabacckludge<`\textcompwordmark}} % ῝ +\DeclareUnicodeCharacter{1FDE}{\TextGreek{\@tabacckludge<'\textcompwordmark}} % ῞ +\DeclareUnicodeCharacter{1FDF}{\TextGreek{\@tabacckludge<\~\textcompwordmark}} % ῟ + +\DeclareUnicodeCharacter{1FE0}{\u\textupsilon} % ῠ +\DeclareUnicodeCharacter{1FE1}{\TextGreek{\@tabacckludge=\textupsilon}} % ῡ +\DeclareUnicodeCharacter{1FE2}{\TextGreek{\"`\textupsilon}} % ῢ +\DeclareUnicodeCharacter{1FE3}{\TextGreek{\"'\textupsilon}} % ΰ +\DeclareUnicodeCharacter{1FE4}{\TextGreek{\@tabacckludge>r}} % ῤ +\DeclareUnicodeCharacter{1FE5}{\TextGreek{\@tabacckludge<r}} % ῥ +\DeclareUnicodeCharacter{1FE6}{\TextGreek{\~\textupsilon}} % ῦ +\DeclareUnicodeCharacter{1FE7}{\TextGreek{\"\~\textupsilon}} % ῧ +\DeclareUnicodeCharacter{1FE8}{\u\textUpsilon} % Ῠ +\DeclareUnicodeCharacter{1FE9}{\TextGreek{\@tabacckludge=\textUpsilon}} % Ῡ +\DeclareUnicodeCharacter{1FEA}{\TextGreek{\@tabacckludge`\textUpsilon}} % Ὺ +\DeclareUnicodeCharacter{1FEB}{\TextGreek{\@tabacckludge'\textUpsilon}} % Ύ +\DeclareUnicodeCharacter{1FEC}{\TextGreek{\@tabacckludge<\textRho}} % Ῥ +\DeclareUnicodeCharacter{1FED}{\TextGreek{\"`\textcompwordmark}} % ῭ +\DeclareUnicodeCharacter{1FEE}{\TextGreek{\"'\textcompwordmark}} % ΅ +\DeclareUnicodeCharacter{1FEF}{\TextGreek{\@tabacckludge`\textcompwordmark}} % ` + +\DeclareUnicodeCharacter{1FF2}{\TextGreek{\@tabacckludge`\textomega|}} % ῲ +\DeclareUnicodeCharacter{1FF3}{\TextGreek{\textomega|}} % ῳ +\DeclareUnicodeCharacter{1FF4}{\TextGreek{\@tabacckludge'\textomega|}} % ῴ +\DeclareUnicodeCharacter{1FF6}{\TextGreek{\~\textomega}} % ῶ +\DeclareUnicodeCharacter{1FF7}{\TextGreek{\~\textomega|}} % ῷ +\DeclareUnicodeCharacter{1FF8}{\TextGreek{\@tabacckludge`\textOmicron}} % Ὸ +\DeclareUnicodeCharacter{1FF9}{\TextGreek{\@tabacckludge'\textOmicron}} % Ό +\DeclareUnicodeCharacter{1FFA}{\TextGreek{\@tabacckludge`\textOmega}} % Ὼ +\DeclareUnicodeCharacter{1FFB}{\TextGreek{\@tabacckludge'\textOmega}} % Ώ +\DeclareUnicodeCharacter{1FFC}{\TextGreek{\textOmega|}} % ῼ +\DeclareUnicodeCharacter{1FFD}{\TextGreek{\@tabacckludge'\textcompwordmark}} % ´ +\DeclareUnicodeCharacter{1FFE}{\TextGreek{\@tabacckludge<\textcompwordmark}} % ῾ % General Punctuation % ~~~~~~~~~~~~~~~~~~~ % :: -\DeclareUnicodeCharacter{2013}{\textendash} % – -\DeclareUnicodeCharacter{2014}{\textemdash} % — -\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ -\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ -\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{20AC}{\texteuro} % € +\DeclareUnicodeCharacter{2013}{\textendash} % – +\DeclareUnicodeCharacter{2014}{\textemdash} % — +\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ +\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ +\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ +\DeclareUnicodeCharacter{20AC}{\texteuro} % € + +% Letterlike Symbols +% ~~~~~~~~~~~~~~~~~~ +% :: + +\DeclareUnicodeCharacter{2126}{\textOmega} % Ω OHM SIGN % Ancient Greek Numbers % ~~~~~~~~~~~~~~~~~~~~~ % TODO: map other chars to corresponding Greek letters. -% See also the athnum_ package:: +% See also the grnumalt_ package:: \DeclareUnicodeCharacter{10144}{\PiDelta} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareUnicodeCharacter{10145}{\PiEta} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareUnicodeCharacter{10146}{\PiChi} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareUnicodeCharacter{10147}{\PiMu} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +\DeclareUnicodeCharacter{10145}{\PiEta} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareUnicodeCharacter{10146}{\PiChi} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareUnicodeCharacter{10147}{\PiMu} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +% .. _lgrx: http://www.ctan.org/pkg/lgrx % .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf -% .. _athnum: http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=grnumalt +% .. _ucs: http://www.ctan.org/pkg/ucs +% .. _inputenc: http://www.ctan.org/pkg/inputenc +% .. _textalpha: textalpha.sty.html +% .. _alphabeta: alphabeta.sty.html +% .. _grnumalt: http://www.ctan.org/pkg/grnumalt diff --git a/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def b/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def index a847402f8a8..0ca8547a3c4 100644 --- a/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def +++ b/Master/texmf-dist/tex/latex/lgrx/lgrxenc.def @@ -1,5 +1,6 @@ % lgrxenc.def % *********** +% % comprehensive LGR Greek font encoding definitions % ================================================= % @@ -18,13 +19,17 @@ % monotonic and polytonic Greek, independent of the `babel` % package. % +% This package is part of the lgrx_ bundle. +% % .. contents:: % % % Changelog % --------- % -% ===== ============ =================================================== +% .. class:: borderless +% +% ===== ============ ==================================================== % 0.1 2010-03-31 initial attempt % 0.2 2010-04-20 diacritics dropped in UPPERCASE % 0.3 2010-06-08 handle Titlecase and UPPERCASE extending @@ -35,14 +40,16 @@ % 0.4.1 2010-08-06 prevent multiple evaluation % 0.5 2010-08-27 support ``\textalpha`` ... ``\textOmega`` % 0.5.1 2012-05-08 upload to CTAN -% ===== ============ =================================================== +% 0.6 2012-06-29 ``\TextGreek`` wrapper command (used in lgrenc.dfu), +% aliases for ``puenc.def`` compatibility +% ===== ============ ==================================================== % % Usage % ----- % -% To prevent confusion with Babel_'s rudimentary ``lgrenc.def``, this file -% is named ``lgrxenc.def``. Load it by calling fontenc_ with the ``LGRx`` -% option. +% To prevent confusion with Babel_'s rudimentary ``lgrenc.def``, this file is +% named ``lgrxenc.def``. Load it by calling fontenc_ with the ``LGRx`` option +% or indirectly via the textalpha_ or alphabeta_ packages. % % Example: % Select font encodings `T1` (as default) and `LGR` (with the comprehensive @@ -51,7 +58,7 @@ % ``\usepackage[LGRx,T1]{fontenc}`` % % .. Attention:: The name of the font encoding defined by the option ``LGRx`` -% is **not** `LGRx` but `LGR`. Therefore, ``LGRx`` may not be the +% is **not** `LGRx` but `LGR`. Therefore, ``LGRx`` must not be the % last option (as fontenc uses the last option to select the default font % encoding). To set `LGR` as as default font encoding specify both, % `LGRx` and `LGR`, e.g. @@ -150,14 +157,14 @@ % the `XML Entity Definitions for Characters`_ W3C Recommendation from % 01 April 2010. % -% For glyph names of the LGR encoding see e.g. ``CB.enc`` by -% Apostolos Syropoulos and ``xl-lgr.enc`` from the `libertine` package. +% For glyph names of the LGR encoding see e.g. ``CB.enc`` by Apostolos +% Syropoulos and ``xl-lgr.enc`` from the libertine_ (legacy) package. % ``lgr.cmap`` provides a mapping to Unicode characters. % % A full set of ``\text*`` symbol macros is defined in ``ucsencs.def`` % from the ucs_ package. % -% Using the names from ``puenc.def`` ensures that the `hyperref` package +% Using the names from ``puenc.def`` ensures that the hyperref_ package % will do the right conversion to a PDF-string % (see `<greek-part-of-puenc.def>`_). % @@ -172,6 +179,12 @@ % % Read this file only once % ~~~~~~~~~~~~~~~~~~~~~~~~ +% .. note:: The use of ``\@ifundefined`` has the side-effect that the tested +% macro becomes defined and set to ``\relax`` (polluting the namespace and +% interfering with test via eTeX's ``\ifdefined``). However, in this case +% no harm is done as the macro is defined by the identification_ below +% anyway. +% % :: \@ifundefined{ver@lgrxenc.def} @@ -180,34 +193,49 @@ \expandafter\endinput % "return" } -% Announcement -% ~~~~~~~~~~~~ -% -% \ProvidesFile{lgrxenc.def} -% [2010/06/08 v0.5.1 % -% comprehensive LGR Greek Font Encoding definitions] -% -% +% Identification +% ~~~~~~~~~~~~~~ +% :: + +\ProvidesFile{lgrxenc.def} + [2012/07/03 v0.6 % + comprehensive LGR Greek Font Encoding definitions] + + % Base setup % ~~~~~~~~~~ % -% The base setup is copied from the standard encoding file -% ``lgrenc.def`` that comes with the Babel package:: +% Declare the font encoding and substitutions. +% (from the file ``lgrenc.def`` that comes with the Babel package):: \DeclareFontEncoding{LGR}{}{} \DeclareFontSubstitution{LGR}{cmr}{m}{n} \DeclareErrorFont{LGR}{cmr}{m}{n}{10} +% The ``\TextGreek`` command can be used to ensure that its argument is set in +% a font encoding with support for Greek. If the font encoding is already LGR, +% kerning between adjacent command calls (e.g. +% ``\TextGreek{A}\TextGreek{\Upsilon}``) is preserved. This allows wrapping of +% compound Unicode character definitions. :: + +\DeclareTextCommand{\TextGreek}{LGR}[1]{#1} + + % Text symbols % ~~~~~~~~~~~~ % % Greek Alphabet % """""""""""""" % -% All letters are accessible by the Latin transcription. However, as -% they are distinct text symbols, ``\text*`` macros are defined. -% The `textalpha.sty` package makes these macros available in any font -% encoding. :: +% Greek letters are accessible by the Latin transcription, but the mapping is +% specific to the LGR font encoding. +% +% The ``\text*`` macros provide a way to access the symbols in any font +% encoding supporting Greek independent of the specific font encoding. +% Alternative Greek font encodings are LGI (ibycus_) and PU (`PDF Unicode` +% used by hyperref_ for PDF metadata). The `textalpha.sty` package makes these +% macros available in any font encoding. +% :: \DeclareTextSymbol{\textAlpha}{LGR}{65} \DeclareTextSymbol{\textBeta}{LGR}{66} @@ -266,47 +294,66 @@ % """""""""""""""""""""""" % % Ancient Greek Numbers (Athenian Numerals) -% named like in the athnum_ package:: +% ''''''''''''''''''''''''''''''''''''''''' +% +% Names from the athnum_ package:: \DeclareTextSymbol{\PiDelta}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY \DeclareTextSymbol{\PiEta}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED \DeclareTextSymbol{\PiChi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND \DeclareTextSymbol{\PiMu}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND -% or using Greek numerals (as in ``xl-lgr.enc``):: - -%\DeclareTextSymbol{\pentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY -%\DeclareTextSymbol{\pentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -%\DeclareTextSymbol{\penteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -%\DeclareTextSymbol{\pentemurioi}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND - - -% after babel's ``greek.ldf`` and teubner_:: - -\DeclareTextSymbol{\stigma}{LGR}{6} % ϛ -\DeclareTextSymbol{\varstigma}{LGR}{7} % stigma variant (CB.enc, teubner) -% \DeclareTextSymbol{\vardigamma}{LGR}{7} % digamma variant (greek.ldf) -\DeclareTextSymbol{\koppa}{LGR}{18} % ϟ (greek small letter koppa) -\DeclareTextSymbol{\qoppa}{LGR}{19} % ϙ (archaic koppa) -\DeclareTextSymbol{\Qoppa}{LGR}{21} % Ϙ (archaic Koppa) -\DeclareTextSymbol{\Stigma}{LGR}{22} % ϹΤ ligature (teubner) -% \DeclareTextSymbol{\Stigma}{LGR}{??} % Ϛ -\DeclareTextSymbol{\Sampi}{LGR}{23} % Ϡ -\DeclareTextSymbol{\sampi}{LGR}{27} % ϡ -\DeclareTextSymbol{\anoteleia}{LGR}{38} % · -\DeclareTextSymbol{\erotimatiko}{LGR}{63} % ; -\DeclareTextSymbol{\ddigamma}{LGR}{147} % ϝ (\digamma used by amsmath!) -\DeclareTextSymbol{\Digamma}{LGR}{195} % Ϝ -% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals +% Names from ``xl-lgr.enc`` (Greek numerals):: + +\DeclareTextSymbol{\pentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbol{\pentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbol{\penteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbol{\pentemurioi}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + + +% Archaic letters +% ''''''''''''''' +% Names after babel_'s ``greek.ldf``, teubner_ and hyperref_'s puenc.def:: + +\DeclareTextSymbol{\stigma}{LGR}{6} % ϛ (greek.df, teubner) +\DeclareTextSymbol{\textstigmagreek}{LGR}{6} % ϛ (puenc.def) +\DeclareTextSymbol{\varstigma}{LGR}{7} % stigma variant (CB.enc, teubner) +% \DeclareTextSymbol{\vardigamma}{LGR}{7} % digamma variant (greek.ldf) +\DeclareTextSymbol{\koppa}{LGR}{18} % ϟ (greek small letter koppa) +\DeclareTextSymbol{\textkoppagreek}{LGR}{18} % ϟ (puenc.def) +\DeclareTextSymbol{\qoppa}{LGR}{19} % ϙ (archaic koppa) +\DeclareTextSymbol{\Qoppa}{LGR}{21} % Ϙ (archaic Koppa) +\DeclareTextSymbol{\Stigma}{LGR}{22} % ϹΤ ligature (teubner) +\DeclareTextSymbol{\textStigmagreek}{LGR}{22} % ϹΤ ligature (puenc.def) +% \DeclareTextSymbol{\Stigma}{LGR}{??} % Ϛ +\DeclareTextSymbol{\Sampi}{LGR}{23} % Ϡ +\DeclareTextSymbol{\textSampigreek}{LGR}{23} % Ϡ (puenc.def) +\DeclareTextSymbol{\sampi}{LGR}{27} % ϡ +\DeclareTextSymbol{\textsampigreek}{LGR}{27} % ϡ (puend.def) +\DeclareTextSymbol{\anoteleia}{LGR}{38} % · +\DeclareTextSymbol{\erotimatiko}{LGR}{63} % ; +% \digamma used by amsmath for math-macro: +\DeclareTextSymbol{\ddigamma}{LGR}{147} % ϝ (greek.ldf) +\DeclareTextSymbol{\Digamma}{LGR}{195} % Ϝ (greek.ldf) +\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ with "text" prefix +\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ with "text" prefix +\DeclareTextSymbol{\textdigammagreek}{LGR}{147} % ϝ (puenc.def) +\DeclareTextSymbol{\textDigammagreek}{LGR}{195} % Ϝ (puenc.def) + + +% numeral signs +% ''''''''''''' +% See also http://en.wikipedia.org/wiki/Greek_numerals +% +% Names from babel_ and teubner_:: + \DeclareTextSymbol{\anwtonos}{LGR}{254} % ʹ (Dexia keraia) \DeclareTextSymbol{\katwtonos}{LGR}{255} % ͵ (Aristeri keraia) -% As ``\digamma`` is a math macro (defined in amsmath), provide aliases -% named as ``\text`` followed by the glyph name (as recommended in -% ``fntguide.pdf``:: +% alias names for compatibility with hyperref's puenc.def:: -\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ alias using "text" prefix -\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ +\DeclareTextSymbol{\textnumeralsigngreek}{LGR}{254} +\DeclareTextSymbol{\textnumeralsignlowergreek}{LGR}{255} % Other @@ -691,7 +738,7 @@ % of an uppercase initial (written before rather than above the letter). % % The diaytika should also always be used in all-uppercase words (even -% in cases where they are not needed when writing in lowercase +% in cases where they are not needed when writing in lowercase) % % -- http://en.wikipedia.org/wiki/Capitalization % @@ -937,25 +984,35 @@ % Mark hiatus % ''''''''''' % -% Tonos and dasia mark a hiatus if placed on the first vowel of a -% diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the second vowel -% if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ, ἀυπνία -% → ΑΫΠΝΙΑ):: +% Tonos and dasia mark a hiatus (break-up of a diphtong) if placed on the +% first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the +% second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ, +% ἀυπνία → ΑΫΠΝΙΑ):: \DeclareTextCommand{\@hiatus}{LGR}[1]{#1} \DeclareTextCompositeCommand{\@hiatus}{LGR}{A}{\A@hiatus} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\textAlpha}{\A@hiatus} \DeclareTextCompositeCommand{\@hiatus}{LGR}{E}{\E@hiatus} +\DeclareTextCompositeCommand{\@hiatus}{LGR}{\textEpsilon}{\E@hiatus} % Look ahead and place a diaeresis on Ι or Υ:: \DeclareTextCommand{\A@hiatus}{LGR}{% \LGR@ifnextchar{I}{A\"}{% - \LGR@ifnextchar{U}{A\"}{A}% + \LGR@ifnextchar{U}{A\"}{% + \LGR@ifnextchar{\textIota}{A\"}{% + \LGR@ifnextchar{\textUpsilon}{A\"}{A}% + }% + }% }% } \DeclareTextCommand{\E@hiatus}{LGR}{% \LGR@ifnextchar{I}{E\"}{% - \LGR@ifnextchar{U}{E\"}{E}% + \LGR@ifnextchar{U}{E\"}{% + \LGR@ifnextchar{\textIota}{E\"}{% + \LGR@ifnextchar{\textUpsilon}{E\"}{E}% + }% + }% }% } @@ -1005,12 +1062,18 @@ % .. References % ---------- % -% .. _Babel: http://www.ctan.org/pkg/babel -% .. _fontenc: http://www.ctan.org/pkg/fontenc +% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +% .. _lgrx: http://mirror.ctan.org/help/Catalogue/entries/lgrx.html +% .. _textalpha: textalpha.sty.html +% .. _alphabeta: alphabeta.sty.html +% .. _Babel: http://mirror.ctan.org/help/Catalogue/entries/babel.html +% .. _ibycus: http://mirror.ctan.org/help/Catalogue/entries/ibycus-babel.html +% .. _libertine: http://mirror.ctan.org/help/Catalogue/entries/libertine-legacy.html +% .. _hyperref: http://mirror.ctan.org/help/Catalogue/entries/hyperref.html +% .. _fontenc: http://mirror.ctan.org/help/Catalogue/entries/fontenc.html % .. _Adobe Glyph List For New Fonts: % http://www.adobe.com/devnet/opentype/archives/aglfn.txt % .. _athnum: http://mirror.ctan.org/help/Catalogue/entries/athnum.html -% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _fntguide: http://mirror.ctan.org/macros/latex/doc/fntguide.pdf % .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf % .. _teubner: http://mirror.ctan.org/help/Catalogue/entries/teubner.html diff --git a/Master/texmf-dist/tex/latex/lgrx/textalpha.sty b/Master/texmf-dist/tex/latex/lgrx/textalpha.sty index af13546602b..86741a240ee 100644 --- a/Master/texmf-dist/tex/latex/lgrx/textalpha.sty +++ b/Master/texmf-dist/tex/latex/lgrx/textalpha.sty @@ -1,83 +1,124 @@ -% Greek symbols in text -% ********************* -% +% 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} -[2010/08/04 v0.1 macros for Greek letters in text] +[2012/07/03 v0.2 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 % ========== ===== ========================================================= -% +% % Motivation % ========== -% -% By default, the ``\alpha`` -- ``\Omega`` macros for Greek letters -% -% * are only valid in mathematical mode -% -% * do not change shape (default shape is italic) -% +% +% By default, macros for Greek letters +% +% * are only valid in mathematical mode, +% * do not change shape (default shape is italic). +% % In Greek text fonts with the LGR font encoding, letters are -% accessible by a Latin transcription. -% +% accessible by a Latin transcription. +% % This package provides a set of macros that can be used to access Greek % symbols from a font in LGR encoding (e.g. the `CB fonts`_) without the % need for an explicite font-encoding switch. -% +% % The macro names follow the established scheme to prepend ``\text*`` to % the Adobe glyph name (if it exists) or the corresponding math-macro, so % ``\textalpha`` -- ``\textOmega`` prints α – Ω. -% +% % * In combination with the ``\text`` macro from amsmath, this can be % used to get matching upright and bold upright Greek symbols in math % as well. -% +% % * In combination with ``\usepackage[utf8]{inputenc}`` and the % accompanying ``lgrenc.dfu`` file, Unicode input of Greek characters % is supported. -% +% % This is done using NFSS default definitions as explained in the % fntguide_ (section 5.3). -% +% % Attention -% While the macros work reasonably well for single letters, the -% automatic font-encoding switches behind the doors destroy the -% kerning between the letters. -% -% Text composites (replacement of accent+character with a pre-composed -% character) work in LGR, but not in other encodings (due to the -% forth-and-back font encoding switch). -% -% Therefore, Greek text should be written with the help of babel_, -% setting the language to either ``greek`` or ``polutonikogreek``. -% -% +% While the macros work reasonably well for single letters, the automatic +% font-encoding switches behind the doors interferes with the kerning +% between the 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 either ``greek`` or ``polutonikogreek`` or wrapped in the +% provided ``\TextGreek`` macro. +% +% % Implementation % ============== -% -% This package requires the extended font encoding definitions:: +% +% Requirements +% ------------ +% +% This package requires the extended font encoding definitions :: \input{lgrxenc.def} +% TextGreek +% --------- +% +% The ``\TextGreek`` 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{\TextGreek}[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{\TextGreek}{LGR}`` this fails with the table +% of Unicode characters in the test document `<textalpha-test.tex>`__: +% +% ``! You can't use a prefix with `end-group character }'.`` +% +% Font encodings supporting Greek script (e.g. LGI) may declare a specific +% text command that passes the argument unchanged. This way, kerning and +% selection of precomposed glyphs work also for cases like +% ``\TextGreek{\'A}U``. +% +% .. Do this for PU here? ``\DeclareTextCommand{\TextGreek}{PU}[1]{#1}`` +% +% Rather not: Not required, as hyperref's PDF string preparation +% ignores unknown commands. Can lead to infinite recursion (``TeX capacity +% exeeded``) without the ``unicode=true`` hyperref option.: +% +% % Greek Alphabet % -------------- -% +% % Define the ``text*`` marcos as default for all font encodings:: \DeclareTextSymbolDefault{\textAlpha}{LGR} @@ -131,9 +172,54 @@ \DeclareTextSymbolDefault{\textpsi}{LGR} \DeclareTextSymbolDefault{\textomega}{LGR} +% Additional Greek symbols +% """""""""""""""""""""""" +% +% Ancient Greek Numbers (Athenian Numerals):: + +\DeclareTextSymbolDefault{\PiDelta}{LGR} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbolDefault{\PiEta}{LGR} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbolDefault{\PiChi}{LGR} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbolDefault{\PiMu}{LGR} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +% \DeclareTextSymbolDefault{\pentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY +% \DeclareTextSymbolDefault{\pentehekaton}{LGR} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +% \DeclareTextSymbolDefault{\penteqilioi}{LGR} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +% \DeclareTextSymbolDefault{\pentemurioi}{LGR} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + +\DeclareTextSymbolDefault{\stigma}{LGR} % ϛ +\DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def) +\DeclareTextSymbolDefault{\varstigma}{LGR} % stigma variant (CB.enc, teubner) +% \DeclareTextSymbolDefault{\vardigamma}{LGR} % digamma variant (greek.ldf) +\DeclareTextSymbolDefault{\koppa}{LGR} % ϟ (greek small letter koppa) +\DeclareTextSymbolDefault{\textkoppagreek}{LGR} % ϟ (puenc.def) +\DeclareTextSymbolDefault{\qoppa}{LGR} % ϙ (archaic koppa) +\DeclareTextSymbolDefault{\Qoppa}{LGR} % Ϙ (archaic Koppa) +\DeclareTextSymbolDefault{\Stigma}{LGR} % ϹΤ ligature (teubner) +\DeclareTextSymbolDefault{\textStigmagreek}{LGR} % ϹΤ ligature (puenc.def) +\DeclareTextSymbolDefault{\Sampi}{LGR} % Ϡ +\DeclareTextSymbolDefault{\textSampigreek}{LGR} % Ϡ (puenc.def) +\DeclareTextSymbolDefault{\sampi}{LGR} % ϡ +\DeclareTextSymbolDefault{\textsampigreek}{LGR} % ϡ (puenc.def) +\DeclareTextSymbolDefault{\anoteleia}{LGR} % · +\DeclareTextSymbolDefault{\erotimatiko}{LGR} % ; +% \digamma used by amsmath! +\DeclareTextSymbolDefault{\ddigamma}{LGR} % ϝ (greek.ldf) +\DeclareTextSymbolDefault{\Digamma}{LGR} % Ϝ +\DeclareTextSymbolDefault{\textdigamma}{LGR} % ϝ alias using "text" prefix +\DeclareTextSymbolDefault{\textDigamma}{LGR} % Ϝ alias using "text" prefix +\DeclareTextSymbolDefault{\textdigammagreek}{LGR} % ϝ (puenc.def) +\DeclareTextSymbolDefault{\textDigammagreek}{LGR} % Ϝ (puenc.def) + +% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals +\DeclareTextSymbolDefault{\anwtonos}{LGR} % ʹ (Dexia keraia) +\DeclareTextSymbolDefault{\katwtonos}{LGR} % ͵ (Aristeri keraia) +% alias names for compatibility with hyperref's puenc.def: +\DeclareTextSymbolDefault{\textnumeralsigngreek}{LGR} +\DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} + % Diacritics % ---------- -% +% % Diacritics are defined via "named" macros in ``lgrxenc.def``. Make them % default in any encoding:: @@ -156,11 +242,23 @@ \DeclareTextAccentDefault{\DialytikaVaria}{LGR} \DeclareTextAccentDefault{\DialytikaPerispomeni}{LGR} +% Postfix accents:: + +\DeclareTextSymbolDefault{\Ypogegrammeni}{LGR} % "small" sub-iota +\DeclareTextSymbolDefault{\Prosgegrammeni}{LGR} % "capital" sub-iota + +% Auxiliary commands +% ------------------ +% +% ``\MakeUppercase`` requires some internal commands:: +\DeclareTextAccentDefault{\@hiatus}{LGR} +\DeclareTextAccentDefault{\up@Dialytika}{LGR} % .. References % ---------- % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +% .. _lgrx: http://www.ctan.org/pkg/lgrx % .. _babel: http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel % .. _fntguide: http://www.ctan.org/tex-archive/macros/latex/doc/fntguide.pdf % .. _CB fonts: http://www.ctan.org/pkg/cbgreek-complete |