diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/textalpha-test.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/textalpha-test.tex | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-test.tex b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-test.tex index 1a0f796faad..ed90a87b636 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-test.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-test.tex @@ -4,8 +4,17 @@ \usepackage{lmodern} \usepackage{textcomp} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} +\usepackage[LGR,T1]{fontenc} + +% UTF8 input encoding for pdfTeX or Xe/LuaTeX in 8-bit compatibility mode: +\ifdefined \luatexversion + \usepackage[utf8]{luainputenc} +\else + \usepackage[utf8]{inputenc} + \ifdefined \XeTeXrevision + \XeTeXinputencoding "bytes" + \fi +\fi \usepackage[pdfencoding=auto,colorlinks=true]{hyperref} \usepackage{bookmark} @@ -263,4 +272,6 @@ internal font encoding switch: compare \ensuregreek{\textAlpha\textUpsilon\textAlpha} (LGR) to \textAlpha\textUpsilon\textAlpha (T1). +Compiling with LuaTeX provides kerning also over font encoding boundaries. + \end{document} |