diff options
Diffstat (limited to 'language/greek/greek-fontenc/textalpha.sty.html')
-rw-r--r-- | language/greek/greek-fontenc/textalpha.sty.html | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/language/greek/greek-fontenc/textalpha.sty.html b/language/greek/greek-fontenc/textalpha.sty.html index f3cd385494..8f8d046012 100644 --- a/language/greek/greek-fontenc/textalpha.sty.html +++ b/language/greek/greek-fontenc/textalpha.sty.html @@ -794,7 +794,7 @@ mstyle.mathscr, mi.mathscr { <p class="subtitle" id="greek-symbols-in-text">Greek symbols in text</p> <dl class="docinfo"> <dt class="version">Version<span class="colon">:</span></dt> -<dd class="version">2.4 (<a class="reference internal" href="#changelog">changelog</a>)</dd> +<dd class="version">2.5 (<a class="reference internal" href="#changelog">changelog</a>)</dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> <dd class="copyright">© 2010, 2023 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> @@ -916,7 +916,7 @@ in the same document (see <a class="reference external" href="test-tuenc-greek.t <section id="identification"> <h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Identification</a></h3> <pre class="literal-block">\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{textalpha}[2023-08-15 2.4 macros for Greek letters in text]</pre> +\ProvidesPackage{textalpha}[2023-09-12 2.5 macros for Greek letters in text]</pre> </section> <section id="options"> <h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Options</a></h3> @@ -967,7 +967,9 @@ With XeTeX/LuaTeX and Unicode fonts, this option is ignored.</p> <p>In the Latin transliteration provided by LGR, breathing accents (Dasia and Psili) are input as < and >. Provide the corresponding NFSS macro accents. (Used below for LGR, TU, and PU, if these font encodings are defined):</p> -<pre class="literal-block">\newcommand{\textalpha@define@breathings}[1]{ +<pre class="literal-block">\providecommand*{\IfFormatAtLeastTF}[3]{#3} % new in 2020 + +\newcommand{\textalpha@define@breathings}[1]{ \DeclareTextCommand{\<}{#1}{\accdasia} \DeclareTextCommand{\>}{#1}{\accpsili} % Composite accents starting with the new-defined shortcuts: @@ -976,9 +978,14 @@ Psili) are input as < and >. Provide the corresponding NFSS macro accents. \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} - \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni}</pre> + \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} + + \IfFormatAtLeastTF{2022/06/01}{}{% else + \DeclareTextCompositeCommand{\<}{#1}{^^9f}{\LGR@hiatus} + \DeclareTextCompositeCommand{\>}{#1}{^^9f}{\LGR@hiatus} + }</pre> <p>Also define “mixed” composites (required due to the fix for -<span class="docutils literal">\MakeUppercse</span> below:</p> +<span class="docutils literal">\MakeUppercase</span> below:</p> <pre class="literal-block"> % \MakeUppercse: \>~a, \<~a % \DeclareTextCompositeCommand{\accpsili}{#1}{~}{\accpsiliperispomeni} % \DeclareTextCompositeCommand{\accdasia}{#1}{~}{\accdasiaperispomeni} @@ -1005,8 +1012,6 @@ macros:</p> <pre class="literal-block">\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines \input{tuenc-greek.def} \textalpha@define@breathings{\UnicodeEncodingName} - \DeclareTextCompositeCommand{\<}{\UnicodeEncodingName}{^^9f}{\LGR@hiatus} - \DeclareTextCompositeCommand{\>}{\UnicodeEncodingName}{^^9f}{\LGR@hiatus} \else \@ifl@aded{def}{lgrenc} {} @@ -1017,11 +1022,7 @@ macros:</p> (enables use of 8-bit TeX fonts and input via the Latin transliteration). Add setup for breathings:</p> <pre class="literal-block">\@ifl@aded{def}{lgrenc} - {\textalpha@define@breathings{LGR} - % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) - \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} - \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} - } + {\textalpha@define@breathings{LGR}} {}</pre> <p>The package <a class="reference external" href="https://ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding and adds some LICR commands for monotonic Greek (in punenc-greekbasick.def). @@ -1131,15 +1132,15 @@ would work also for cases like <span class="docutils literal"><span class="pre"> \DeclareTextSymbolDefault{\textkappa}{LGR} \DeclareTextSymbolDefault{\textlambda}{LGR} \DeclareTextSymbolDefault{\textmu}{LGR} -\DeclareTextSymbolDefault{\textmugreek}{LGR} % (puenc.def) +\DeclareTextSymbolDefault{\textmugreek}{LGR} % (puenc.def) \DeclareTextSymbolDefault{\textnu}{LGR} \DeclareTextSymbolDefault{\textxi}{LGR} \DeclareTextSymbolDefault{\textomicron}{LGR} \DeclareTextSymbolDefault{\textpi}{LGR} \DeclareTextSymbolDefault{\textrho}{LGR} \DeclareTextSymbolDefault{\textsigma}{LGR} -\DeclareTextSymbolDefault{\textvarsigma}{LGR} -\DeclareTextSymbolDefault{\textfinalsigma}{LGR} % alias for \textvarsigma +\DeclareTextSymbolDefault{\textfinalsigma}{LGR} +\DeclareTextSymbolDefault{\textvarsigma}{LGR} % alias for \textfinalsigma \DeclareTextSymbolDefault{\textautosigma}{LGR} % char 115 in LGR \DeclareTextSymbolDefault{\texttau}{LGR} \DeclareTextSymbolDefault{\textupsilon}{LGR} @@ -1216,6 +1217,7 @@ The variations have no syntactic meaning in Greek text.</p> <pre class="literal-block">\DeclareTextAccentDefault{\accdasia}{LGR} \DeclareTextAccentDefault{\accpsili}{LGR} \DeclareTextAccentDefault{\acctonos}{LGR} +\DeclareTextAccentDefault{\accoxia}{LGR} \DeclareTextAccentDefault{\accvaria}{LGR} \DeclareTextAccentDefault{\accperispomeni}{LGR} \DeclareTextAccentDefault{\accdialytika}{LGR} @@ -1384,6 +1386,10 @@ Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td <td></td> <td><p>Fix upcasing of Greek letters with <span class="docutils literal">\<</span> and <span class="docutils literal">\></span>.</p></td> </tr> +<tr><td><p>2.5</p></td> +<td><p>2023-09-12</p></td> +<td><p>Support the <span class="docutils literal">\accoxia</span> alias.</p></td> +</tr> </tbody> </table> <!-- References |