summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex57
1 files changed, 38 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex
index 79b2a42768a..17780a33524 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex
@@ -7,10 +7,10 @@
\usepackage[LGR,T1]{fontenc}
% UTF8 input encoding for pdfTeX or Xe/LuaTeX in 8-bit compatibility mode:
-\ifdefined \XeTeXrevision
+\ifdefined \XeTeXrevision
\XeTeXinputencoding "bytes"
\fi
-\ifdefined \luatexversion
+\ifdefined \luatexversion
\usepackage[utf8]{luainputenc}
\else
\usepackage[utf8]{inputenc}
@@ -34,7 +34,7 @@ symbol (like \textPsi{} or \textmu{}) or a
\textlambda\textomicron\textgamma\textomicron\textvarsigma{} in non-Greek
text as well as ISO-conforming formulas with upright constants (like
\textpi): $A = \mbox{\textpi} r^2$ vs. $A = \pi r^2$. Input is possible via
-LICR macros (\verb|\textalpha| \ldots \verb|\textOmega|) or (with
+LICR macros (\verb|\textalpha| \ldots \verb|\textOmega|) or (with
\emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}} and the
utf8 option or XeTeX/LuaTeX) Unicode literals.
@@ -42,7 +42,6 @@ See the source of this document \url{textalpha-doc.tex} for a setup and
usage example and the literate source of the package
\href{textalpha.sty.html}{textalpha.sty} for the implementation.
-
\section{Greek alphabet}
Greek letters via Latin transcription in LGR font encoding:
@@ -88,15 +87,16 @@ Archaic Greek letters and Greek punctuation
\textvarstigma
\end{quote}
+
Diacritics
\begin{quote}
Symbol macros:%
- \footnote{Composite diacritics require wrapping in
+ \footnote{Composite diacritics require wrapping in
\texttt{\textbackslash ensuregreek}.}
\"{} \'{} \`{} \~{} \<{} \>{} \u{} \={}
\ensuregreek{\"~{} \"'{} \"`{} \<~{} \<`{} \<'{} \>~{} \>'{} \>`{}}
-
+
Named macros:
\accdialytika{}
\acctonos{}
@@ -106,7 +106,7 @@ Diacritics
\accpsili{}
\ypogegrammeni{}
\prosgegrammeni{}
- %
+ %
\accdialytikaperispomeni{}
\accdialytikatonos{}
\accdialytikavaria{}
@@ -120,24 +120,37 @@ Diacritics
\accinvertedbrevebelow{} % == \textsubarch{}
\accbrevebelow{}
-
+
+\end{quote}
+
+Accent macros can start with \verb|\a| instead of \verb|\| when the
+short form is redefined, e.\,g. inside a \emph{tabbing} environment.
+This also works for the new-defined Dasia and Psili shortcuts:
+\begin{quote}
+ \begin{tabbing}
+ COL1\quad \= COL2\quad \= COL3\quad \= COL4\quad \\
+ COL1 \> \> COL3 \\
+ Viele \> Gr\a"u\ss e
+ \> \greekscript \a<\textalpha{}
+ \> \greekscript \a>\textomega
+ \end{tabbing}
\end{quote}
-\pagebreak{}
+
+% \pagebreak{}
\section{Greek Unicode characters in non-Greek text}
With the \emph{textalpha} package and input encoding \texttt{utf8}, Greek
-Unicode characters can be used in text with any font encoding.
+Unicode characters can be used in text with any font encoding. See Tables
+\ref{tab:greek-and-coptic} and \ref{tab:greek-extended}.
Kerning is preserved if the font encoding is LGR. This holds also for
pre-composed accented characters: \ensuregreek{AΫA}.
-All characters of the Greek and Coptic Unicode Block present in LGR via
-literal Unicode input in T1 font encoding
-(legend: * glyph missing in LGR):
-
+\begin{table}[tbp]
+ \centering
\begin{tabular}{rrrrrrrrrrrrrrrrr}
\toprule
& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\\
@@ -153,10 +166,14 @@ literal Unicode input in T1 font encoding
3F0 & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
\bottomrule
\end{tabular}
+\caption{Greek and Coptic Unicode Block, input as literal Unicode
+ characters in T1 font encoding (legend: * glyph missing in LGR).}
+\label{tab:greek-and-coptic}
+\end{table}
-All characters of the Greek Extended Unicode Block via literal Unicode
-input in T1 font encoding:
+\begin{table}[tbp]
+ \centering
\begin{tabular}{rrrrrrrrrrrrrrrrr}
\toprule
& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\\
@@ -179,7 +196,10 @@ input in T1 font encoding:
1FF0 & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\
\bottomrule
\end{tabular}
-
+\caption{Greek Extended Unicode Block, input as literal Unicode
+characters in T1 font encoding.}
+\label{tab:greek-extended}
+\end{table}
Combined Diacritics work ᾅ, diacritics (except diaeresis) are dropped with
MakeUppercase (μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}).
@@ -247,10 +267,9 @@ all-caps:
%
This fails if the active font encoding is not LGR:
\ensuregreek{\'\textAlpha} (LGR) vs. \'\textAlpha (T1).
-To overcome this, the \verb|\ensuregreek| macro is used in composite Unicode
+Therefore, named accent macros are used in composite Unicode
character definitions: \ensuregreek{Ά} (LGR) = Ά (T1).
-
The dialytika marks a \emph{hiatus} (break-up of a diphthong). It must be
present in UPPERCASE even where it is redundant in lowercase (the hiatus can
also be marked by an accent on the first character of a diphthong). The