summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex')
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex70
1 files changed, 53 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
index 8fe8862c207..e569e6cdc5d 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
@@ -19,7 +19,9 @@
\usepackage{parskip}
\usepackage{textcomp}
\usepackage[LGR,T1]{fontenc}
-% \usepackage[utf8]{inputenc}
+
+\usepackage[utf8]{inputenc}
+\usepackage[pdfencoding=auto]{hyperref}
\newcommand{\LGR}{\fontencoding{LGR}\selectfont}
\newcommand{\Latin}{\fontencoding{T1}\selectfont}
@@ -31,17 +33,40 @@
\begin{document}
\title{Test LGR font encoding definitions}
-\date{}
+\author{Günter Milde}
+% \date{}
\maketitle
The file lgrenc.def provides a comprehensive set of macros to typeset Greek
with LGR encoded fonts. It works for both, monotonic and polytonic Greek,
independent of the \emph{Babel} package.
+The example from \texttt{usage.tex} in \emph{babel-greek} input
+using the LICR macros:
+
+\begin{quote}
+ \LGR
+ \textTau\'\textiota{}
+ \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{}
+ \<\textIota\textdelta\`\textomega\textnu{}
+ \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{}
+ \textpi\textalpha\~\textiota\textdelta\'\'
+ \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\
+ \texttau\`\textalpha\textfinalsigma{}
+ \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{}
+ \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{}
+ \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{},
+ \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\
+ \>\textepsilon\textrho\~\textomega\textnu{}
+ \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{}
+ \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{}
+
+\end{quote}
+
\section{Symbols}
-See the source file lgrenc-test.tex for the macros used to access the
-symbols.
+See the source file \href{lgrenc-test.tex}{lgrenc-test.tex} for the macros
+used to access the symbols.
\subsection{Generic text symbols}
@@ -77,10 +102,18 @@ Quotes:
\LGR \textquotedblleft{}a\textquotedblright{}
\Latin (double quotes wrong with Kerkis fonts),
-\Latin \guilsinglleft{}a\guilsinglright{}
- \quotedblbase{}a\textquotedblright{}
-Single guillemots and base-quotes are missing in LGR.
-
+\begin{quote}
+ Single quotes need special attention to prevent conversion to accents.
+ Test the input conventions:
+ \LGR \textquoteleft{}a\textquoteright{} ``a'' \``a\'' \`\`a\'\'
+ \Latin but not \LGR `a' 'e' "i"\Latin
+
+ Single guillemots and base-quotes
+ (\guilsinglleft{}a\guilsinglright{}
+ \quotedblbase{}a\textquotedblright{}
+ \quotesinglbase{}a\textquoteright{})
+ are missing in LGR.
+\end{quote}
Ligature break up: AY fi \LGR AU "i $\mapsto$
\Latin A\textcompwordmark{}Y f\textcompwordmark i
@@ -118,12 +151,12 @@ Ligature break up: AY fi \LGR AU "i $\mapsto$
\LGR \textschwa{}, \texteuro{}
\Latin
-Some symbol definitions expect a Latin font. Babel redefines them with
-\verb|\latintext|, however this macro is not guaranteed to be defined, so it
-should not be used in a font encoding definition file. Instead, the
-textcomp.sty package should be used to provide the symbols for all font
-encodings. (Like any other Latin character, the ``sharp s'' (\ss) is not
-save to use when LGR is the active font encoding.)
+Some symbol definitions expect a Latin font.\emph{ babel-greek} redefines
+them with \verb|\latintext|, however this macro is not guaranteed to be
+defined, so it should not be used in a font encoding definition file. The
+textcomp.sty package provides coyright, registered, and trademark symbols
+for use with any font encodings. (Like any other Latin character, the
+``sharp s'' (\ss) is not save to use when LGR is the active font encoding.)
Latin:
\textcopyright{}
@@ -198,14 +231,17 @@ variant shapes in place of the ``regular'' ones.
\section{Diacritics}
Capital Greek letters have Greek diacritics (except the dialytika) to the
-left (instead of above) and drop them in UPPERCASE. This is
-implemented for all combinations for which a pre-composed Unicode
-character exists (but not, e.g., \LGR \~A\Latin).
+left (instead of above) and drop them in UPPERCASE. This is implemented for
+all combinations for which a pre-composed Unicode character exists (but not,
+e.g., \LGR \~A\Latin).
% When a word is written entirely in capital letters, diacritics are
% never used; the word Ἢ (or), is an exception to this rule because of
% the need to distinguish it from the nominative feminine article Η.
+Different conventions exist for the treatment of the sub-iota with uppercase
+letters. The CB-Fonts use a capital Iota ``index''.
+
LaTeX standard accents (Latin, Greek, Greek Capitals)
$\mapsto$ UPPERCASE