diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-29 22:11:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-29 22:11:02 +0000 |
commit | 83583b57e8624e227242b9bc763bbe6e389280ed (patch) | |
tree | b8127d0edc5a14846b306b3dd4c03e866f415562 /Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex | |
parent | 48b730145866842f961daf4af297ecd5d11447f6 (diff) |
greek-fontenc (29nov13)
git-svn-id: svn://tug.org/texlive/trunk@32276 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.tex | 17 |
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.% |