summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-29 23:24:17 +0000
committerKarl Berry <karl@freefriends.org>2014-12-29 23:24:17 +0000
commit9a0f0d057b7f36dcc8f060ed5efdcdf0408ad201 (patch)
treefc17e9fd17d0395d4b5b7b6b0a77803cf38824d1 /Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
parente8520f340f5558c580fc5f6cc601cc4361ad5970 (diff)
greek-fontenc (25dec14)
git-svn-id: svn://tug.org/texlive/trunk@35920 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex')
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex30
1 files changed, 21 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
index e05f24b38d4..4a6f89d0787 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
@@ -20,7 +20,7 @@
% Load encoding definitions (after font package)
\usepackage[LGR,T1]{fontenc}
-% \usepackage{greek-fontenc}
+\usepackage{textalpha}
\usepackage{listings}
\lstset{basicstyle=\ttfamily}
@@ -47,17 +47,28 @@
\section*{Greek diacritics with standard accent macros}
-The font encoding definition file \texttt{lgrxenc.def} defines
-LICR macros for all non-ASCII characters in the LGR font encoding.
-
-Diacritics can be input using an extension of the standard macro
-commands with composite diacritics input as
-backslash followed by the LGR transliteration.%
+The font encoding definition file \texttt{lgrenc.def} defines LICR macros
+for all non-ASCII characters in the LGR font encoding. Greek accent macros
+have names starting with \verb|\acc| followed by the Greek accent name as
+used in the Unicode standard (e.g. \verb|\acctonos|). The standard symbol
+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''.}
+\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}.}
The example in greek-usage.pdf:
%
@@ -73,7 +84,7 @@ can be input as
S\'wstrate, \>er\~wn \'ap\~hljec e\>uj\'uc?
\end{lstlisting}
%
-Improvements:
+Improvements over the ligature-based approach in LGR:
%
\begin{itemize}
@@ -130,9 +141,10 @@ Improvements:
\end{itemize}
\selectlanguage{british} Composite diacritics can be specified as
-backslash + LGR transliteration or combined accent macros,
+named macro, backslash + LGR transliteration, or combined accent macros,
e.\,g. \textgreek{\~>a} can be written as
\begin{quote}
+ \verb+\accpsiliperispomeni{a}+,
\verb+\~>a+, \verb+\>~a+,
\verb+\~\>{a}+, or \verb+\~\>a+.
\end{quote}