<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% $Id: gentium-otf-doc.tex 1059 2025-01-08 08:06:10Z herbert $
\listfiles
\documentclass[ngerman,spanish,polish,english,a4paper,paper=a4,DIV=14]{scrartcl}
\usepackage[
  sans=FiraSans-Regular.otf,
  sansFeatures={Scale=MatchUppercase},
  mono=DejaVu Sans Mono,
  monoFeatures={Scale=MatchLowercase,FakeStretch=0.88},
  math=STIXTwo Math,
  mathFeatures={math-style=TeX}]{gentium-otf}
\newfontface\NotoMono[Scale=MatchLowercase,FakeStretch=0.88]{NotoSansMono-Regular.ttf }
\usepackage{babel}
%\usepackage[rmargin=1cm]{geometry}
\usepackage{booktabs}
\usepackage{xltabular}
\usepackage{listings}
\usepackage{showexpl}
\usepackage{xcolor,url,blindtext}
\newcommand\Macro[1]{\texttt{\textbackslash#1}}
\usepackage{hvextern,unicodefonttable}
\usepackage[colorlinks]{hyperref}
\lstset{basicstyle=\ttfamily\small}
\setkeys{hv}{moveToExampleDir,ExampleDir=Examples,showFilename,verbose}

\usepackage[imakeidx]{xindex}
\makeindex[title=Index]

\newenvironment{demoquote}
               {\begingroup
                \setlength{\topsep}{0pt}
                \setlength{\partopsep}{0pt}
                \list{}{\rightmargin\leftmargin}%
                \item\relax}
               {\endlist\endgroup}

\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}}
\def\Largb#1{\texttt{\{}\textit{#1}\texttt{\}}}
\def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}}
\def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}}
\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Option!#1@\texttt{#1}}}
\def\SUP{\addfontfeatures{RawFeature={+sups}}}

\usepackage{multicol,luacode}
\setlength{\columnsep}{0.3cm}
\setlength{\columnseprule}{0.1pt}

\makeatletter
\blind@addtext{polish}{%
  \def\blindtext@text{%
Honoru myÅ›liwych zaraza Rymsza Libijskich wszystkich WoÅ¼ny przerywaÅ‚ szczodroty 
opowiadaÅ„. Cesarskich znaczy rÄ…czy muchom malarstwie spisem rÃ³Å¼owemi zacnie 
urzÄ…dzaÅ‚. Nasze Praga stare Å¼eÅ› Å»yje cnoty Tabor. MÃ³wcy pokÃ³j RÃ³wnieÅ¼ Å›mielÃ©j 
wionÄ™Å‚a jarzynach liczne drogÄ… jastrzÄ…b sÅ‚owo zabawy odjechaÅ‚ Å¼ycie. Dano 
ojcu WyprowadzajÄ… kuca dramatycznych myÅ›liwskiÃ©m bÃ³r pÄ™k Å¼yt maja Wiec. NiÄ™ 
Taka Albo tace Usta pÄ™k ucha. }}
\makeatother


\title{Gentium---a complete Greek font with Latin and Cyrillic}
\author{Herbert VoÃŸ\thanks{\protect\url{hvoss@tug.org}}}
\usepackage{parskip}
\parindent=0pt


\begin{document}

\maketitle

\tableofcontents


\newpage
\section{The font files}

The \LaTeX\  package \Lpack{gentium-otf} supports the following TrueType fonts:
\begin{verbatim}
GentiumPlus-Regular.ttf            GentiumBookPlus-Regular.ttf  
GentiumPlus-Bold.ttf               GentiumBookPlus-Bold.ttf 
GentiumPlus-Italic.ttf             GentiumBookPlus-Italic.ttf
GentiumPlus-BoldItalic.ttf         GentiumBookPlus-BoldItalic.ttf
\end{verbatim}

The fonts are free available (\url{https://software.sil.org/gentium/})
and also part of any up-to-date distribution, like \TeX Live, MiK\TeX\, or mac\TeX. 

\section{Package options}


Possible optional arguments are

\noindent
\begin{tabular}{@{} &gt;{\ttfamily}l l@{}}
book            &amp;  The book variant of the fonts\\
ScaleRM         &amp; scaling for the serif font, preset to 1\\
defaultfeatures &amp; presetting of features only for rmfamily\\
sans &amp; Sans serif font\\
sansFeatures &amp; Features for the sans serif font\\
mono &amp; Mono font\\
monoFeatures &amp; Features for the mono font\\
math &amp; Math font\\
mathFeatures &amp; Features for the math font\\
\end{tabular}

The Gentium Font comes only with a roman family. If you do not want to load
additional font-packages for a sans-serif, mono and math font, you can define
these fonts with optional arguments. This documentation is typeset with

\begin{verbatim}
\usepackage[
  sans=FiraSans-Regular.otf,
  sansFeatures={Scale=MatchUppercase},
  mono=DejaVu Sans Mono,
  monoFeatures={Scale=MatchLowercase,FakeStretch=0.88},
  math=STIXTwo Math,
  mathFeatures={math-style=TeX}]{gentium-otf}
\end{verbatim}

\newpage

\section{Main font definition}

The main font is defined as:

\begin{verbatim}
\setmainfont{GentiumPlus}[ 
  RawFeature     = {\gentium@figurealign;\gentium@figurestyle},
  Scale          = \gentiumRM@scale ,
  UprightFont    = *-Regular,
  ItalicFont     = *-Italic,
  ItalicFeatures = { SmallCapsFont = *-Italic },
  SlantedFont    = *-Regular,
  SlantedFeatures= {FakeSlant=0.2},
  BoldFont       = *-Bold,
  BoldFeatures   = { SmallCapsFont = *-Bold },
  BoldItalicFont = *-BoldItalic,
  BoldItalicFeatures = { SmallCapsFont = *-BoldItalic },
  BoldSlantedFont= *-Bold,
  BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold },
  SmallCapsFont  = *-Regular,
%  SmallCapsFeatures={RawFeature=+smcp},
  SmallCapsFeatures={Letters=SmallCaps}, 
  Extension      = .ttf  
]
\end{verbatim}

All available features are listed on \url{https://software.sil.org/gentium/features/}.

\newpage
\section{The default font}
\enlargethispage{3cm}
\selectlanguage{polish}%
\begin{xltabular}{\linewidth}{XX}
\bfseries GentiumPlus &amp; \bfseries GentiumBookPlus\\\hline
Regular\\
\fontspec{GentiumPlus-Regular.ttf}
\blindtext
&amp;
\fontspec{GentiumBookPlus-Regular.ttf}
\blindtext
\\\hline
\strut Bold\\
\fontspec{GentiumPlus-Bold.ttf}
\blindtext
&amp;
\fontspec{GentiumBookPlus-Bold.ttf}
\blindtext
\\\hline
Italic\\
\fontspec{GentiumPlus-Italic.ttf}
\blindtext
&amp;
\fontspec{GentiumBookPlus-Italic.ttf}
\blindtext
\\\hline
BoldItalic\\
\fontspec{GentiumPlus-BoldItalic.ttf}
\blindtext
&amp;
\fontspec{GentiumBookPlus-BoldItalic.ttf}
\blindtext
\end{xltabular}


\newpage
\subsection{Small Caps }
\enlargethispage{3cm}
\begin{tabularx}{\linewidth}{XX}
Default  -- \verb|\scshape| \bfseries GentiumPlus &amp; Book -- \verb|\scshape|\\\hline
Regular\\
\fontspec{GentiumPlus-Regular.ttf}
\scshape\blindtext
&amp;
\fontspec{GentiumBookPlus-Regular.ttf}
\scshape\blindtext
\\\hline
\strut Bold\\
\fontspec{GentiumPlus-Bold.ttf}
\scshape\blindtext
&amp;
\fontspec{GentiumBookPlus-Bold.ttf}
\scshape\blindtext
\\\hline
Italic\\
\fontspec{GentiumPlus-Italic.ttf}
\scshape\blindtext
&amp;
\fontspec{GentiumBookPlus-Italic.ttf}
\scshape\blindtext
\\\hline
BoldItalic\\
\fontspec{GentiumPlus-BoldItalic.ttf}
\scshape\blindtext
&amp;
\fontspec{GentiumBookPlus-BoldItalic.ttf}
\scshape\blindtext
\end{tabularx}


\newpage

\subsection{Slanted -- done by FakeSlant}

\begin{xltabular}{\linewidth}{XX}
\verb|\itshape| \bfseries GentiumPlus &amp;  \verb|\slshape| \bfseries GentiumBookPlus\\\hline
Regular\\
\itshape\blindtext
&amp;
\slshape\blindtext
\\\hline
\strut Bold\\
\itshape\bfseries\blindtext
&amp;
\slshape\bfseries\blindtext
\\\hline
\strut SmallCaps\\
\itshape\scshape\blindtext
&amp;
\slshape\scshape\blindtext
\\\hline
\strut Bold SmallCaps\\
\itshape\scshape\bfseries\blindtext
&amp;
\slshape\scshape\bfseries\blindtext
\\\hline
\end{xltabular}


\selectlanguage{english}%

\newpage



\section{The font features}


\begin{lstlisting}[basicstyle=\ttfamily\small]
bash-3.2$ otfinfo --features GentiumPlus-Regular.otf 
aalt	Access All Alternates
c2sc	Small Capitals From Capitals
ccmp	Glyph Composition/Decomposition
cv13	&lt;unknown feature&gt;
cv14	&lt;unknown feature&gt;
[...]
cv92	&lt;unknown feature&gt;
cv98	&lt;unknown feature&gt;
frac	Fractions
kern	Kerning
liga	Standard Ligatures
mark	Mark Positioning
mkmk	Mark to Mark Positioning
smcp	Small Capitals
ss01	Stylistic Set 1
ss04	Stylistic Set 4
ss05	Stylistic Set 5
ss07	Stylistic Set 7
ss11	Stylistic Set 11
ss12	Stylistic Set 12
subs	Subscript
sups	Superscript
\end{lstlisting}

%$


\subsection{Capitals to Small Caps}

The macro \Lcs{Lctosc}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSC+} and \Lcs{LCtoSC-} for
a global change of capitals to small caps.

\begin{LTXexample}
Gentium Font ÅÅ°Ã‰ÃÃ„ 
\Lctosc{Gentium Font ÅÅ°Ã‰ÃÃ„}\\
\LCtoSC+ Gentium Font ÅÅ°Ã‰ÃÃ„
\end{LTXexample}

\subsection{Capitals to Small Caps and small captitals}

The macro \Lcs{Lctosmcp}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSMCP+} and \Lcs{LCtoSMCP-}  for
a global change of capitals to small caps.

\begin{LTXexample}
Gentium Font ÅÅ°Ã‰ÃÃ„ 
\Lctosmcp{Gentium Font ÅÅ°Ã‰ÃÃ„}\\
\LCtoSMCP+ Gentium Font ÅÅ°Ã‰ÃÃ„ 
\end{LTXexample}


\subsection{Ligatures}

The macros \Lcs{Lliga}\Largb{arg} (standard ligatures), \Lcs{Lhlig}\Largb{arg} (historical ligatures), 
\Lcs{Ldlig}\Largb{arg} (discretionary ligatures)
are for a local change of \emph{arg} and \Lcs{LLIGA+}/\Lcs{LLIGA-}, \Lcs{LHLIG+}/\Lcs{LHLIG-}, and \Lcs{LDLIG+}/\Lcs{LDIG-}  for
a global change of capitals to small caps relative to the current group.

\begin{LTXexample}
No ligatures for the upright font!
Schifffahrt ff, fi, ffi, fl

\itshape but for the italic font!
Schifffahrt ff, fi, ffi, fl
{\LLIGA- ff, fi, ffi, fl, Schifffahrt}
\end{LTXexample}

\subsection{Fractions}

There are two macros: \Lcs{Lfrac}\Largb{arg} for a local fraction setting and \Lcs{LFRAC+} and \Lcs{LFRAC-}  for a global
setting relative to the current group.


\begin{LTXexample}[pos=b]
 default: 1/2 1/3 1/4 1/5 \ldots

1/2 \Lfrac{1/3} 1/4 \Lfrac{1/5} 1/6 \Lfrac{1/7} 1/8 \Lfrac{1/9} 1/10 \Lfrac{5/1289}

\LFRAC+
1/2 456/789 1/2 456/789
1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289

\LFRAC-
 1/2 1/3 1/4 1/5 1/6 \ldots
\end{LTXexample}



\subsection{Stylistic Sets}

\begin{verbatim}
ss01	Single-story a and g
ss04	Barred-bowl forms
ss05	Slant italic specials
ss07	Low-profile diacritics
ss11	Single-story a (only)
ss12	Single-story g (only)
\end{verbatim}



There is a short command \Lcs{Lssxx}\Largb{text} for the six stylistic sets, 
where xx is the number of the set (two digits)
and \textit{text} the local argument:

\iffalse
\begin{LTXexample}[pos=b]
default: aÂªÃ&nbsp;Ã¡Ã¢Ã£Ã¤Ã¥ÄÄƒÄ…ÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº¡áº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº·â±¥â‚áµƒâ—ŒÍ£gÄÄŸÄ¡Ä£Ç§ÇµÇ¥á¸¡êž¡áµ\par
ss01: \Lss01{aÂªÃ&nbsp;Ã¡Ã¢Ã£Ã¤Ã¥ÄÄƒÄ…ÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº¡áº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº·â±¥â‚áµƒâ—ŒÍ£gÄÄŸÄ¡Ä£Ç§ÇµÇ¥á¸¡êž¡áµ}\par
ss11: \Lss11{aÂªÃ&nbsp;Ã¡Ã¢Ã£Ã¤Ã¥ÄÄƒÄ…ÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº¡áº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº·â±¥â‚áµƒâ—ŒÍ£}\par
ss12: \Lss12{ÄÄŸÄ¡Ä£Ç§ÇµÇ¥á¸¡êž¡áµ}\par
ss04: Ä‘Æ€Ç¥ \Lss04{Ä‘Æ€Ç¥}\par
default: aÃ£Ã&nbsp;Ã¡Ã¢Ã¤Ã¥ÄÄƒÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº¡áº·â±¥ÉÃ¦fá¸ŸiÃ¬Ã­Ã®Ã¯Ä©Ä«Ä­Ä¯ÇÈ‰È‹á¸­á¸¯á»‰á»‹Ä±lÄºá¸·á¸¹á¸»á¸½ê‰â‚—vá¹½á¹¿êŸzÅºÅ¼Å¾áº‘áº“áº•Ò“Ó»ïŒ¦ïŒ§fiffi\par
ss05: \Lss05{aÃ£Ã&nbsp;Ã¡Ã¢Ã¤Ã¥ÄÄƒÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº¡áº·â±¥ÉÃ¦fá¸ŸiÃ¬Ã­Ã®Ã¯Ä©Ä«Ä­Ä¯ÇÈ‰È‹á¸­á¸¯á»‰á»‹Ä±lÄºá¸·á¸¹á¸»á¸½ê‰â‚—vá¹½á¹¿êŸzÅºÅ¼Å¾áº‘áº“áº•Ò“Ó»ïŒ¦ïŒ§fiffi}\par
ss07: Ã¡Ã&nbsp;Ã¢ÇŽÄÃ£Ã¤È§ \Lss05{Ã¡Ã&nbsp;Ã¢ÇŽÄÃ£Ã¤È§} also for e,o,\ldots
\end{LTXexample}
\fi

\let\myFont\NotoMono
\fvset{fontfamily=myFont}


\begin{externalDocument}[
%  grfOptions={width=0.5\linewidth},
  frame,compiler=lualatex,
  crop,
  force=true,
  usefancyvrb,
  runs=2,code,docType=latex,
  frame,
%  showFilename,
%  align=\centering,
%  lstOptions={columns=flexible}
]{Gentium}
\documentclass{article}
\pagestyle{empty}
\parindent=0pt
%StartVisiblePreamble
\usepackage{gentium-otf}
%StopVisiblePreamble
\begin{document}
default: aÂªÃ&nbsp;Ã¡Ã¢Ã£Ã¤Ã¥ÄÄƒÄ…ÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº¡áº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº·â±¥â‚áµƒâ—ŒÍ£gÄÄŸÄ¡Ä£Ç§ÇµÇ¥á¸¡êž¡áµ\par
ss01: \Lss01{aÂªÃ&nbsp;Ã¡Ã¢Ã£Ã¤Ã¥ÄÄƒÄ…ÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº¡áº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº·â±¥â‚áµƒâ—ŒÍ£gÄÄŸÄ¡Ä£Ç§ÇµÇ¥á¸¡êž¡áµ}\par
ss11: \Lss11{aÂªÃ&nbsp;Ã¡Ã¢Ã£Ã¤Ã¥ÄÄƒÄ…ÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº¡áº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº·â±¥â‚áµƒâ—ŒÍ£}\par
ss12: \Lss12{ÄÄŸÄ¡Ä£Ç§ÇµÇ¥á¸¡êž¡áµ}\par
ss04: Ä‘Æ€Ç¥ \Lss04{Ä‘Æ€Ç¥}\par
ss05 is only valid for \verb|\itshape|\\
{\itshape
default: aÃ£Ã&nbsp;Ã¡Ã¢Ã¤Ã¥ÄÄƒÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº¡áº·â±¥ÉÃ¦fá¸ŸiÃ¬Ã­Ã®Ã¯Ä©Ä«Ä­Ä¯ÇÈ‰È‹á¸­á¸¯á»‰á»‹Ä±lÄºá¸·á¸¹á¸»á¸½ê‰â‚—vá¹½á¹¿êŸzÅºÅ¼Å¾áº‘áº“áº•Ò“Ó»ïŒ¦ïŒ§fiffi\par
ss05: \Lss05{aÃ£Ã&nbsp;Ã¡Ã¢Ã¤Ã¥ÄÄƒÇŽÇŸÇ¡Ç»ÈÈƒÈ§á¸áºšáº£áº¥áº§áº©áº«áº­áº¯áº±áº³áºµáº¡áº·â±¥ÉÃ¦fá¸ŸiÃ¬Ã­Ã®Ã¯Ä©Ä«Ä­Ä¯ÇÈ‰È‹á¸­á¸¯á»‰á»‹Ä±lÄºá¸·á¸¹á¸»á¸½ê‰â‚—vá¹½á¹¿êŸzÅºÅ¼Å¾áº‘áº“áº•Ò“Ó»ïŒ¦ïŒ§fiffi}}\par
ss07: Ã¡Ã&nbsp;Ã¢ÇŽÄÃ£Ã¤È§ \Lss05{Ã¡Ã&nbsp;Ã¢ÇŽÄÃ£Ã¤È§} also for e,o,\ldots
\end{document}
\end{externalDocument}

For a global change of the stylistic set one can use the command \Lcs{LSSxx}, where xx
is again the number of the set.

\begin{externalDocument}[
%  grfOptions={width=0.5\linewidth},
  frame,compiler=lualatex,
  crop,
  usefancyvrb,
  force=true,
mpwidth=0.6\linewidth,
  runs=2,code,docType=latex,
  frame,
%  showFilename,
%  align=\centering,
%  lstOptions={columns=flexible}
]{Gentium}
\documentclass{article}
\pagestyle{empty}
%StartVisiblePreamble
\usepackage{gentium-otf}
%StopVisiblePreamble
\begin{document}
Ä‘Æ€Ç¥ $\rightarrow$ \LSS04 Ä‘Æ€Ç¥
\end{document}
\end{externalDocument}

\subsection{Character variants}
There is a short command \Lcs{Lcvxx}\Largb{text} for the characters, where xx is the number of 
the alternative (two digits)
and \textit{text} the local argument. The macro has an optional argument for passing other values
than 1 to the option (see 43 and 62). Possible variants are:

\begin{verbatim}
cv13	B hook U+0181
cv14	beta U+03B2 U+1D66 U+1D5D
cv17	D hook U+018A
cv19	ezh curl U+0293
cv20	Ezh U+01B7 U+04E0
cv25	rams horn U+0264
cv28	H stroke U+0126
cv37	J stroke hook U+0284
cv43	Eng U+014A
cv44	N left hook U+019D
cv46	Open-O U+0186 U+0254 U+1D10 U+1D53 U+1D97
cv47	OU U+0222 U+0223 U+1D3D U+1D15
cv49	p hook U+01A5
cv55	R tail U+2C64
cv57	T hook U+01AC
cv62	V hook U+01B2 U+028B U+1DB9
cv68	Y hook U+01B3
cv69	Clicks U+01C0 U+01C1 U+01C2 U+2980
cv70	Modifier apostrophe U+02BC U+A78B U+A78C
cv71	Modifier colon U+A789
cv75	Vietnamese-style diacritics U+1EA4...U+1EAB U+1EAE...U+1EB5 U+1EBE U+1EBF U+1EC0...U+1EC5 
                                    U+1ED0...U+1ED7
cv76	Ogonek U+0328 U+0104 U+0105 U+0118 U+0119 U+012E U+012F U+0172 U+0173 U+01EA U+01EB U+01EC U+01ED
cv77	Caron U+010F U+013D U+013E U+0165
cv78	Porsonic circumflex U+0342 U+1F06 U+1F07 U+1F0E U+1F0F U+1F26 U+1F27 U+1F2E U+1F2F U+1F36 U+1F37 
                            U+1F3E U+1F3F U+1F56 U+1F57 U+1F5F U+1F66 U+1F67 U+1F6E U+1F6F U+1F86 U+1F87 
                            U+1F8E U+1F8F U+1F96 U+1F97 U+1F9E U+1F9F U+1FA6 U+1FA7 U+1FAE U+1FAF U+1FB6 
                            U+1FB7 U+1FC0 U+1FC1 U+1FC6 U+1FC7 U+1FCF U+1FD6 U+1FD7 U+1FDF U+1FE6 U+1FE7 
                            U+1FF6 U+1FF7
cv79	Kayan diacritics U+0300 U+0301
cv80	Cyrillic E U+042D U+044D
cv81	Cyrillic shha U+04BB
cv82	Cyrillic breve U+0306
cv83	Capital adscript iota (prosgegrammeni) U+1F88...U+1F8F U+1F98.. U+1F99...U+1F9F U+1FA8...U+1FAF 
                                               U+1FBC U+1FCC U+1FFC
cv84	Serbian and Macedonian Cyrillic alternates U+0431 U+0433 U+0434 U+043F U+0442 U+0453
cv90	Chinantec tones U+02CB U+02C8 U+02C9 U+02CA
cv91	Tone numbers U+02E5 U+02E6 U+02E7 U+02E8 U+02E9 U+A712 U+A713 U+A714 U+A715 U+A716
cv92	Hide tone contour staves U+02E5...U+02E9 U+A712...U+A716
cv98	Empty set U+2205
\end{verbatim}


Don't worry about the tofu in the following listings. Monospace font don't have all
glyphs. The output is okay!


\begin{externalDocument}[
  frame,compiler=lualatex,
  crop,
  force=true,
  usefancyvrb,
  runs=2,code,docType=latex,
  frame,
%  lstOptions={columns=flexible}
]{Gentium}
\documentclass{article}
\pagestyle{empty}
%StartVisiblePreamble
\usepackage[math=STIXTwo Math]{gentium-otf}
%StopVisiblePreamble
\usepackage{parskip}
\begin{document}
13: Æ $\rightarrow$\Lcv13{Æ}; 14: Î²áµáµ¦ $\rightarrow$\Lcv82{Î²áµáµ¦}; 17: ÆŠ $\rightarrow$\Lcv17{ÆŠ}; 
19: Ê“ $\rightarrow$\Lcv19{Ê“}; 20: Æ· $\rightarrow$\Lcv20{Æ·}; \par
25: É¤ $\rightarrow$\Lcv25{É¤};  [2]25: É¤ $\rightarrow$\Lcv[2]25{É¤};
28: Ä¦ $\rightarrow$\Lcv28{Ä¦}; 37: Ê„ $\rightarrow$\Lcv37{Ê„}; \par
43: ÅŠ $\rightarrow$\Lcv43{ÅŠ}; [2]43: ÅŠ $\rightarrow$\Lcv[2]43{ÅŠ}; [3]43 ÅŠ $\rightarrow$\Lcv[3]43{ÅŠ};  \par
44: Æ $\rightarrow$\Lcv44{Æ}; 46: Æ†É”á´áµ“á¶— $\rightarrow$\Lcv46{Æ†É”á´áµ“á¶—}; 47:  È¢È£á´•á´½ $\rightarrow$\Lcv47{È¢È£á´•á´½}; 
49: Æ¥ $\rightarrow$\Lcv49{Æ¥}; 55: â±¤ $\rightarrow$\Lcv55{â±¤}; 57: Æ¬ $\rightarrow$\Lcv57{Æ¬};\par
62: Æ²Ê‹á¶¹ $\rightarrow$\Lcv62{Æ²Ê‹á¶¹}; [2]62: Æ²Ê‹á¶¹ $\rightarrow$\Lcv[2]62{Æ²Ê‹á¶¹};\par
69: Ç€ÇÇ‚â¦€ $\rightarrow$\Lcv69{Ç€ÇÇ‚â¦€}; 70: Ê¼êž‹êžŒ $\rightarrow$\Lcv70{Ê¼êž‹êžŒ}; 71: êž‰ $\rightarrow$\Lcv71{êž‰}; \par
75: áº¤áº¥áº¦áº§áº¨áº©áºªáº«áº®áº¯áº°áº±áº²áº³áº´áºµáº¾áº¿á»€á»á»‚á»ƒá»„á»…á»á»‘á»’á»“á»”á»•á»–á»— $\rightarrow$\Lcv75{áº¤áº¥áº¦áº§áº¨áº©áºªáº«áº®áº¯áº°áº±áº²áº³áº´áºµáº¾áº¿á»€á»á»‚á»ƒá»„á»…á»á»‘á»’á»“á»”á»•á»–á»—}; \par
76: Ä„Ä…Ä˜Ä™Ä®Ä¯Å²Å³ÇªÇ«Ç¬Ç­ $\rightarrow$\Lcv76{Ä„Ä… Ä˜Ä™ Ä®Ä¯ Å²Å³ ÇªÇ« Ç¬Ç­}; 77: ÄÄ½Ä¾Å¥ $\rightarrow$\Lcv77{ÄÄ½Ä¾Å¥}; \par
78: á¼†á¼‡á¾†á¾‡á¾¶á¾·á¼¦á¼§á¾–á¾—á¿†á¿‡á¼¶á¼·á¿–á¿—á½–á½—á¿¦á¿§á½¦á½§á¾¦á¾§á¿¶á¿·á¼Žá¼á¾Žá¾á¼®á¼¯á¾žá¾Ÿá¼¾á¼¿á½Ÿá½®á½¯á¾®á¾¯ $\rightarrow$\Lcv78{á¼†á¼‡á¾†á¾‡á¾¶á¾·á¼¦á¼§á¾–á¾—á¿†á¿‡á¼¶á¼·á¿–á¿—á½–á½—á¿¦á¿§á½¦á½§á¾¦á¾§á¿¶á¿·á¼Žá¼á¾Žá¾á¼®á¼¯á¾žá¾Ÿá¼¾á¼¿á½Ÿá½®á½¯á¾®á¾¯};
79: \makebox[0pt]{Ã²}Ì $\rightarrow$\Lcv79{Ã²Ì}; \par% U+0300 U+0301
80: Ð­Ñ $\rightarrow$\Lcv80{Ð­Ñ}; 81: Ò» $\rightarrow$\Lcv81{Ò»}; 82: Ó˜Ó™ $\rightarrow$\Lcv82{Ó˜Ì†Ó™Ì†}; \par
83: á¾¼á¾ˆá¾‰á¾Šá¾‹á¾Œá¾á¾Žá¾á¿Œá¾˜á¾™á¾šá¾›á¾œá¾á¾žá¾Ÿá¿¼á¾¨á¾©á¾ªá¾«á¾¬á¾­á¾®á¾¯ $\rightarrow$\Lcv83{á¾¼á¾ˆá¾‰á¾Šá¾‹á¾Œá¾á¾Žá¾á¿Œá¾˜á¾™á¾šá¾›á¾œá¾á¾žá¾Ÿá¿¼á¾¨á¾©á¾ªá¾«á¾¬á¾­á¾®á¾¯}; \par
84: Ð±Ð³Ð´Ð¿Ñ‚Ñ“ $\rightarrow$\Lcv84{Ð±Ð³Ð´Ð¿Ñ‚Ñ“}; 84 (itshape): {\itshape Ð±Ð³Ð´Ð¿Ñ‚Ñ“ $\rightarrow$\Lcv84{Ð±Ð³Ð´Ð¿Ñ‚Ñ“}}; \par
90: Ë‹ËˆË‰ËŠ $\rightarrow$\Lcv90{Ë‹ËˆË‰ËŠ}; 91: Ë¥ Ë¦ Ë§ Ë¨ Ë© êœ’ êœ“ êœ” êœ• êœ– $\rightarrow$\Lcv91{Ë¥ Ë¦ Ë§ Ë¨ Ë© êœ’ êœ“ êœ” êœ• êœ–}; \par
92: Ë¥ Ë¦ Ë§ Ë¨ Ë© êœ’ êœ“ êœ” êœ• êœ– (Ë©Ë¦Ë¥Ë§Ë¨ êœ–êœ“êœ’êœ”êœ•) $\rightarrow$\Lcv92{Ë¥ Ë¦ Ë§ Ë¨ Ë© êœ’ êœ“ êœ” êœ• êœ– (Ë©Ë¦Ë¥Ë§Ë¨ êœ–êœ“êœ’êœ”êœ•)}; \par
98: âˆ… $\rightarrow$\Lcv98{âˆ…}; 
\end{document}
\end{externalDocument}






Instead of character variation 84 one can also set the script and the language:

\begin{externalDocument}[
  frame,compiler=lualatex,
  crop,
  usefancyvrb,
  force=true,
  runs=2,code,docType=latex,
  frame,
]{Gentium}
\documentclass{article}
\pagestyle{empty}
%StartVisiblePreamble
\usepackage{gentium-otf}
%StopVisiblePreamble
\begin{document}
(upshape): 
{Ð±Ð³Ð´Ð¿Ñ‚Ñ“ \addfontfeature{Script=Cyrillic,Language=Serbian}$\rightarrow$ Ð±Ð³Ð´Ð¿Ñ‚Ñ“}

(itshape): \itshape 
Ð±Ð³Ð´Ð¿Ñ‚Ñ“ \addfontfeature{Script=Cyrillic,Language=Serbian}$\rightarrow$ Ð±Ð³Ð´Ð¿Ñ‚Ñ“
\end{document}
\end{externalDocument}





\subsection{Numerical alternates}
Only valid for the digits and not for letters!

\begin{LTXexample}
01234\Lsub{a567a}89 01234\Lsup{a567a}89

01234\LSUP+a56789 \LSUP-a01234

01234\LSUB+a56789 \LSUB-a01234
\end{LTXexample}

\newpage

\section{Examples}

\begin{externalDocument}[
  frame,compiler=lualatex,
  crop,
  usefancyvrb,
  force=true,
  runs=2,code,docType=latex,
  frame,
]{Gentium}
\documentclass{article}
\pagestyle{empty}
%StartVisiblePreamble
\usepackage[greek]{babel}
\usepackage{gentium-otf}
\usepackage{blindtext}
%StopVisiblePreamble
\begin{document}
Î‘Ï€ÏŒ Ï„Î¹Ï‚ 140 Ï‡ÏŽÏÎµÏ‚ Ï€Î¿Ï… Ï…Ï€Î¬ÏÏ‡Î¿Ï…Î½ ÏƒÏ„Î¿ ÎºÏŒÏƒÎ¼Î¿, Î¼ÏŒÎ½Î¿Î½ 19 Î­Ï‡Î¿Ï…Î½ Ï€ÏÎ±Î³Î¼Î±Ï„Î¹ÎºÎ® Î´Î·Î¼Î¿ÎºÏÎ±Ï„Î¯Î±. 
Î¤Î¿ÏÏ„Î¿ ÏƒÎ·Î¼Î±Î¯Î½ÎµÎ¹ ÏŒÏ„Î¹ Î±Ï…Ï„ÏŒ Ï„Î¿ Î¸Î±Ï…Î¼Î¬ÏƒÎ¹Î¿ ÎºÎ±Î¹ ÎµÏ…Î±Î¯ÏƒÎ¸Î·Ï„Î¿ Ï€Î¿Î»Î¯Ï„ÎµÏ…Î¼Î± ÎµÎ¯Î½Î±Î¹ Î´ÏÏƒÎºÎ¿Î»Î¿ ÏƒÏ„Î·Î½ 
ÎµÏ†Î±ÏÎ¼Î¿Î³Î® Ï„Î¿Ï…. ÎšÎ±Î¹ Ï€ÏÎ¿Ï‹Ï€Î¿Î¸Î­Ï„ÎµÎ¹ ÎµÎ¹Î´Î¹ÎºÎ­Ï‚ ÏƒÏ…Î½Î¸Î®ÎºÎµÏ‚, Ï‡Ï‰ÏÎ¯Ï‚ Ï„Î¹Ï‚ Î¿Ï€Î¿Î¯ÎµÏ‚ Î´ÎµÎ½ Î·Î¼Ï€Î¿ÏÎµÎ¯ Î½Î± 
Î±Î½Î¸Î¯ÏƒÎµÎ¹ ÎºÎ±Î¹ Î½Î± ÎºÎ±ÏÏ€Î¿Ï†Î¿ÏÎ®ÏƒÎµÎ¹.

Î”Î·Î¼Î¿ÎºÏÎ±Ï„Î¯Î± Î¸Î± Î®Î¸ÎµÎ»Î±Î½ Î½Î± Î­Ï‡Î¿Ï…Î½ ÏŒÎ»Î¿Î¹ Î¿Î¹ Î»Î±Î¿Î¯. Î‘Î»Î»Î¬ Î´ÎµÎ½ Ï„Î·Î½ Î­Ï‡Î¿Ï…Î½ Ï€Î±ÏÎ¬ Î¼ÏŒÎ½Î¿ ÎµÎºÎµÎ¯Î½Î¿Î¹ 
Ï€Î¿Ï…, ÎµÎºÏ„ÏŒÏ‚ Î±Ï€ÏŒ Ï„Î·Î½ ÏƒÏ…Î½ÎµÎ¹Î´Î·Ï„Î¿Ï€Î¿Î¯Î·ÏƒÎ· Ï„Ï‰Î½ Ï€ÏÎ¿Ï„ÎµÏÎ·Î¼Î¬Ï„Ï‰Î½ Ï„Î·Ï‚, ÏƒÎ­Î²Î¿Î½Ï„Î±Î¹ ÎºÎ±Î¹ Ï„Î¿Ï…Ï‚ ÏŒÏÎ¿Ï…Ï‚ 
Ï„Î·Ï‚ Î»ÎµÎ¹Ï„Î¿Ï…ÏÎ³Î¯Î±Ï‚ Ï„Î·Ï‚.
\end{document}
\end{externalDocument}

\begin{externalDocument}[
  frame,compiler=lualatex,
  crop,
  usefancyvrb,
  force=true,
  runs=2,code,docType=latex,
  frame,
]{Gentium}
\documentclass{article}
\pagestyle{empty}
%StartVisiblePreamble
\usepackage[russian]{babel}
\usepackage{gentium-otf}
\usepackage{blindtext}
%StopVisiblePreamble
\begin{document}
Ð˜Ð· 140 ÑÑ‚Ñ€Ð°Ð½ Ð¼Ð¸Ñ€Ð° Ñ‚Ð¾Ð»ÑŒÐºÐ¾ 19 Ð¸Ð¼ÐµÑŽÑ‚ Ñ€ÐµÐ°Ð»ÑŒÐ½ÑƒÑŽ Ð´ÐµÐ¼Ð¾ÐºÑ€Ð°Ñ‚Ð¸ÑŽ. 
Ð­Ñ‚Ð¾ Ð¾Ð·Ð½Ð°Ñ‡Ð°ÐµÑ‚, Ñ‡Ñ‚Ð¾ ÑÑ‚Ð° Ð·Ð°Ð¼ÐµÑ‡Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ð¸ Ñ‡ÑƒÐ²ÑÑ‚Ð²Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ ÑÐ¸ÑÑ‚ÐµÐ¼Ð° Ñ‚Ñ€ÑƒÐ´Ð½Ð¾ Ñ€ÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ñ‚ÑŒ. 
Ð˜ ÑÑ‚Ð¾ Ñ‚Ñ€ÐµÐ±ÑƒÐµÑ‚ Ð¾ÑÐ¾Ð±Ñ‹Ñ… ÑƒÑÐ»Ð¾Ð²Ð¸Ð¹, Ð±ÐµÐ· ÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ñ… Ð¾Ð½ Ð½Ðµ Ð¼Ð¾Ð¶ÐµÑ‚ Ñ†Ð²ÐµÑ‚ÑƒÑ‚ Ð¸ Ð¿Ñ€Ð¸Ð½ÐµÑÑ‚Ð¸ Ñ„Ñ€ÑƒÐºÑ‚Ñ‹.

Ð”ÐµÐ¼Ð¾ÐºÑ€Ð°Ñ‚Ð¸Ñ Ñ…Ð¾Ñ‚ÐµÐ»Ð° Ð±Ñ‹, Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ð²ÑÐµ Ð½Ð°Ñ€Ð¾Ð´Ñ‹ Ð¸Ð¼ÐµÐ»Ð¸. ÐÐ¾ Ñƒ Ð½Ð¸Ñ… ÐµÑÑ‚ÑŒ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ñ‚Ðµ, ÐºÑ‚Ð¾, Ð² Ð´Ð¾Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ðµ 
Ðº Ñ€ÐµÐ°Ð»Ð¸Ð·Ð°Ñ†Ð¸Ð¸ ÐµÐ³Ð¾ Ð´Ð¾ÑÑ‚Ð¸Ð¶ÐµÐ½Ð¸Ð¹, Ñ‚Ð°ÐºÐ¶Ðµ ÑƒÐ²Ð°Ð¶Ð°ÑŽÑ‚ ÑƒÑÐ»Ð¾Ð²Ð¸Ñ ÐµÐ³Ð¾ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹.
\end{document}
\end{externalDocument}


\newpage

\section{The glyph list}

\displayfonttable{GentiumPlus-Regular.ttf}%[Scale=0.95]

\displayfonttable{GentiumPlus-Italic.ttf}%[Scale=0.95]


\printindex
\end{document}


 </pre></body></html>