summaryrefslogtreecommitdiff
path: root/language/greek/greek-fontenc/lgrenc.def.html
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/greek/greek-fontenc/lgrenc.def.html
Initial commit
Diffstat (limited to 'language/greek/greek-fontenc/lgrenc.def.html')
-rw-r--r--language/greek/greek-fontenc/lgrenc.def.html1515
1 files changed, 1515 insertions, 0 deletions
diff --git a/language/greek/greek-fontenc/lgrenc.def.html b/language/greek/greek-fontenc/lgrenc.def.html
new file mode 100644
index 0000000000..a326fd105a
--- /dev/null
+++ b/language/greek/greek-fontenc/lgrenc.def.html
@@ -0,0 +1,1515 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta charset="utf-8"/>
+<meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" />
+<title>lgrenc.def</title>
+<meta name="dcterms.rights" content="© 2010, 2014 Günter Milde" />
+<link rel="schema.dcterms" href="http://purl.org/dc/terms/">
+<style type="text/css">
+
+/* Minimal style sheet for the HTML output of Docutils. */
+/* */
+/* :Author: Günter Milde, based on html4css1.css by David Goodger */
+/* :Id: $Id$ */
+/* :Copyright: © 2015 Günter Milde. */
+/* :License: Released under the terms of the `2-Clause BSD license`_, */
+/* in short: */
+/* */
+/* Copying and distribution of this file, with or without modification, */
+/* are permitted in any medium without royalty provided the copyright */
+/* notice and this notice are preserved. */
+/* */
+/* This file is offered as-is, without any warranty. */
+/* */
+/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
+
+/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
+/* HTML equivalent. It is required to make the document semantic visible. */
+/* */
+/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
+/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
+
+/* alignment of text and inline objects inside block objects*/
+.align-left { text-align: left; }
+.align-right { text-align: right; }
+.align-center { clear: both; text-align: center; }
+.align-top { vertical-align: top; }
+.align-middle { vertical-align: middle; }
+.align-bottom { vertical-align: bottom; }
+
+/* titles */
+h1.title, p.subtitle {
+ text-align: center;
+}
+p.admonition-title,
+p.topic-title,
+p.sidebar-title,
+p.rubric,
+p.system-message-title {
+ font-weight: bold;
+}
+h1 + p.subtitle,
+h1 + p.section-subtitle {
+ font-size: 1.6em;
+}
+h2 + p.section-subtitle { font-size: 1.28em; }
+p.subtitle,
+p.section-subtitle,
+p.sidebar-subtitle {
+ font-weight: bold;
+ margin-top: -0.5em;
+}
+p.sidebar-title,
+p.rubric {
+ font-size: larger;
+}
+p.rubric { color: maroon; }
+a.toc-backref {
+ color: black;
+ text-decoration: none; }
+
+/* Warnings, Errors */
+div.caution p.admonition-title,
+div.attention p.admonition-title,
+div.danger p.admonition-title,
+div.error p.admonition-title,
+div.warning p.admonition-title,
+div.system-messages h1,
+div.error,
+span.problematic,
+p.system-message-title {
+ color: red;
+}
+
+/* inline literals */
+span.docutils.literal {
+ font-family: monospace;
+ white-space: pre-wrap;
+}
+/* do not wraph at hyphens and similar: */
+.literal > span.pre { white-space: nowrap; }
+
+/* Lists */
+
+/* compact and simple lists: no margin between items */
+.simple li, .compact li,
+.simple ul, .compact ul,
+.simple ol, .compact ol,
+.simple > li p, .compact > li p,
+dl.simple > dd, dl.compact > dd {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+/* Table of Contents */
+div.topic.contents { margin: 0; }
+div.topic.contents ul {
+ list-style-type: none;
+ padding-left: 1.5em;
+}
+
+/* Enumerated Lists */
+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 }
+
+dt span.classifier { font-style: italic }
+dt span.classifier:before {
+ font-style: normal;
+ margin: 0.5em;
+ content: ":";
+}
+
+/* Field Lists and drivatives */
+/* bold field name, content starts on the same line */
+dl.field-list > dt,
+dl.option-list > dt,
+dl.docinfo > dt,
+dl.footnote > dt,
+dl.citation > dt {
+ font-weight: bold;
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
+}
+/* Offset for field content (corresponds to the --field-name-limit option) */
+dl.field-list > dd,
+dl.option-list > dd,
+dl.docinfo > dd {
+ margin-left: 9em; /* ca. 14 chars in the test examples */
+}
+/* start field-body on a new line after long field names */
+dl.field-list > dd > *:first-child,
+dl.option-list > dd > *:first-child
+{
+ display: inline-block;
+ width: 100%;
+ margin: 0;
+}
+/* field names followed by a colon */
+dl.field-list > dt:after,
+dl.docinfo > dt:after {
+ content: ":";
+}
+
+/* Bibliographic Fields (docinfo) */
+pre.address { font: inherit; }
+dd.authors > p { margin: 0; }
+
+/* Option Lists */
+dl.option-list { margin-left: 40px; }
+dl.option-list > dt { font-weight: normal; }
+span.option { white-space: nowrap; }
+
+/* Footnotes and Citations */
+dl.footnote.superscript > dd {margin-left: 1em; }
+dl.footnote.brackets > dd {margin-left: 2em; }
+dl > dt.label { font-weight: normal; }
+a.footnote-reference.brackets:before,
+dt.label > span.brackets:before { content: "["; }
+a.footnote-reference.brackets:after,
+dt.label > span.brackets:after { content: "]"; }
+a.footnote-reference.superscript,
+dl.footnote.superscript > dt.label {
+ vertical-align: super;
+ font-size: smaller;
+}
+dt.label > span.fn-backref { margin-left: 0.2em; }
+dt.label > span.fn-backref > a { font-style: italic; }
+
+/* Line Blocks */
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-left: 40px;
+}
+
+/* Figures, Images, and Tables */
+.figure.align-left,
+img.align-left,
+object.align-left,
+table.align-left {
+ margin-right: auto;
+}
+.figure.align-center,
+img.align-center,
+object.align-center {
+ margin-left: auto;
+ margin-right: auto;
+ display: block;
+}
+table.align-center {
+ margin-left: auto;
+ margin-right: auto;
+}
+.figure.align-right,
+img.align-right,
+object.align-right,
+table.align-right {
+ margin-left: auto;
+}
+/* reset inner alignment in figures and tables */
+/* div.align-left, div.align-center, div.align-right, */
+table.align-left, table.align-center, table.align-right
+{ text-align: inherit }
+
+/* Admonitions and System Messages */
+div.admonition,
+div.system-message,
+div.sidebar{
+ margin: 40px;
+ border: medium outset;
+ padding-right: 1em;
+ padding-left: 1em;
+}
+
+/* Sidebar */
+div.sidebar {
+ width: 30%;
+ max-width: 26em;
+ float: right;
+ clear: right;
+}
+
+/* Text Blocks */
+blockquote,
+div.topic,
+pre.literal-block,
+pre.doctest-block,
+pre.math,
+pre.code {
+ margin-left: 1.5em;
+ margin-right: 1.5em
+}
+pre.code .ln { color: gray; } /* line numbers */
+
+/* Tables */
+table { border-collapse: collapse; }
+td, th {
+ border-style: solid;
+ border-color: silver;
+ padding: 0 1ex;
+ border-width: thin;
+}
+td > p:first-child, th > p:first-child { margin-top: 0; }
+td > p, th > p { margin-bottom: 0; }
+
+table > caption {
+ text-align: left;
+ margin-bottom: 0.25em
+}
+
+table.borderless td, table.borderless th {
+ border: 0;
+ padding: 0;
+ padding-right: 0.5em /* separate table cells */
+}
+
+</style>
+<style type="text/css">
+
+/* CSS31_ style sheet for the output of Docutils HTML writers. */
+/* Rules for easy reading and pre-defined style variants. */
+/* */
+/* :Author: Günter Milde, based on html4css1.css by David Goodger */
+/* :Id: $Id$ */
+/* :Copyright: © 2015 Günter Milde. */
+/* :License: Released under the terms of the `2-Clause BSD license`_, */
+/* in short: */
+/* */
+/* Copying and distribution of this file, with or without modification, */
+/* are permitted in any medium without royalty provided the copyright */
+/* notice and this notice are preserved. */
+/* */
+/* This file is offered as-is, without any warranty. */
+/* */
+/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
+/* .. _CSS3: http://www.w3.org/TR/CSS3 */
+
+
+/* Document Structure */
+/* ****************** */
+
+/* "page layout" */
+body {
+ margin: 0;
+ background-color: #dbdbdb;
+}
+div.document {
+ line-height:1.3;
+ counter-reset: table;
+ /* counter-reset: figure; */
+ /* avoid long lines --> better reading */
+ /* OTOH: lines should not be too short because of missing hyphenation, */
+ max-width: 50em;
+ padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
+ margin: auto;
+ background-color: white;
+}
+
+/* Sections */
+
+/* Transitions */
+
+hr.docutils {
+ width: 80%;
+ margin-top: 1em;
+ margin-bottom: 1em;
+ clear: both;
+}
+
+/* Paragraphs */
+/* ========== */
+
+/* vertical space (parskip) */
+p, ol, ul, dl,
+div.line-block,
+table{
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
+h1, h2, h3, h4, h5, h6,
+dl > dd {
+ margin-bottom: 0.5em;
+}
+
+/* Lists */
+/* ========== */
+
+/* Definition Lists */
+
+dl > dd > p:first-child { margin-top: 0; }
+/* :last-child is not part of CSS 2.1 (introduced in CSS 3) */
+dl > dd > p:last-child { margin-bottom: 0; }
+
+/* lists nested in definition lists */
+/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */
+dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+
+/* Description Lists */
+/* styled like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ font-weight: bold;
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
+}
+
+/* Field Lists */
+
+/* example for custom field-name width */
+dl.field-list.narrow > dd {
+ margin-left: 5em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
+}
+
+/* Bibliographic Fields */
+
+/* generally, bibliographic fields use special definition list dl.docinfo */
+/* but dedication and abstract are placed into "topic" divs */
+div.abstract p.topic-title {
+ text-align: center;
+}
+div.dedication {
+ margin: 2em 5em;
+ text-align: center;
+ font-style: italic;
+}
+div.dedication p.topic-title {
+ font-style: normal;
+}
+
+/* Citations */
+dl.citation dt.label {
+ font-weight: bold;
+}
+span.fn-backref {
+ font-weight: normal;
+}
+
+/* Text Blocks */
+/* ============ */
+
+/* Literal Blocks */
+
+/* Block Quotes */
+
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+ margin-left: 20%;
+}
+
+/* Tables */
+/* ====== */
+
+/* th { vertical-align: bottom; } */
+
+table tr { text-align: left; }
+
+/* "booktabs" style (no vertical lines) */
+table.booktabs {
+ border: 0;
+ border-top: 2px solid;
+ border-bottom: 2px solid;
+ border-collapse: collapse;
+}
+table.booktabs * {
+ border: 0;
+}
+table.booktabs th {
+ border-bottom: thin solid;
+}
+
+/* numbered tables (counter defined in div.document) */
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+}
+
+/* Explicit Markup Blocks */
+/* ====================== */
+
+/* Footnotes and Citations */
+/* ----------------------- */
+
+/* line on the left */
+dl.footnote {
+ padding-left: 1ex;
+ border-left: solid;
+ border-left-width: thin;
+}
+
+/* Directives */
+/* ---------- */
+
+/* Body Elements */
+/* ~~~~~~~~~~~~~ */
+
+/* Images and Figures */
+
+/* let content flow to the side of aligned images and figures */
+.figure.align-left,
+img.align-left,
+object.align-left {
+ display: block;
+ clear: left;
+ float: left;
+ margin-right: 1em
+}
+.figure.align-right,
+img.align-right,
+object.align-right {
+ display: block;
+ clear: right;
+ float: right;
+ margin-left: 1em
+}
+/* Stop floating sidebars, images and figures at section level 1,2,3 */
+h1, h2, h3 { clear: both; }
+
+/* Sidebar */
+
+/* Move into the margin. In a layout with fixed margins, */
+/* it can be moved into the margin completely. */
+div.sidebar {
+ width: 30%;
+ max-width: 26em;
+ margin-left: 1em;
+ margin-right: -5.5%;
+ background-color: #ffffee ;
+}
+
+/* Code */
+
+pre.code { padding: 0.7ex }
+pre.code, code { background-color: #eeeeee }
+pre.code .ln { color: gray; } /* line numbers */
+/* basic highlighting: for a complete scheme, see */
+/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
+
+/* Math */
+/* styled separately (see math.css for math-output=HTML) */
+
+/* Epigraph */
+/* Highlights */
+/* Pull-Quote */
+/* Compound Paragraph */
+/* Container */
+
+/* can be styled in a custom stylesheet */
+
+/* Document Header and Footer */
+
+div.footer, div.header {
+ clear: both;
+ font-size: smaller;
+}
+
+/* Inline Markup */
+/* ============= */
+
+/* Emphasis */
+/* em */
+/* Strong Emphasis */
+/* strong */
+/* Interpreted Text */
+/* span.interpreted */
+/* Title Reference */
+/* cite */
+/* Inline Literals */
+/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
+/* span.docutils.literal { white-space: pre-wrap; } */
+
+/* Hyperlink References */
+a { text-decoration: none; }
+
+/* External Targets */
+/* span.target.external */
+/* Internal Targets */
+/* span.target.internal */
+/* Footnote References */
+/* a.footnote-reference */
+/* Citation References */
+/* a.citation-reference */
+
+</style>
+</head>
+<body>
+<div class="document" id="lgrenc-def">
+<h1 class="title">lgrenc.def</h1>
+<p class="subtitle" id="lgr-greek-font-encoding-definitions">LGR Greek font encoding definitions</p>
+<dl class="docinfo simple">
+<dt class="copyright">Copyright</dt>
+<dd class="copyright">© 2010, 2014 Günter Milde</dd>
+<dt class="licence">Licence</dt>
+<dd class="licence"><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>
+</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. 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>
+</div>
+<div class="contents topic" id="contents">
+<p class="topic-title first">Contents</p>
+<ul class="simple">
+<li><p><a class="reference internal" href="#changelog" id="id2">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="id3">Usage</a></p></li>
+<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="#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>
+<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>
+<li><p><a class="reference internal" href="#variant-symbols" id="id14">variant symbols</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#other" id="id15">Other</a></p></li>
+<li><p><a class="reference internal" href="#not-implemented" id="id16">Not implemented</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#diacritics" id="id17">Diacritics</a></p>
+<ul>
+<li><p><a class="reference internal" href="#named-macros" id="id18">Named macros</a></p></li>
+<li><p><a class="reference internal" href="#aliases" id="id19">Aliases</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#common-greek-font-encoding-definitions" id="id20">Common Greek font encoding definitions</a></p></li>
+<li><p><a class="reference internal" href="#composite-definitions" id="id21">Composite definitions</a></p>
+<ul>
+<li><p><a class="reference internal" href="#composite-diacritics" id="id22">Composite diacritics</a></p></li>
+<li><p><a class="reference internal" href="#pre-composed-letters" id="id23">Pre-composed letters</a></p>
+<ul>
+<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="id24">Small letters with diacritics</a></p></li>
+<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="id25">Capital letters with diacritics</a></p></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#uppercase" id="id26">UPPERCASE</a></p></li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="section" id="changelog">
+<h1><a class="toc-backref" href="#id2">Changelog</a></h1>
+<p>Development of this file started under the name “lgrxenc.def” as part of the
+<a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle. With version 0.8, it moved to <span class="docutils literal"><span class="pre">greek-fontenc/lgrx.def</span></span>.</p>
+<table class="borderless">
+<colgroup>
+<col style="width: 8%" />
+<col style="width: 16%" />
+<col style="width: 76%" />
+</colgroup>
+<tbody>
+<tr><td><p>0.1</p></td>
+<td><p>2010-03-31</p></td>
+<td><p>initial attempt</p></td>
+</tr>
+<tr><td><p>0.2</p></td>
+<td><p>2010-04-20</p></td>
+<td><p>diacritics dropped in UPPERCASE.</p></td>
+</tr>
+<tr><td><p>0.3</p></td>
+<td><p>2010-06-08</p></td>
+<td><p>handle Titlecase and UPPERCASE extending
+<span class="docutils literal">\&#64;uclclist</span>.</p></td>
+</tr>
+<tr><td><p>0.4</p></td>
+<td><p>2010-06-15</p></td>
+<td><p>more text symbols.</p></td>
+</tr>
+<tr><td><p>0.5</p></td>
+<td><p>2010-08-27</p></td>
+<td><p>support <span class="docutils literal">\textalpha</span> … <span class="docutils literal">\textOmega</span>.</p></td>
+</tr>
+<tr><td><p>0.5.1</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><span class="docutils literal">\TextGreek</span> wrapper command,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>aliases for <span class="docutils literal">puenc.def</span> compatibility.</p></td>
+</tr>
+<tr><td><p>0.6.1</p></td>
+<td><p>2013-02-12</p></td>
+<td><p><span class="docutils literal">\&#64;uclclist</span> entries for <cite>PU</cite> aliases.</p></td>
+</tr>
+<tr><td><p>0.7</p></td>
+<td><p>2013-05-13</p></td>
+<td><p>documentation update, new accent macros names,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p><span class="docutils literal">\TextGreek</span> renamed to <span class="docutils literal">\ensuregreek</span>.</p></td>
+</tr>
+<tr><td><p>0.8</p></td>
+<td><p>2013-05-13</p></td>
+<td><p>rename to lgrenc.def (superseding the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a> version),</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>move to greek-fontenc,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>drop the old (&lt;0.7) internal accent macros names.</p></td>
+</tr>
+<tr><td><p>0.8.1</p></td>
+<td><p>2013-05-22</p></td>
+<td><p>auxiliary macro update&#64;uclc&#64;with&#64;greek,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>conservative naming: “text” prefix for archaic letters,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>“LGR&#64;” prefix for internal commands,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>remove not required alias macros.</p></td>
+</tr>
+<tr><td><p>0.8.2</p></td>
+<td><p>2013-05-23</p></td>
+<td><p>fix name: <span class="docutils literal">\textpentehkaton</span> -&gt; <span class="docutils literal">\textpentehekaton</span>,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>fix <span class="docutils literal">\textperiodcentered</span>,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>add composite command for Ῥ (Rho with Dasia).</p></td>
+</tr>
+<tr><td><p>0.9</p></td>
+<td><p>2013-07-16</p></td>
+<td><p>move common definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>add composite commands for single quotation marks.</p></td>
+</tr>
+<tr><td><p>0.11.2</p></td>
+<td><p>2014-09-04</p></td>
+<td><p>remove duplicate code.</p></td>
+</tr>
+<tr><td><p>0.13</p></td>
+<td><p>2015-08-04</p></td>
+<td><p>Support for symbol variants.</p></td>
+</tr>
+<tr><td><p>0.13.1</p></td>
+<td><p>2015-12-07</p></td>
+<td><p>Fix <cite>rho with dasia bug</cite> (Linus Romer).</p></td>
+</tr>
+<tr><td><p>0.13.3</p></td>
+<td><p>2019-07-09</p></td>
+<td><p>Drop error font declaration (cf. <a class="reference external" href="https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&amp;search=">ltxbugs 4399</a>).</p></td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="section" id="usage">
+<h1><a class="toc-backref" href="#id3">Usage</a></h1>
+<p>Load this file by calling <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> with the <span class="docutils literal">LGR</span> option
+or indirectly via the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>, <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages.</p>
+<dl>
+<dt>Example:</dt>
+<dd><p>Select font encodings <cite>T1</cite> (as default) and <cite>LGR</cite> (for Greek):</p>
+<blockquote>
+<p><span class="docutils literal"><span class="pre">\usepackage[LGR,T1]{fontenc}</span></span></p>
+</blockquote>
+</dd>
+</dl>
+</div>
+<div class="section" id="implementation">
+<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="admonition note">
+<p class="admonition-title">Note</p>
+<p>The use of <span class="docutils literal">\&#64;ifundefined</span> has the side-effect that the tested
+macro becomes defined and set to <span class="docutils literal">\relax</span> (polluting the namespace and
+interfering with tests via eTeX’s <span class="docutils literal">\ifdefined</span>). 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">% read this file only once
+\&#64;ifundefined{ver&#64;lgrenc.def}
+ {}
+ {\message{LGR font encoding definitions already loaded}
+ \expandafter\endinput % &quot;return&quot;
+ }</pre>
+</div>
+<div class="section" id="identification">
+<h2><a class="toc-backref" href="#id6">Identification</a></h2>
+<pre class="literal-block">\ProvidesFile{lgrenc.def}
+[2019/07/09 v0.13.3 LGR Greek font encoding definitions]
+% Copyright © 2010 Günter Milde
+% This file is part of the &quot;greek-fontenc&quot; package.
+% It may be distributed and/or modified under the
+% conditions of the &quot;LaTeX Project Public License&quot;, either
+% version 1.3 of this license or any later version.</pre>
+<p>You can test the version date using</p>
+<pre class="code latex literal-block"><code><span class="keyword">\&#64;</span>ifl&#64;ter <span class="name builtin">{</span>extension<span class="name builtin">}{</span>filename<span class="name builtin">}{</span>date<span class="name builtin">}{</span>YES<span class="name builtin">}{</span>NO<span class="name builtin">}</span></code></pre>
+<p>or using <a class="reference external" href="http://www.ctan.org/pkg/ltxcmds">ltxcmds</a>’ <span class="docutils literal">\&#64;iffilelater</span>.</p>
+</div>
+<div class="section" id="base-setup">
+<h2><a class="toc-backref" href="#id7">Base setup</a></h2>
+<p>Declare the LGR font encoding and base substitutions:</p>
+<pre class="literal-block">\DeclareFontEncoding{LGR}{}{}
+\DeclareFontSubstitution{LGR}{cmr}{m}{n}</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>Greek letters are accessible by the Latin transcription, but the mapping is
+specific to the LGR font encoding.</p>
+<p>The LICR macros provide a way to access the symbols independent of the
+specific font encoding, in any font encoding supporting Greek. An
+alternative Greek font encodings is LGI (<a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus</a>). Greek script is also
+supported by the Unicode-based font encodings PU (<cite>PDF Unicode</cite> used by
+<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> for PDF metadata), TU, EU1 (XeTeX) and EU2 (LuaTeX). The <a class="reference external" href="textalpha.sty.html">textalpha</a>
+package makes these macros available independent of the current font
+encoding.</p>
+<pre class="literal-block">\DeclareTextSymbol{\textAlpha}{LGR}{65}
+\DeclareTextSymbol{\textBeta}{LGR}{66}
+\DeclareTextSymbol{\textGamma}{LGR}{71}
+\DeclareTextSymbol{\textDelta}{LGR}{68}
+\DeclareTextSymbol{\textEpsilon}{LGR}{69}
+\DeclareTextSymbol{\textZeta}{LGR}{90}
+\DeclareTextSymbol{\textEta}{LGR}{72}
+\DeclareTextSymbol{\textTheta}{LGR}{74}
+\DeclareTextSymbol{\textIota}{LGR}{73}
+\DeclareTextSymbol{\textKappa}{LGR}{75}
+\DeclareTextSymbol{\textLambda}{LGR}{76}
+\DeclareTextSymbol{\textMu}{LGR}{77}
+\DeclareTextSymbol{\textNu}{LGR}{78}
+\DeclareTextSymbol{\textXi}{LGR}{88}
+\DeclareTextSymbol{\textOmicron}{LGR}{79}
+\DeclareTextSymbol{\textPi}{LGR}{80}
+\DeclareTextSymbol{\textRho}{LGR}{82}
+\DeclareTextSymbol{\textSigma}{LGR}{83}
+\DeclareTextSymbol{\textTau}{LGR}{84}
+\DeclareTextSymbol{\textUpsilon}{LGR}{85}
+\DeclareTextSymbol{\textPhi}{LGR}{70}
+\DeclareTextSymbol{\textChi}{LGR}{81}
+\DeclareTextSymbol{\textPsi}{LGR}{89}
+\DeclareTextSymbol{\textOmega}{LGR}{87}
+%
+\DeclareTextSymbol{\textalpha}{LGR}{97}
+\DeclareTextSymbol{\textbeta}{LGR}{98}
+\DeclareTextSymbol{\textgamma}{LGR}{103}
+\DeclareTextSymbol{\textdelta}{LGR}{100}
+\DeclareTextSymbol{\textepsilon}{LGR}{101}
+\DeclareTextSymbol{\textzeta}{LGR}{122}
+\DeclareTextSymbol{\texteta}{LGR}{104}
+\DeclareTextSymbol{\texttheta}{LGR}{106}
+\DeclareTextSymbol{\textiota}{LGR}{105}
+\DeclareTextSymbol{\textkappa}{LGR}{107}
+\DeclareTextSymbol{\textlambda}{LGR}{108}
+\DeclareTextSymbol{\textmu}{LGR}{109}
+\DeclareTextSymbol{\textnu}{LGR}{110}
+\DeclareTextSymbol{\textxi}{LGR}{120}
+\DeclareTextSymbol{\textomicron}{LGR}{111}
+\DeclareTextSymbol{\textpi}{LGR}{112}
+\DeclareTextSymbol{\textrho}{LGR}{114}
+\DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ
+\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma
+\DeclareTextCommand{\textfinalsigma}{LGR}{\textvarsigma} % ς final sigma
+\DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word)
+\DeclareTextSymbol{\texttau}{LGR}{116}
+\DeclareTextSymbol{\textupsilon}{LGR}{117}
+\DeclareTextSymbol{\textphi}{LGR}{102}
+\DeclareTextSymbol{\textchi}{LGR}{113}
+\DeclareTextSymbol{\textpsi}{LGR}{121}
+\DeclareTextSymbol{\textomega}{LGR}{119}</pre>
+</div>
+<div class="section" id="additional-greek-symbols">
+<h3><a class="toc-backref" href="#id10">Additional Greek symbols</a></h3>
+<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 <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> (<span class="docutils literal">ucsencs.def</span>)
+(In ucs, five hundred is (wrongly?) named textpentehkaton.)</p>
+<pre class="literal-block">\DeclareTextSymbol{\textpentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY
+\DeclareTextSymbol{\textpentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\DeclareTextSymbol{\textpenteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\DeclareTextSymbol{\textpentemuria}{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://www.ctan.org/pkg/teubner">teubner</a> and <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>:</p>
+<pre class="literal-block">\DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ
+\DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner)
+\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ (greek small letter koppa)
+\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ (archaic koppa)
+\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ (archaic Koppa)
+\DeclareTextSymbol{\textStigma}{LGR}{22} % Ϛ in some fonts ϹΤ ligature
+\DeclareTextSymbol{\textSampi}{LGR}{23} % Ϡ
+\DeclareTextSymbol{\textsampi}{LGR}{27} % ϡ
+\DeclareTextSymbol{\textanoteleia}{LGR}{38} % ·
+\DeclareTextSymbol{\texterotimatiko}{LGR}{63} % ;
+\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro
+\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs)</pre>
+</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://www.ctan.org/pkg/unicode">ucs</a>:</p>
+<pre class="literal-block">\DeclareTextSymbol{\textdexiakeraia}{LGR}{254} % ʹ (Dexia keraia)
+\DeclareTextSymbol{\textaristerikeraia}{LGR}{255} % ͵ (Aristeri keraia)</pre>
+</div>
+<div class="section" id="variant-symbols">
+<h4><a class="toc-backref" href="#id14">variant symbols</a></h4>
+<p>Mathematical notation distinguishes variant shapes for pi, phi, rho, theta
+(small and capital), beta, and kappa (characters for the latter three
+symbols are not included in TeX’s math fonts). These variations have no
+syntactic meaning in Greek text and are not given code-points in the LGR
+encoding. Greek text fonts use the shape variants interchangeabely.</p>
+<p>However, as Unicode defines separate code points for the symbol variants, we
+provide fallback LICR macros with detailed error reporting:</p>
+<pre class="literal-block">\providecommand*{\LGR&#64;TextSymbolUnavailable}[1]{%
+ \PackageError{greek-fontenc}{character \string#1 not available \MessageBreak
+ in 8-bit TeX}
+ {Use XeTeX/LuaTeX if you need to distinguish the symbol from the letter.\MessageBreak
+ The package `textalpha' with `normalize-symbols' maps the GREEK SYMBOL\MessageBreak
+ character to the corresponding GREEK LETTER.\MessageBreak
+ Press &lt;return&gt; to proceed (dropping the symbol from the document).}
+}
+
+\providecommand*{\LGR&#64;TextSymbolOnlyMath}[2]{%
+ \PackageError{greek-fontenc}{character \string#1 not available in text mode}
+ {Use #2 or XeTeX/LuaTeX if you need to distinguish\MessageBreak
+ the symbol from the letter.\MessageBreak
+ The package `textalpha' with `normalize-symbols' maps the GREEK SYMBOL\MessageBreak
+ character to the corresponding GREEK LETTER.\MessageBreak
+ Press &lt;return&gt; to proceed (dropping the symbol from the document).}
+}
+
+\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR&#64;TextSymbolUnavailable{ϐ beta symbol}}
+\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR&#64;TextSymbolUnavailable{ϰ kappa symbol}}
+\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR&#64;TextSymbolUnavailable{ϴ Theta symbol}}
+
+\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR&#64;TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}}
+\ProvideTextCommand{\textphisymbol} {LGR}{\LGR&#64;TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}}
+\ProvideTextCommand{\textpisymbol} {LGR}{\LGR&#64;TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}}
+\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR&#64;TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}}
+\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR&#64;TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}}</pre>
+</div>
+</div>
+<div class="section" id="other">
+<h3><a class="toc-backref" href="#id15">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,</p></li>
+<li><p>use established macro names that match with other <span class="docutils literal">*enc.def</span> files and
+<span class="docutils literal">textcomp.sty</span>.</p></li>
+</ul>
+<p>All encodings: See usrguide.pdf, chapter 3.14 ff:</p>
+<pre class="literal-block">\DeclareTextSymbol{\textendash}{LGR}{0} % EN DASH
+\DeclareTextSymbol{\textquoteleft}{LGR}{28} % ‘
+\DeclareTextSymbol{\textquoteright}{LGR}{29} % ’
+\DeclareTextSymbol{\textperiodcentered}{LGR}{38} % · = \textanoteleia
+\DeclareTextSymbol{\textcompwordmark}{LGR}{118} % ZERO WIDTH NO JOINER
+\DeclareTextSymbol{\textemdash}{LGR}{127} % EM DASH</pre>
+<p>T1:</p>
+<pre class="literal-block">\DeclareTextSymbol{\guillemotleft}{LGR}{123} % «
+\DeclareTextSymbol{\guillemotright}{LGR}{125} % »</pre>
+<p>TS1:</p>
+<pre class="literal-block">\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
+\ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
+\ProvideTextCommand{\textasciidieresis}{LGR}{&quot;\textcompwordmark} % &quot;
+\ProvideTextCommand{\textasciiacute}{LGR}{'\textcompwordmark} % '
+\ProvideTextCommand{\textasciigrave}{LGR}{`\textcompwordmark} % `
+\DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
+\DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign -&gt; Omega)
+\DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf
+\DeclareTextSymbol{\textpercent}{LGR}{37} % %
+\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf</pre>
+<p>T3 (tipa):</p>
+<pre class="literal-block">\DeclareTextSymbol{\textschwa}{LGR}{26} % ə</pre>
+<p>T3 also defines some greek letters as well as Latin characters with Greek
+names:</p>
+<p>According to the Unicode standard, the following IPA characters are identic
+to the Greek letters:</p>
+<ul class="simple">
+<li><p>03B2 greek small letter beta</p></li>
+<li><p>03B8 greek small letter theta</p></li>
+<li><p>03BB greek small letter lamda</p></li>
+<li><p>03C7 greek small letter chi</p></li>
+</ul>
+<p>The following characters in the IPA block refer to Greek letters:</p>
+<ul class="simple">
+<li><p>0251 LATIN SMALL LETTER ALPHA → greek small letter alpha - 03B1</p></li>
+<li><p>025B LATIN SMALL LETTER OPEN E = epsilon → greek small letter epsilon - 03B5</p></li>
+<li><p>0263 LATIN SMALL LETTER GAMMA → greek small letter gamma - 03B3</p></li>
+<li><p>0269 LATIN SMALL LETTER IOTA → greek small letter iota - 03B9</p></li>
+<li><p>0278 LATIN SMALL LETTER PHI → greek small letter phi - 03C6</p></li>
+<li><p>028A LATIN SMALL LETTER UPSILON → greek small letter upsilon - 03C5</p></li>
+</ul>
+<p><cite>tipa</cite> uses the macro names <span class="docutils literal">\textepsilon</span>, <span class="docutils literal">\textgamma</span>, <span class="docutils literal">\textiota</span>,
+<span class="docutils literal">\textphi</span>, and <span class="docutils literal">\textupsilon</span> for the Latin characters. This is no
+problem with 8-bit fonts (set the font encoding to T3 vs. LGR to
+disambiguate), but leads to ambiguity with Unicode fonts. <a class="reference external" href="http://www.ctan.org/pkg/xunicode">xunicode</a> uses the
+<span class="docutils literal">gr</span> infix and alias names to disambiguate:</p>
+<ul class="simple">
+<li><p>03B3 <span class="docutils literal">\textgrgamma</span></p></li>
+<li><p>03B9 <span class="docutils literal">\textgriota</span></p></li>
+<li><p>03C6 <span class="docutils literal">\textgrphi</span> (see x0278 )</p></li>
+</ul>
+<p>but not for epsilon and upsilon (03C2 <span class="docutils literal">\textgrsigma</span> is the final sigma).</p>
+<p>It also assigns alias names to the Latin counterparts, however not on a
+systematical basis:</p>
+<ul class="simple">
+<li><p>0194 <span class="docutils literal">\textGammaafrican</span></p></li>
+<li><p>0196 <span class="docutils literal">\textIotaafrican</span></p></li>
+<li><p>0251 <span class="docutils literal">\textscripta</span></p></li>
+<li><p>025B <span class="docutils literal">\texteopen</span></p></li>
+<li><p>0263 <span class="docutils literal">\textbabygamma</span>, <span class="docutils literal">\textgammalatinsmall</span></p></li>
+<li><p>0269 <span class="docutils literal">\textiotalatin</span></p></li>
+<li><p>028A <span class="docutils literal">\textscupsilon</span> % TIPA-U</p></li>
+</ul>
+</div>
+<div class="section" id="not-implemented">
+<h3><a class="toc-backref" href="#id16">Not implemented</a></h3>
+<p>The characters at position 16 and 17 are used in the <span class="docutils literal">\nexus</span> macro
+of the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> package to form an extensible, hat-like bracket. In
+<span class="docutils literal">CB.enc</span>, they are mapped to</p>
+<blockquote>
+<p>16–MODIFIER LETTER LOW ACUTE ACCENT
+17–MODIFIER LETTER LOW GRAVE ACCENT</p>
+</blockquote>
+<p>but according to the documentation of Werner Lemberg’s <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a>,
+they rather represent the left and right part of U+23E0 TOP TORTOISE
+SHELL BRACKET.</p>
+<p>Babel’s <span class="docutils literal">lgrenc.def</span> has some definitions to prevent surprises with
+macros that expect a Latin script. These definitions are problematic in a
+font-encoding definition file as they require <span class="docutils literal">\textlatin</span> which is
+defined in <span class="docutils literal">babel.def</span>. They were moved to <span class="docutils literal">greek.ldf</span>.</p>
+</div>
+</div>
+<div class="section" id="diacritics">
+<h2><a class="toc-backref" href="#id17">Diacritics</a></h2>
+<p>This section defines <a class="reference internal" href="#named-macros">named macros</a> for Greek diacritics and standard
+<a class="reference internal" href="#symbol-macros">symbol macros</a> as alias for simple diacritics. Convenient input
+conventions for <a class="reference internal" href="#composite-diacritics">composite diacritics</a> are defined as <a class="reference internal" href="#composite-definitions">composite
+definitions</a>.</p>
+<p>Advantages:</p>
+<ul class="simple">
+<li><p>input convention similar to LGR input encodings (just prepend a <span class="docutils literal">\</span>).</p></li>
+<li><p>Access pre-composed characters without resorting to the
+ligature mechanism (allows proper kerning, cf. <a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">teubner-doc</a>).</p></li>
+<li><p>Named macros can be used to ensure a font encoding supporting Greek is
+used. However, substitution with pre-composed characters works only for
+the active font encoding (cf. <a class="reference external" href="textalpha.sty.html">textalpha</a>). Named accent macros can also be
+used instead of the <span class="docutils literal">\&#64;tabacckludge</span> by to-LaTeX converters to ensure
+working also inside the tabbing environment.</p></li>
+<li><p>Named macros are required for upcasing according to Greek typesetting
+conventions (cf. <a class="reference internal" href="#uppercase">UPPERCASE</a> below) and for composite diacritics.</p></li>
+</ul>
+<div class="section" id="named-macros">
+<h3><a class="toc-backref" href="#id18">Named macros</a></h3>
+<p>Definitions are based on the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> package by Claudio Beccari, the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>
+package, and the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg. Names are derived from
+the Unicode name with the prefix “acc” (cf. <cite>How to name accent macros?</cite>
+in the <a class="reference external" href="README.html">README</a>) reducing the probability of incompatibilities compared to the
+two-letter <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> diacritic macros or the “text” prefix used by <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>.</p>
+<p>Simple Greek diacritics:</p>
+<pre class="literal-block">\DeclareTextAccent{\accdialytika}{LGR}{34} % διαλυτικά (diaeresis/trema)
+\DeclareTextAccent{\acctonos}{LGR}{39} % τόνος/ὀξεῖα tonos/oxia (acute)
+\DeclareTextAccent{\accdasia}{LGR}{60} % δασεῖα spiritus asper (rough breathing)
+\DeclareTextAccent{\accpsili}{LGR}{62} % ψιλή spiritus lenis (smooth breathing)
+\DeclareTextAccent{\accvaria}{LGR}{96} % βαρεῖα (grave)
+\DeclareTextAccent{\accperispomeni}{LGR}{126} % περισπωμένη (circonflex/tilde)</pre>
+<p>The <a class="reference external" href="http://en.wikipedia.org/wiki/Hypogegrammeni">sub-iota</a> is input after the base character. In LGR fonts, ligatures are
+defined for pre-composed characters, the postfix ligature does not interfere
+with kerning:</p>
+<pre class="literal-block">\DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι &quot;capital&quot; sub-iota
+\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ &quot;small&quot; sub-iota</pre>
+<p>Composite diacritics:</p>
+<pre class="literal-block">% Teubner name
+\DeclareTextAccent{\accdialytikaperispomeni}{LGR}{32} % Cd
+\DeclareTextAccent{\accdialytikatonos}{LGR}{35} % Ad
+\DeclareTextAccent{\accdialytikavaria}{LGR}{36} % Gd
+
+\DeclareTextAccent{\accdasiaperispomeni}{LGR}{64} % Cr
+\DeclareTextAccent{\accdasiavaria}{LGR}{67} % Gr
+\DeclareTextAccent{\accdasiaoxia}{LGR}{86} % Ar
+
+\DeclareTextAccent{\accpsiliperispomeni}{LGR}{92} % Cs
+\DeclareTextAccent{\accpsilioxia}{LGR}{94} % As
+\DeclareTextAccent{\accpsilivaria}{LGR}{95} % Gs</pre>
+<p>For classical Greek and linguistics, the LGR font encoding contains a number
+of additional diacritic symbols:</p>
+<pre class="literal-block">\DeclareTextAccent{\accinvertedbrevebelow}{LGR}{1} % INVERTED BREVE BELOW
+\DeclareTextAccent{\textsubarch}{LGR}{1} % (tipa)
+\DeclareTextAccent{\accbrevebelow}{LGR}{20} % BREVE BELOW
+\DeclareTextAccent{\u}{LGR}{30} % BREVE (Greek vrachy)
+\DeclareTextAccent{\=}{LGR}{31} % MACRON</pre>
+</div>
+<div class="section" id="aliases">
+<h3><a class="toc-backref" href="#id19">Aliases</a></h3>
+<p>The standard <span class="target" id="symbol-macros">symbol macros</span> are exclusively used for Greek diacritics
+in LGR:</p>
+<pre class="literal-block">\DeclareTextCommand{\&quot;}{LGR}{\accdialytika}
+\DeclareTextCommand{\'}{LGR}{\acctonos}
+\DeclareTextCommand{\`}{LGR}{\accvaria}
+\DeclareTextCommand{\~}{LGR}{\accperispomeni}</pre>
+</div>
+</div>
+<div class="section" id="common-greek-font-encoding-definitions">
+<h2><a class="toc-backref" href="#id20">Common Greek font encoding definitions</a></h2>
+<p>The file greek-fontenc.def contains font encoding definitions that are
+shared by font encodings providing Greek characters:</p>
+<pre class="literal-block">\input{greek-fontenc.def}</pre>
+</div>
+<div class="section" id="composite-definitions">
+<h2><a class="toc-backref" href="#id21">Composite definitions</a></h2>
+<div class="section" id="composite-diacritics">
+<h3><a class="toc-backref" href="#id22">Composite diacritics</a></h3>
+<p>Composite accents can be input as sequence of simple diacritics (in
+arbitrary order) via named macro, symbol macro and “transcription
+characters”, e.g. <span class="docutils literal">\accdialytica\accvaria\textalpha</span>, <span class="docutils literal"><span class="pre">\&quot;\'\textalpha</span></span>,
+<span class="docutils literal"><span class="pre">\&quot;'\textalpha</span></span>, or <span class="docutils literal"><span class="pre">\'&quot;\textalpha</span></span>.</p>
+<p>The actual declarations are part of the <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding
+definitions</a>.</p>
+</div>
+<div class="section" id="pre-composed-letters">
+<h3><a class="toc-backref" href="#id23">Pre-composed letters</a></h3>
+<div class="section" id="small-letters-with-diacritics">
+<h4><a class="toc-backref" href="#id24">Small letters with diacritics</a></h4>
+<p>(from <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> with changed names of the composite accents):</p>
+<pre class="literal-block">\DeclareTextComposite{\accvaria}{LGR}{a}{128}
+\DeclareTextComposite{\accdasia}{LGR}{a}{129}
+\DeclareTextComposite{\accpsili}{LGR}{a}{130}
+\DeclareTextComposite{\accdasiavaria}{LGR}{a}{131}
+\DeclareTextComposite{\acctonos}{LGR}{a}{136}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{a}{137}
+\DeclareTextComposite{\accpsilioxia}{LGR}{a}{138}
+\DeclareTextComposite{\accpsilivaria}{LGR}{a}{139}
+\DeclareTextComposite{\accperispomeni}{LGR}{a}{144}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{a}{145}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{a}{146}
+\DeclareTextComposite{\accvaria}{LGR}{h}{152}
+\DeclareTextComposite{\accdasia}{LGR}{h}{153}
+\DeclareTextComposite{\accpsili}{LGR}{h}{154}
+\DeclareTextComposite{\acctonos}{LGR}{h}{160}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{h}{161}
+\DeclareTextComposite{\accpsilioxia}{LGR}{h}{162}
+\DeclareTextComposite{\accdasiavaria}{LGR}{h}{163}
+\DeclareTextComposite{\accperispomeni}{LGR}{h}{168}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{h}{169}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{h}{170}
+\DeclareTextComposite{\accpsilivaria}{LGR}{h}{171}
+\DeclareTextComposite{\accvaria}{LGR}{w}{176}
+\DeclareTextComposite{\accdasia}{LGR}{w}{177}
+\DeclareTextComposite{\accpsili}{LGR}{w}{178}
+\DeclareTextComposite{\accdasiavaria}{LGR}{w}{179}
+\DeclareTextComposite{\acctonos}{LGR}{w}{184}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{w}{185}
+\DeclareTextComposite{\accpsilioxia}{LGR}{w}{186}
+\DeclareTextComposite{\accpsilivaria}{LGR}{w}{187}
+\DeclareTextComposite{\accperispomeni}{LGR}{w}{192}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{w}{193}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{w}{194}
+\DeclareTextComposite{\accvaria}{LGR}{i}{200}
+\DeclareTextComposite{\accdasia}{LGR}{i}{201}
+\DeclareTextComposite{\accpsili}{LGR}{i}{202}
+\DeclareTextComposite{\accdasiavaria}{LGR}{i}{203}
+\DeclareTextComposite{\acctonos}{LGR}{i}{208}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{i}{209}
+\DeclareTextComposite{\accpsilioxia}{LGR}{i}{210}
+\DeclareTextComposite{\accpsilivaria}{LGR}{i}{211}
+\DeclareTextComposite{\accperispomeni}{LGR}{i}{216}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{i}{217}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{i}{218}
+\DeclareTextComposite{\accdialytika}{LGR}{i}{240}
+\DeclareTextComposite{\accdialytikavaria}{LGR}{i}{241}
+\DeclareTextComposite{\accdialytikatonos}{LGR}{i}{242}
+\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{i}{243}
+\DeclareTextComposite{\accvaria}{LGR}{u}{204}
+\DeclareTextComposite{\accdasia}{LGR}{u}{205}
+\DeclareTextComposite{\accpsili}{LGR}{u}{206}
+\DeclareTextComposite{\accdasiavaria}{LGR}{u}{207}
+\DeclareTextComposite{\acctonos}{LGR}{u}{212}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{u}{213}
+\DeclareTextComposite{\accpsilioxia}{LGR}{u}{214}
+\DeclareTextComposite{\accpsilivaria}{LGR}{u}{215}
+\DeclareTextComposite{\accperispomeni}{LGR}{u}{220}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{u}{221}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{u}{222}
+\DeclareTextComposite{\accdialytika}{LGR}{u}{244}
+\DeclareTextComposite{\accdialytikavaria}{LGR}{u}{245}
+\DeclareTextComposite{\accdialytikatonos}{LGR}{u}{246}
+\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{u}{247}
+\DeclareTextComposite{\accvaria}{LGR}{e}{224}
+\DeclareTextComposite{\accdasia}{LGR}{e}{225}
+\DeclareTextComposite{\accpsili}{LGR}{e}{226}
+\DeclareTextComposite{\accdasiavaria}{LGR}{e}{227}
+\DeclareTextComposite{\acctonos}{LGR}{e}{232}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{e}{233}
+\DeclareTextComposite{\accpsilioxia}{LGR}{e}{234}
+\DeclareTextComposite{\accpsilivaria}{LGR}{e}{235}
+\DeclareTextComposite{\accvaria}{LGR}{o}{228}
+\DeclareTextComposite{\accdasia}{LGR}{o}{229}
+\DeclareTextComposite{\accpsili}{LGR}{o}{230}
+\DeclareTextComposite{\accdasiavaria}{LGR}{o}{231}
+\DeclareTextComposite{\acctonos}{LGR}{o}{236}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{o}{237}
+\DeclareTextComposite{\accpsilioxia}{LGR}{o}{238}
+\DeclareTextComposite{\accpsilivaria}{LGR}{o}{239}
+\DeclareTextComposite{\accdasia}{LGR}{r}{251}
+\DeclareTextComposite{\accpsili}{LGR}{r}{252}</pre>
+<p>Pre-composed letters with diacritics + LICR macros:</p>
+<pre class="literal-block">\DeclareTextComposite{\accvaria}{LGR}{\textalpha}{128}
+\DeclareTextComposite{\accdasia}{LGR}{\textalpha}{129}
+\DeclareTextComposite{\accpsili}{LGR}{\textalpha}{130}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\textalpha}{131}
+\DeclareTextComposite{\acctonos}{LGR}{\textalpha}{136}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\textalpha}{137}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\textalpha}{138}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\textalpha}{139}
+\DeclareTextComposite{\accperispomeni}{LGR}{\textalpha}{144}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\textalpha}{145}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\textalpha}{146}
+\DeclareTextComposite{\accvaria}{LGR}{\texteta}{152}
+\DeclareTextComposite{\accdasia}{LGR}{\texteta}{153}
+\DeclareTextComposite{\accpsili}{LGR}{\texteta}{154}
+\DeclareTextComposite{\acctonos}{LGR}{\texteta}{160}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\texteta}{161}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\texteta}{162}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\texteta}{163}
+\DeclareTextComposite{\accperispomeni}{LGR}{\texteta}{168}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\texteta}{169}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\texteta}{170}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\texteta}{171}
+\DeclareTextComposite{\accvaria}{LGR}{\textomega}{176}
+\DeclareTextComposite{\accdasia}{LGR}{\textomega}{177}
+\DeclareTextComposite{\accpsili}{LGR}{\textomega}{178}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\textomega}{179}
+\DeclareTextComposite{\acctonos}{LGR}{\textomega}{184}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\textomega}{185}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\textomega}{186}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\textomega}{187}
+\DeclareTextComposite{\accperispomeni}{LGR}{\textomega}{192}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\textomega}{193}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\textomega}{194}
+\DeclareTextComposite{\accvaria}{LGR}{\textiota}{200}
+\DeclareTextComposite{\accdasia}{LGR}{\textiota}{201}
+\DeclareTextComposite{\accpsili}{LGR}{\textiota}{202}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\textiota}{203}
+\DeclareTextComposite{\acctonos}{LGR}{\textiota}{208}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\textiota}{209}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\textiota}{210}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\textiota}{211}
+\DeclareTextComposite{\accperispomeni}{LGR}{\textiota}{216}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\textiota}{217}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\textiota}{218}
+\DeclareTextComposite{\accdialytika}{LGR}{\textiota}{240}
+\DeclareTextComposite{\accdialytikavaria}{LGR}{\textiota}{241}
+\DeclareTextComposite{\accdialytikatonos}{LGR}{\textiota}{242}
+\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\textiota}{243}
+\DeclareTextComposite{\accvaria}{LGR}{\textupsilon}{204}
+\DeclareTextComposite{\accdasia}{LGR}{\textupsilon}{205}
+\DeclareTextComposite{\accpsili}{LGR}{\textupsilon}{206}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\textupsilon}{207}
+\DeclareTextComposite{\acctonos}{LGR}{\textupsilon}{212}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\textupsilon}{213}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\textupsilon}{214}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\textupsilon}{215}
+\DeclareTextComposite{\accperispomeni}{LGR}{\textupsilon}{220}
+\DeclareTextComposite{\accdasiaperispomeni}{LGR}{\textupsilon}{221}
+\DeclareTextComposite{\accpsiliperispomeni}{LGR}{\textupsilon}{222}
+\DeclareTextComposite{\accdialytika}{LGR}{\textupsilon}{244}
+\DeclareTextComposite{\accdialytikavaria}{LGR}{\textupsilon}{245}
+\DeclareTextComposite{\accdialytikatonos}{LGR}{\textupsilon}{246}
+\DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\textupsilon}{247}
+\DeclareTextComposite{\accvaria}{LGR}{\textepsilon}{224}
+\DeclareTextComposite{\accdasia}{LGR}{\textepsilon}{225}
+\DeclareTextComposite{\accpsili}{LGR}{\textepsilon}{226}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\textepsilon}{227}
+\DeclareTextComposite{\acctonos}{LGR}{\textepsilon}{232}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\textepsilon}{233}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\textepsilon}{234}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\textepsilon}{235}
+\DeclareTextComposite{\accvaria}{LGR}{\textomicron}{228}
+\DeclareTextComposite{\accdasia}{LGR}{\textomicron}{229}
+\DeclareTextComposite{\accpsili}{LGR}{\textomicron}{230}
+\DeclareTextComposite{\accdasiavaria}{LGR}{\textomicron}{231}
+\DeclareTextComposite{\acctonos}{LGR}{\textomicron}{236}
+\DeclareTextComposite{\accdasiaoxia}{LGR}{\textomicron}{237}
+\DeclareTextComposite{\accpsilioxia}{LGR}{\textomicron}{238}
+\DeclareTextComposite{\accpsilivaria}{LGR}{\textomicron}{239}
+\DeclareTextComposite{\accdasia}{LGR}{\textrho}{251}
+\DeclareTextComposite{\accpsili}{LGR}{\textrho}{252}</pre>
+</div>
+<div class="section" id="capital-letters-with-diacritics">
+<h4><a class="toc-backref" href="#id25">Capital letters with diacritics</a></h4>
+<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>
+<p class="attribution">—<a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></p>
+</blockquote>
+<p>In Title Case, place diacritics before instead of above the base character:</p>
+<pre class="literal-block">\DeclareTextCompositeCommand{\accdasia}{LGR}{A}{&lt;A}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{A}{&lt;`A}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{A}{&lt;'A}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{A}{&lt;\char126A}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{A}{&gt;A}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{A}{&gt;`A}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{A}{&gt;'A}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{A}{&gt;\char126A}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{A}{'A}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{A}{`A}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{E}{&lt;E}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{E}{&lt;'E}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{E}{&lt;`E}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{E}{&gt;E}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{E}{&gt;'E}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{E}{&gt;`E}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{E}{'E}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{E}{`E}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{H}{&lt;H}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{H}{&lt;`H}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{H}{&lt;'H}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{H}{&lt;\char126H}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{H}{&gt;H}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{H}{&gt;`H}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{H}{&gt;'H}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{H}{&gt;\char126H}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{H}{'H}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{H}{`H}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{I}{&lt;I}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{I}{&lt;`I}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{I}{&lt;'I}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{I}{&lt;\char126I}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{I}{&gt;I}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{I}{&gt;`I}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{I}{&gt;'I}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{I}{&gt;\char126I}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{I}{'I}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{I}{`I}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{O}{&lt;O}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{O}{&lt;`O}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{O}{&lt;'O}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{O}{&gt;O}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{O}{&gt;`O}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{O}{&gt;'O}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{O}{'O}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{O}{`O}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{R}{&lt;R}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{U}{&lt;U}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{U}{&lt;`U}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{U}{&lt;'U}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{U}{&lt;\char126U}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{U}{'U}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{U}{`U}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{W}{&lt;W}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{W}{&lt;`W}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{W}{&lt;'W}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{W}{&lt;\char126W}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{W}{&gt;W}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{W}{&gt;`W}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{W}{&gt;'W}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{W}{&gt;\char126W}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{W}{'W}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{W}{`W}</pre>
+<p>Except for the dialytika:</p>
+<pre class="literal-block">\DeclareTextComposite{\accdialytika}{LGR}{I}{219}
+\DeclareTextComposite{\accdialytika}{LGR}{U}{223}</pre>
+<p>Do the same for the LICR macros:</p>
+<pre class="literal-block">\DeclareTextCompositeCommand{\accdasia}{LGR}{\textAlpha}{&lt;A}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textAlpha}{&lt;`A}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textAlpha}{&lt;'A}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\textAlpha}{&lt;\char126A}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{\textAlpha}{&gt;A}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\textAlpha}{&gt;`A}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textAlpha}{&gt;'A}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\textAlpha}{&gt;\char126A}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textAlpha}{'A}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textAlpha}{`A}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textEpsilon}{&lt;E}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textEpsilon}{&lt;'E}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textEpsilon}{&lt;`E}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{\textEpsilon}{&gt;E}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textEpsilon}{&gt;'E}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\textEpsilon}{&gt;`E}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textEpsilon}{'E}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textEpsilon}{`E}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textEta}{&lt;H}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textEta}{&lt;`H}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textEta}{&lt;'H}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\textEta}{&lt;\char126H}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{\textEta}{&gt;H}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\textEta}{&gt;`H}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textEta}{&gt;'H}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\textEta}{&gt;\char126H}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textEta}{'H}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textEta}{`H}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textIota}{&lt;I}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textIota}{&lt;`I}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textIota}{&lt;'I}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\textIota}{&lt;\char126I}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{\textIota}{&gt;I}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\textIota}{&gt;`I}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textIota}{&gt;'I}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\textIota}{&gt;\char126I}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textIota}{'I}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textIota}{`I}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textOmicron}{&lt;O}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textOmicron}{&lt;`O}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textOmicron}{&lt;'O}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{\textOmicron}{&gt;O}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\textOmicron}{&gt;`O}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textOmicron}{&gt;'O}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textOmicron}{'O}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textOmicron}{`O}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textRho}{&lt;R}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textUpsilon}{&lt;U}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textUpsilon}{&lt;`U}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textUpsilon}{&lt;'U}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\textUpsilon}{&lt;\char126U}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textUpsilon}{'U}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textUpsilon}{`U}
+
+\DeclareTextCompositeCommand{\accdasia}{LGR}{\textOmega}{&lt;W}
+\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textOmega}{&lt;`W}
+\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textOmega}{&lt;'W}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\textOmega}{&lt;\char126W}
+\DeclareTextCompositeCommand{\accpsili}{LGR}{\textOmega}{&gt;W}
+\DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\textOmega}{&gt;`W}
+\DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textOmega}{&gt;'W}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\textOmega}{&gt;\char126W}
+\DeclareTextCompositeCommand{\acctonos}{LGR}{\textOmega}{'W}
+\DeclareTextCompositeCommand{\accvaria}{LGR}{\textOmega}{`W}</pre>
+<p>Except for the dialytika:</p>
+<pre class="literal-block">\DeclareTextComposite{\accdialytika}{LGR}{\textIota}{219}
+\DeclareTextComposite{\accdialytika}{LGR}{\textUpsilon}{223}</pre>
+</div>
+</div>
+</div>
+<div class="section" id="uppercase">
+<h2><a class="toc-backref" href="#id26">UPPERCASE</a></h2>
+<p>The <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding definitions</a> in <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span> extend
+the <cite>uclclist</cite> with Greek LICR macros. Here, we add LGR specific “hiatus”
+handling.</p>
+<p>Composite commands for Latin transliteration:</p>
+<pre class="literal-block">\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{A}{\LGR&#64;A&#64;hiatus}
+\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{E}{\LGR&#64;E&#64;hiatus}</pre>
+<p>TODO: What does the <a class="reference external" href="mailto:LGR&#64;hiatus">LGR&#64;hiatus</a> command “see” if a Unicode literal follows?</p>
+<pre class="code latex literal-block"><code><span class="comment">% \DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{\symbol{&quot;ce}}{bluff}
+% \DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{&quot;cf}{blaff}
+% \DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{ι}{blaff}</span></code></pre>
+<p>Look ahead and place a diaeresis on Ι or Υ:</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;A&#64;hiatus}{LGR}{%
+ \LGR&#64;ifnextchar{I}{A\&quot;}{%
+ \LGR&#64;ifnextchar{U}{A\&quot;}{%
+ \LGR&#64;ifnextchar{\textIota}{A\&quot;}{%
+ \LGR&#64;ifnextchar{\textUpsilon}{A\&quot;}{A}%
+ }%
+ }%
+ }%
+}
+\DeclareTextCommand{\LGR&#64;E&#64;hiatus}{LGR}{%
+ \LGR&#64;ifnextchar{I}{E\&quot;}{%
+ \LGR&#64;ifnextchar{U}{E\&quot;}{%
+ \LGR&#64;ifnextchar{\textIota}{E\&quot;}{%
+ \LGR&#64;ifnextchar{\textUpsilon}{E\&quot;}{E}%
+ }%
+ }%
+ }%
+}</pre>
+<p>Unfortunately, the lookahead breaks kerning.</p>
+<p>Alternatives tried:</p>
+<ul>
+<li><p>CompositeCommands fail at the end of a macro, e.g. <span class="docutils literal"><span class="pre">\emph{\'a}</span></span></p>
+<pre class="code latex literal-block"><code><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>&#64;A&#64;hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>A<span class="name builtin">}</span>
+<span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>&#64;E&#64;hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>E<span class="name builtin">}</span>
+
+<span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>&#64;A&#64;hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{}{</span>A<span class="name builtin">}</span>
+<span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>&#64;A&#64;hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>I<span class="name builtin">}{</span>A<span class="keyword">\&quot;</span>I<span class="name builtin">}</span>
+<span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>&#64;A&#64;hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>U<span class="name builtin">}{</span>A<span class="keyword">\&quot;</span>U<span class="name builtin">}</span></code></pre>
+</li>
+<li><p>The glyph No 12 is a special “Upcase Alpha” that in ligature with Y
+and I adds a diaresis to them. However, it seems that it has only
+kerning definitions for I and Y (as it is not intended for direct
+use)</p>
+<pre class="code latex literal-block"><code><span class="keyword">\DeclareTextComposite</span><span class="name builtin">{</span><span class="keyword">\LGR</span>&#64;hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>A<span class="name builtin">}{</span>12<span class="name builtin">}</span></code></pre>
+<p>No such glyph exists for E but this is no problem as E does
+not require kerning anyway.</p>
+</li>
+</ul>
+<!-- References
+- - - - - - - - - - -->
+</div>
+</div>
+</div>
+</body>
+</html>