diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/lgrx/README.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/lgrx/README.html | 193 |
1 files changed, 110 insertions, 83 deletions
diff --git a/Master/texmf-dist/doc/latex/lgrx/README.html b/Master/texmf-dist/doc/latex/lgrx/README.html index 38dd3d0d176..dfc362d30e4 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README.html +++ b/Master/texmf-dist/doc/latex/lgrx/README.html @@ -3,14 +3,14 @@ <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/" /> +<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" /> <title>Greek text with the LGR font encoding</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 $ +:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -78,7 +78,7 @@ div.tip p.admonition-title { 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 { +div.warning p.admonition-title, .code .error { color: red ; font-weight: bold ; font-family: sans-serif } @@ -254,13 +254,14 @@ 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 -} +pre.code .ln { color: grey; } /* line numbers */ +pre.code, code { background-color: #eeeeee } +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} span.classifier { font-family: sans-serif ; @@ -313,6 +314,21 @@ table.docutils th.field-name, table.docinfo th.docinfo-name { white-space: nowrap ; padding-left: 0 } +/* "booktabs" style (no vertical lines) */ +table.docutils.booktabs { + border: 0px; + border-top: 2px solid; + border-bottom: 2px solid; + border-collapse: collapse; +} +table.docutils.booktabs * { + border: 0px; +} +table.docutils.booktabs th { + border-bottom: thin solid; + text-align: left; +} + h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { font-size: 100% } @@ -512,7 +528,7 @@ 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, ol.arabic, ol.loweralpha, ol.upperalpha, ol.lowerroman, ol.upperroman { counter-reset: item; list-style: none @@ -590,8 +606,9 @@ dd > ul, dd > ol { /* margins and borders for "normal" tables */ table { - margin-top: 0.5em ; - margin-bottom: 0.5em; +/* background: magenta; */ + margin-top: 1em ; + margin-bottom: 1em; /* border-style: outset; */ border-style: solid; border-color: silver; @@ -628,6 +645,7 @@ table.booktabs { border: 0; border-top: 2px solid; border-bottom: 2px solid; + border-collapse: collapse; } table.booktabs * { @@ -635,10 +653,12 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; + text-align: left; } table > caption { text-align: left; + margin-bottom: 0.25em /* padding: 2em 0 1em 0; */ } @@ -716,48 +736,48 @@ since the advent of the NFSS <a class="citation-reference" href="#fntguide" id=" 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> +<p>The bundle is available from <a class="reference external" href="http://www.ctan.org/pkg/lgrx">CTAN</a> and included in +TeXLive 2012.</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 +<a class="reference internal" href="#utf-8-support-for-greek">utf-8 support for Greek</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="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> +<li><p><a class="reference internal" href="#manifest" id="id14">Manifest</a></p></li> +<li><p><a class="reference internal" href="#motivation" id="id15">Motivation</a></p> <ul> -<li><p><a class="reference internal" href="#greek-font-encodings" id="id17">Greek font encodings</a></p> +<li><p><a class="reference internal" href="#greek-font-encodings" id="id16">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> +<li><p><a class="reference internal" href="#unicode" id="id17">Unicode</a></p></li> +<li><p><a class="reference internal" href="#t7" id="id18">T7</a></p></li> +<li><p><a class="reference internal" href="#lgr" id="id19">LGR</a></p></li> +<li><p><a class="reference internal" href="#ot7" id="id20">*OT7</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#problems-with-the-default-setup" id="id22">Problems with the default setup</a></p></li> +<li><p><a class="reference internal" href="#problems-with-the-default-setup" id="id21">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> +<li><p><a class="reference internal" href="#components-of-the-lgrx-bundle" id="id22">Components of the <cite>lgrx</cite> bundle</a></p> <ul> -<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> +<li><p><a class="reference internal" href="#comprehensive-font-encoding-definition-file" id="id23">Comprehensive font encoding definition file</a></p></li> +<li><p><a class="reference internal" href="#utf-8-support-for-greek" id="id24">UTF-8 support for Greek</a></p></li> +<li><p><a class="reference internal" href="#text-macros-for-greek-symbols" id="id25">Text macros for Greek symbols</a></p></li> +<li><p><a class="reference internal" href="#generic-macros-for-greek-symbols" id="id26">Generic macros for Greek symbols</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#references" id="id28">References</a></p></li> +<li><p><a class="reference internal" href="#references" id="id27">References</a></p></li> </ul> </div> <div class="section" id="manifest"> -<h1><a class="toc-backref" href="#id15">Manifest</a></h1> +<h1><a class="toc-backref" href="#id14">Manifest</a></h1> <p>The lgrx bundle consists of the following LaTeX files:</p> <dl class="docutils"> <dt>LaTeX files:</dt> @@ -772,7 +792,7 @@ See <a class="reference external" href="http://tug.org/pipermail/tex-live/2012-J <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 +<dd><p>Greek letters with <tt class="literal">\alpha</tt>, <tt class="literal">\beta</tt>, … in text and math</p> </dd> </dl> @@ -785,8 +805,9 @@ and math</p> </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> +<dt><a class="reference external" href="diacritics.pdf">diacritics.pdf</a></dt> +<dd><p><cite>Greek diacritics with standard accent macros</cite> +source <a class="reference external" href="diacritics.tex">diacritics.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>, @@ -810,28 +831,28 @@ source <a class="reference external" href="greek-unicode.tex">greek-unicode.tex< </dl> </div> <div class="section" id="motivation"> -<h1><a class="toc-backref" href="#id16">Motivation</a></h1> +<h1><a class="toc-backref" href="#id15">Motivation</a></h1> <div class="section" id="greek-font-encodings"> -<h2><a class="toc-backref" href="#id17">Greek font encodings</a></h2> +<h2><a class="toc-backref" href="#id16">Greek font encodings</a></h2> <div class="section" id="unicode"> -<h3><a class="toc-backref" href="#id18">Unicode</a></h3> +<h3><a class="toc-backref" href="#id17">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> +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>. +<h3><a class="toc-backref" href="#id18">T7</a></h3> +<p>The <a class="citation-reference" href="#encguide" id="id3">[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> +<h3><a class="toc-backref" href="#id19">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 @@ -840,18 +861,25 @@ is facilitated by the <a class="reference external" href="http://mirror.ctan.org <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="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> +font (see <a class="citation-reference" href="#greek-usage" id="id4">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id5">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id6">[cbfonts]</a>).</p> +<p>A major drawback of this transliteration is, that you cannot access Latin +letters if LGR is the active font encoding (e.g. in documents or parts of +documents given the <cite>Babel</cite> language <tt class="literal">greek</tt> or <tt class="literal">polutionikogreek</tt>). +This means that for every Latin-written word or acronym an explicite +language-switch is required. This problem can only be solved via a +font-encoding comprising Latin and Greek like the hypothetic <a class="reference internal" href="#t7">T7</a> or Unicode +(with XeTeX or LuaTeX).</p> </div> <div class="section" id="ot7"> -<h3><a class="toc-backref" href="#id21">*OT7</a></h3> +<h3><a class="toc-backref" href="#id20">*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". +reasons. <a class="citation-reference" href="#encguide" id="id7">[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 +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 is an ‘old’ encoding.</p></li> <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 @@ -863,12 +891,12 @@ reasons.</p> </div> </div> <div class="section" id="problems-with-the-default-setup"> -<h2><a class="toc-backref" href="#id22">Problems with the default setup</a></h2> +<h2><a class="toc-backref" href="#id21">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 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> +<a class="reference external" href="lgrxenc-test.pdf">lgrxenc-test.pdf</a> and <a class="citation-reference" href="#teubner-doc" id="id8">[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> @@ -878,22 +906,22 @@ set up by <cite>babel</cite>:</p> </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="id10"><sup>1</sup></a></p></li> +not available without re-definition of this character.<a class="footnote-reference" href="#tildehack" id="id9"><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="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> +is set to polytonic Greek, even if <tt class="literal">\textlatin</tt> is used.<a class="footnote-reference" href="#poluhack" id="id10"><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> +Unicode support <a class="citation-reference" href="#lemberg2008" id="id11">[lemberg2008]</a> never got applied.)</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="#id10">1</a>, <a class="fn-backref" href="#id13">2</a>)</em> <p>Problem 3 can be solved by the simple one-liner</p> +<em>(<a class="fn-backref" href="#id9">1</a>, <a class="fn-backref" href="#id12">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 @@ -901,7 +929,7 @@ 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="#id11">2</a></dt> +<dt class="label"><a class="fn-backref" href="#id10">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 @@ -910,35 +938,35 @@ can be restored after loading <cite>babel</cite> with:</p> \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="id13"><sup>1</sup></a> also work with the <tt class="literal">polutonikogreek</tt> +the workaround<a class="footnote-reference" href="#tildehack" id="id12"><sup>1</sup></a> also work with the <tt class="literal">polutonikogreek</tt> <cite>babel</cite> option.</p> </dd> </dl> </div> </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> +<h1><a class="toc-backref" href="#id22">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> +<h2><a class="toc-backref" href="#id23">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="id13"><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 LICR macros for Greek characters 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> +user manual <a class="reference external" href="diacritics.pdf">diacritics.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="#id13">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> -<div class="section" id="greek-unicode-support"> -<h2><a class="toc-backref" href="#id25">Greek Unicode support</a></h2> +<div class="section" id="utf-8-support-for-greek"> +<h2><a class="toc-backref" href="#id24">UTF-8 support for Greek</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 @@ -946,12 +974,11 @@ on the comprehensive font encoding definitions. It is compatible with <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> +<div class="section" id="text-macros-for-greek-symbols"> +<h2><a class="toc-backref" href="#id25">Text macros for Greek symbols</a></h2> +<p><tt class="literal">textalpha.sty</tt> makes the <tt class="literal">\textalpha</tt>, <tt class="literal">\textbeta</tt> … macros as well +as the <tt class="literal">\ensuregreek</tt> command aviable in any font encoding. 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> @@ -962,17 +989,17 @@ Greek letters works in any font encoding, too.</p> <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 +<div class="section" id="generic-macros-for-greek-symbols"> +<h2><a class="toc-backref" href="#id26">Generic macros for Greek symbols</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 mode. 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="references"> -<h1><a class="toc-backref" href="#id28">References</a></h1> +<h1><a class="toc-backref" href="#id27">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. @@ -981,19 +1008,19 @@ and math. For this, the math macros are redefined with the help of </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, +<em>(<a class="fn-backref" href="#id3">1</a>, <a class="fn-backref" href="#id7">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> -<dl class="citation"><dt class="label"><a class="fn-backref" href="#id5">[greek-usage]</a></dt> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id4">[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> </dl> -<dl class="citation"><dt class="label"><a class="fn-backref" href="#id7">[cbfonts]</a></dt> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id6">[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> @@ -1001,12 +1028,12 @@ of the babel package</cite>, 1997. </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> +<em>(<a class="fn-backref" href="#id5">1</a>, <a class="fn-backref" href="#id8">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> +<dl class="citation"><dt class="label"><a class="fn-backref" href="#id11">[lemberg2008]</a></dt> <dd id="lemberg2008"> <p class="first last">Werner Lemberg, <cite>Unicode support for the Greek LGR encoding</cite>, Εὔτυπον, τεῦχος № 20, 2008. |