summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex')
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex41
1 files changed, 22 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
index 4a6f89d0787..b885c948f57 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
@@ -1,7 +1,7 @@
% Test definitions for accents and composite accents in Greek
-\documentclass[a4paper,british,polutonikogreek]{article}
+\documentclass[a4paper,polutonikogreek,british]{article}
\pagestyle{empty}
-\usepackage[margin=2.5cm]{geometry}
+\usepackage[margin=2.9cm]{geometry}
\usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader
\usepackage%
@@ -43,9 +43,11 @@
\begin{document}
-\selectlanguage{british}
+% \selectlanguage{british}
-\section*{Greek diacritics with standard accent macros}
+\title{Greek diacritics with standard accent macros}
+\author{G\"unter Milde}
+\maketitle
The font encoding definition file \texttt{lgrenc.def} defines LICR macros
for all non-ASCII characters in the LGR font encoding. Greek accent macros
@@ -55,22 +57,22 @@ accents \verb|\' \` \~| behave according to Greek typography if used in the
LGR font encoding.
The \emph{textalpha} or \emph{alphabeta} packages define the symbol macros
-\verb|\<| and \verb|\>| as alias for the breathings (Dasia and Psili). With
-this, all diacritics can be input as backslash followed
-by the LGR transliteration. %
-\footnote{This makes it easy to follow the advise in
- \emph{teubner-doc}: ``typeset your paper with the regular
- accent vowel ligatures and [{\ldots}] substitute them in the
- final revision with the accented vowel macros only in those
- instances where the lack of kerning is disturbing''.}
+\verb|\<| and \verb|\>| as alias for the breathings (Dasia and Psili).%
\footnote{The definition of the macros
\texttt{\textbackslash<} and \texttt{\textbackslash>} was moved
from the font definition file \texttt{greek-fontenc.def} to
\texttt{textalpha.sty} in order to avoid clashes with local
definitions of this macros in documents using the LGR font
encoding via \emph{fontenc} or \emph{babel}.}
+With these packages, all Greek diacritics can be input as backslash followed
+by the LGR transliteration.%
+\footnote{This makes it easy to follow the advise in
+ \emph{teubner-doc}: ``typeset your paper with the regular
+ accent vowel ligatures and [{\ldots}] substitute them in the
+ final revision with the accented vowel macros only in those
+ instances where the lack of kerning is disturbing''.}
-The example in greek-usage.pdf:
+The example in babel/contrib/greek/usage.pdf:
%
\begin{quote} \selectlanguage{greek}
T\'i f\'hic? \<Id\`wn \>enj\'ede pa\~id''
@@ -110,8 +112,8 @@ Improvements over the ligature-based approach in LGR:
\end{tabular}
\selectlanguage{british}
- Like in any font encoding, kerning only works with pre-composed glyphs:
- \textgreek{A\"UA $\ne$ A\~UA}, AVA $\ne$ A\~VA.
+ Like in any font encoding, kerning only works with pre-composed glyphs:\\
+ \textgreek{A\"UA $\ne$ A\~UA}, AVA $\ne$ A\'VA.
\item Compatible with hyperref (see greekhyperref.pdf).
@@ -154,11 +156,12 @@ lead to errors.
\verb+\MakeUppercase+ works with most input variants but fails with a tilde
in a document which does \textbf{not} define the \texttt{greek} or
-\texttt{polutonikogreek} language (where the tilde is an active character
-denoting a \verb|\nobreakspace|).
+\texttt{polutonikogreek} language with Babel (which fixes the uccode for
+characters used in the LGR transliteration).
Combining ``symbol macros'' (\verb+\>\~+) or reversing the order
-(\verb+\~>+) is safe:
-\foreignlanguage{greek}{\~>a $\mapsto$ \MakeUppercase{\~>a}}.
+(\verb+\~>+) is safe.
+% \foreignlanguage{greek}{\~>a \>~a \>\~a \~\>a $\mapsto$
+% \MakeUppercase{\~>a \>~a \>\~a \~\>a}}.
Accent macros can start with \verb|\a| instead of \verb|\| when the
short form is redefined, e.\,g. inside a \emph{tabbing} environment.