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.tex17
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
index 121693f4531..e05f24b38d4 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
@@ -25,13 +25,15 @@
\usepackage{listings}
\lstset{basicstyle=\ttfamily}
-% Babel package::
+% Babel package:
\usepackage{babel}
-% revert the polutonikogreek definition of \~:
-% not required with babel-greek >= 1.4
-% \addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}}
-% \addto\extrasgreek{\renewcommand*{\~}{\a~}}
+
+% With XeTeX/LuaTeX, load fontspec after babel to use Unicode
+% fonts for Latin script and LGR for Greek:
+\ifdefined\luatexversion \usepackage{fontspec}\fi
+\ifdefined\XeTeXrevision \usepackage{fontspec}\fi
+
% "Lipsiakos" italic font `cbleipzig`:
\newcommand*{\lishape}{\fontencoding{LGR}\fontfamily{cmr}%
@@ -45,8 +47,9 @@
\section*{Greek diacritics with standard accent macros}
-\texttt{lgrxenc.def} is a comprehensive font encoding definition file.
-LICR macros are defined for all non-ASCII characters.
+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.%