| 1 |
%% $Id: gentium-otf-doc.tex 1133 2025-07-14 17:48:41Z herbert $ |
| 2 |
\listfiles |
| 3 |
\documentclass[russian,greek,ngerman,twoside=on, |
| 4 |
spanish,polish,english,parskip=half-, |
| 5 |
paper=a4,DIV=14]{scrartcl} |
| 6 |
\usepackage[ |
| 7 |
mono=Julia Mono, |
| 8 |
monoFeatures={Scale=MatchLowercase,FakeStretch=0.88}, |
| 9 |
math=STIXTwo Math, |
| 10 |
mathFeatures={math-style=TeX}]{gentium-otf} |
| 11 |
\setsansfont |
| 12 |
[ Ligatures = TeX , |
| 13 |
Scale = MatchUppercase, |
| 14 |
Extension = .otf, |
| 15 |
Numbers = Lining, |
| 16 |
UprightFont = *-Regular, |
| 17 |
ItalicFont = *-Italic, |
| 18 |
BoldFont = *-Bold, |
| 19 |
BoldItalicFont = *-BoldItalic, |
| 20 |
]{FiraSans} |
| 21 |
|
| 22 |
\usepackage{babel} |
| 23 |
\usepackage{booktabs} |
| 24 |
\usepackage{xltabular} |
| 25 |
|
| 26 |
\usepackage{minted-code} |
| 27 |
|
| 28 |
\usepackage{xcolor,url,blindtext} |
| 29 |
\newcommand\Macro[1]{\texttt{\textbackslash#1}} |
| 30 |
\usepackage{hvextern,unicodefonttable} |
| 31 |
\usepackage[colorlinks]{hyperref} |
| 32 |
\lstset{basicstyle=\ttfamily\small} |
| 33 |
\setkeys{hv}{moveToExampleDir,ExampleDir=Examples,showFilename,verbose,force=true} |
| 34 |
|
| 35 |
\usepackage[imakeidx]{xindex} |
| 36 |
\makeindex[title=Index] |
| 37 |
|
| 38 |
\newenvironment{demoquote} |
| 39 |
{\begingroup |
| 40 |
\setlength{\topsep}{0pt} |
| 41 |
\setlength{\partopsep}{0pt} |
| 42 |
\list{}{\rightmargin\leftmargin}% |
| 43 |
\item\relax} |
| 44 |
{\endlist\endgroup} |
| 45 |
|
| 46 |
\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}} |
| 47 |
\def\Largb#1{\texttt{\{}\textit{#1}\texttt{\}}} |
| 48 |
\def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}} |
| 49 |
\def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}} |
| 50 |
\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Option!#1@\texttt{#1}}} |
| 51 |
\def\SUP{\addfontfeatures{RawFeature={+sups}}} |
| 52 |
|
| 53 |
\usepackage{multicol,luacode} |
| 54 |
\setlength{\columnsep}{0.3cm} |
| 55 |
\setlength{\columnseprule}{0.1pt} |
| 56 |
|
| 57 |
\makeatletter |
| 58 |
\blind@addtext{polish}{% |
| 59 |
\def\blindtext@text{% |
| 60 |
Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty |
| 61 |
opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie |
| 62 |
urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj |
| 63 |
wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano |
| 64 |
ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię |
| 65 |
Taka Albo tace Usta pęk ucha. }} |
| 66 |
\makeatother |
| 67 |
|
| 68 |
|
| 69 |
\title{Gentium and GentiumBook---a complete Greek font \\ with Latin and Cyrillic} |
| 70 |
\author{Herbert Voß\thanks{\protect\url{[email protected]}}} |
| 71 |
|
| 72 |
\raggedbottom |
| 73 |
|
| 74 |
\begin{document} |
| 75 |
|
| 76 |
\maketitle |
| 77 |
|
| 78 |
\tableofcontents |
| 79 |
|
| 80 |
\newpage |
| 81 |
\section{The font files} |
| 82 |
|
| 83 |
The \LaTeX\ package \Lpack{gentium-otf} supports the following TrueType fonts: |
| 84 |
\begin{codeblock}[minted language=bash, title=Font files] |
| 85 |
Gentium-Regular.ttf Gentium-Medium.ttf |
| 86 |
Gentium-Bold.ttf Gentium-SemiBold.ttf |
| 87 |
Gentium-Italic.ttf Gentium-MediumItalic.ttf |
| 88 |
Gentium-BoldItalic.ttf Gentium-SemiBoldItalic.ttf |
| 89 |
|
| 90 |
GentiumBook-Regular.ttf GentiumBook-Medium.ttf |
| 91 |
GentiumBook-Bold.ttf GentiumBook-SemiBold.ttf |
| 92 |
GentiumBook-Italic.ttf GentiumBook-MediumItalic.ttf |
| 93 |
GentiumBook-BoldItalic.ttf GentiumBook-SemiBoldItalic.ttf |
| 94 |
|
| 95 |
Gentium-ExtraBold.ttf |
| 96 |
Gentium-ExtraBoldItalic.ttf |
| 97 |
\end{codeblock} |
| 98 |
|
| 99 |
The fonts are free available (\url{https://software.sil.org/gentium/}) |
| 100 |
and also part of any up-to-date distribution, like \TeX Live, MiK\TeX\, or mac\TeX. |
| 101 |
|
| 102 |
\section{Package options} |
| 103 |
|
| 104 |
Possible optional arguments are: |
| 105 |
|
| 106 |
|
| 107 |
\noindent |
| 108 |
\begin{tabular}{@{} >{\ttfamily}l l@{}} |
| 109 |
book & Use the GentiumBook variant\\ |
| 110 |
medium & The medium variant of the fonts\\ |
| 111 |
ScaleRM & scaling for the serif font, preset to 1\\ |
| 112 |
defaultfeatures & presetting of features only for rmfamily\\ |
| 113 |
sans & Sans serif font\\ |
| 114 |
sansFeatures & Features for the sans serif font\\ |
| 115 |
mono & Mono font\\ |
| 116 |
monoFeatures & Features for the mono font\\ |
| 117 |
math & Math font\\ |
| 118 |
mathFeatures & Features for the math font\\ |
| 119 |
\end{tabular} |
| 120 |
|
| 121 |
The Gentium Font comes only with a roman family. If you do not want to load |
| 122 |
additional font-packages for a sans-serif, mono and math font, you can define |
| 123 |
these fonts with optional arguments. This documentation is typeset with |
| 124 |
|
| 125 |
\begin{codeblock}[title=Possible package options] |
| 126 |
\usepackage[ |
| 127 |
sans=FiraSans-Regular.otf, |
| 128 |
sansFeatures={Scale=MatchUppercase}, |
| 129 |
mono=Julia Mono, |
| 130 |
monoFeatures={Scale=MatchLowercase,FakeStretch=0.88}, |
| 131 |
math=STIXTwo Math, |
| 132 |
mathFeatures={math-style=TeX}]{gentium-otf} |
| 133 |
\end{codeblock} |
| 134 |
|
| 135 |
\newpage |
| 136 |
|
| 137 |
\section{Main font definition} |
| 138 |
|
| 139 |
The main font is defined as: |
| 140 |
|
| 141 |
\begin{codeblock}[title=Main font setting] |
| 142 |
\setmainfont{Gentium}[% or GentiumBook |
| 143 |
Scale = \gentiumRM@scale , |
| 144 |
UprightFont = *-Regular, |
| 145 |
ItalicFont = *-Italic, |
| 146 |
ItalicFeatures = { SmallCapsFont = *-Italic }, |
| 147 |
SlantedFont = *-Regular, |
| 148 |
SlantedFeatures= {FakeSlant=0.2}, |
| 149 |
BoldFont = *-SemiBold, |
| 150 |
BoldFeatures = { SmallCapsFont = *-SemiBold }, |
| 151 |
BoldItalicFont = *-SemiBoldItalic, |
| 152 |
BoldItalicFeatures = { SmallCapsFont = *-SemiBoldItalic }, |
| 153 |
BoldSlantedFont= *-SemiBold, |
| 154 |
BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-SemiBold }, |
| 155 |
SmallCapsFont = *-Regular, |
| 156 |
% SmallCapsFeatures={RawFeature=+smcp}, |
| 157 |
SmallCapsFeatures={Letters=SmallCaps}, |
| 158 |
Extension = .ttf |
| 159 |
] |
| 160 |
\end{codeblock} |
| 161 |
|
| 162 |
The variant Book provides some slightly heavier-weight family. |
| 163 |
|
| 164 |
\noindent |
| 165 |
\begin{xltabular}{\textwidth}{ X X }\hline |
| 166 |
Gentium & GentiumBook\\\hline |
| 167 |
Regular (upright) |
| 168 |
\blindtext & \fontspec{GentiumBook-Regular.ttf} |
| 169 |
Regular (upright) \blindtext\\ |
| 170 |
\itshape Italic shape & \fontspec{GentiumBook-Italic.ttf} Italic shape\\ |
| 171 |
\bfseries Bold series &\fontspec{GentiumBook-Bold.ttf} Bold series\\ |
| 172 |
\itshape\bfseries BoldItalic shape &\fontspec{GentiumBook-BoldItalic.ttf} |
| 173 |
BoldItalic shape\\\hline |
| 174 |
\end{xltabular} |
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
All available features are listed on \url{https://software.sil.org/gentium/features/}. |
| 181 |
|
| 182 |
\newpage |
| 183 |
\section{The default font} |
| 184 |
\enlargethispage{3cm} |
| 185 |
\selectlanguage{polish}% |
| 186 |
\begin{xltabular}{\linewidth}{XX} |
| 187 |
%\bfseries Gentium & \bfseries Gentium-Medium\\\hline |
| 188 |
Regular\newline |
| 189 |
%\fontspec{Gentium-Regular.ttf} |
| 190 |
\blindtext |
| 191 |
& |
| 192 |
Medium\newline |
| 193 |
\fontspec{Gentium-Medium.ttf} |
| 194 |
\blindtext |
| 195 |
\\\hline |
| 196 |
|
| 197 |
\strut SemiBold\newline |
| 198 |
\fontspec{Gentium-SemiBold.ttf} |
| 199 |
\blindtext |
| 200 |
& |
| 201 |
\strut Bold\newline |
| 202 |
\setmainfont{Gentium-Bold.ttf} |
| 203 |
\blindtext |
| 204 |
\\\hline |
| 205 |
|
| 206 |
Italic\newline |
| 207 |
\fontspec{Gentium-Italic.ttf} |
| 208 |
\blindtext |
| 209 |
& |
| 210 |
MediumItalic\newline |
| 211 |
\fontspec{Gentium-MediumItalic.ttf} |
| 212 |
\blindtext |
| 213 |
\\\hline |
| 214 |
|
| 215 |
SemiBoldItalic\newline |
| 216 |
\fontspec{Gentium-SemiBoldItalic.ttf} |
| 217 |
\blindtext |
| 218 |
& |
| 219 |
BoldItalic\newline |
| 220 |
\fontspec{Gentium-BoldItalic.ttf} |
| 221 |
\blindtext |
| 222 |
\end{xltabular} |
| 223 |
|
| 224 |
|
| 225 |
%\newpage |
| 226 |
\subsection{Small Caps} |
| 227 |
%\enlargethispage{3cm} |
| 228 |
\begin{tabularx}{\linewidth}{XX} |
| 229 |
%Default -- \verb|\scshape| \bfseries Gentium & Medium -- \verb|\scshape|\\\hline |
| 230 |
Regular\newline |
| 231 |
\fontspec{Gentium-Regular.ttf} |
| 232 |
\scshape\blindtext |
| 233 |
& |
| 234 |
Medium\newline |
| 235 |
\fontspec{Gentium-Medium.ttf} |
| 236 |
\scshape\blindtext |
| 237 |
\\\hline |
| 238 |
|
| 239 |
\strut SemiBold\newline |
| 240 |
\fontspec{Gentium-SemiBold.ttf} |
| 241 |
\scshape\blindtext |
| 242 |
& |
| 243 |
Bold\newline |
| 244 |
\fontspec{Gentium-Bold.ttf} |
| 245 |
\scshape\blindtext |
| 246 |
\\\hline |
| 247 |
|
| 248 |
Italic\newline |
| 249 |
\fontspec{Gentium-Italic.ttf} |
| 250 |
\scshape\blindtext |
| 251 |
& |
| 252 |
MediumItalic\newline |
| 253 |
\fontspec{Gentium-MediumItalic.ttf} |
| 254 |
\scshape\blindtext |
| 255 |
\\\hline |
| 256 |
|
| 257 |
SemiBoldItalic\newline |
| 258 |
\fontspec{Gentium-SemiBoldItalic.ttf} |
| 259 |
\scshape\blindtext |
| 260 |
& |
| 261 |
BoldItalic\newline |
| 262 |
\fontspec{Gentium-BoldItalic.ttf} |
| 263 |
\scshape\blindtext |
| 264 |
\end{tabularx} |
| 265 |
|
| 266 |
|
| 267 |
\newpage |
| 268 |
|
| 269 |
\subsection{Slanted -- done by FakeSlant} |
| 270 |
|
| 271 |
\begin{xltabular}{\linewidth}{XX} |
| 272 |
%\bfseries Gentium & \bfseries Gentium-Medium\\\hline |
| 273 |
Slanted\newline |
| 274 |
%\fontspec{Gentium-Regular.ttf} |
| 275 |
\slshape\blindtext |
| 276 |
& |
| 277 |
MediumSlanted\newline |
| 278 |
\fontspec{Gentium-Medium.ttf}[AutoFakeSlant] |
| 279 |
\slshape\blindtext |
| 280 |
\\\hline |
| 281 |
|
| 282 |
SemiBoldSlanted\newline |
| 283 |
\fontspec{Gentium-SemiBold.ttf}[AutoFakeSlant] |
| 284 |
\slshape\blindtext |
| 285 |
& |
| 286 |
BoldSlanted\newline |
| 287 |
\fontspec{Gentium-Bold.ttf}[AutoFakeSlant] |
| 288 |
\slshape\blindtext |
| 289 |
\end{xltabular} |
| 290 |
|
| 291 |
|
| 292 |
\selectlanguage{english}% |
| 293 |
|
| 294 |
%\newpage |
| 295 |
|
| 296 |
\section{The font features} |
| 297 |
|
| 298 |
|
| 299 |
\begin{codeblock}[minted language=bash, title=List of all features] |
| 300 |
bash-3.2$ otfinfo --features Gentium-Regular.otf |
| 301 |
aalt Access All Alternates |
| 302 |
c2sc Small Capitals From Capitals |
| 303 |
ccmp Glyph Composition/Decomposition |
| 304 |
cv13 <unknown feature> |
| 305 |
cv14 <unknown feature> |
| 306 |
[...] |
| 307 |
cv92 <unknown feature> |
| 308 |
cv98 <unknown feature> |
| 309 |
frac Fractions |
| 310 |
kern Kerning |
| 311 |
liga Standard Ligatures |
| 312 |
mark Mark Positioning |
| 313 |
mkmk Mark to Mark Positioning |
| 314 |
smcp Small Capitals |
| 315 |
ss01 Stylistic Set 1 |
| 316 |
ss04 Stylistic Set 4 |
| 317 |
ss05 Stylistic Set 5 |
| 318 |
ss07 Stylistic Set 7 |
| 319 |
ss11 Stylistic Set 11 |
| 320 |
ss12 Stylistic Set 12 |
| 321 |
subs Subscript |
| 322 |
sups Superscript |
| 323 |
\end{codeblock} |
| 324 |
|
| 325 |
%$ |
| 326 |
|
| 327 |
|
| 328 |
\subsection{Capitals to Small Caps} |
| 329 |
|
| 330 |
The macro \Lcs{Lctosc}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSC+} and \Lcs{LCtoSC-} for |
| 331 |
a global change of capitals to small caps. |
| 332 |
|
| 333 |
%\begin{exampleA}[righthand width=0.5\linewidth,listing outside text]{Capitals toSC} |
| 334 |
\begin{exampleA}[righthand width=0.6\linewidth]{Capitals toSC} |
| 335 |
Gentium Font ŐŰÉÁÄ |
| 336 |
\Lctosc{Gentium Font ŐŰÉÁÄ}\\ |
| 337 |
\LCtoSC+ Gentium Font ŐŰÉÁÄ |
| 338 |
\end{exampleA} |
| 339 |
|
| 340 |
\subsection{Capitals to Small Caps and small captitals} |
| 341 |
|
| 342 |
The macro \Lcs{Lctosmcp}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSMCP+} and \Lcs{LCtoSMCP-} for |
| 343 |
a global change of capitals to small caps. |
| 344 |
|
| 345 |
\begin{exampleA}[righthand width=0.6\linewidth]{Capitals toSC and SC} |
| 346 |
Gentium Font ŐŰÉÁÄ |
| 347 |
\Lctosmcp{Gentium Font ŐŰÉÁÄ}\\ |
| 348 |
\LCtoSMCP+ Gentium Font ŐŰÉÁÄ |
| 349 |
\end{exampleA} |
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
\subsection{Ligatures} |
| 355 |
|
| 356 |
The macros \Lcs{Lliga}\Largb{arg} (standard ligatures), \Lcs{Lhlig}\Largb{arg} (historical ligatures), |
| 357 |
\Lcs{Ldlig}\Largb{arg} (discretionary ligatures) |
| 358 |
are for a local change of \emph{arg} and \Lcs{LLIGA+}/\Lcs{LLIGA-}, \Lcs{LHLIG+}/\Lcs{LHLIG-}, and \Lcs{LDLIG+}/\Lcs{LDIG-} for |
| 359 |
a global change of capitals to small caps relative to the current group. |
| 360 |
|
| 361 |
\begin{exampleA}[righthand width=0.6\linewidth]{Ligatures} |
| 362 |
No ligatures for the upright font! |
| 363 |
Schifffahrt ff, fi, ffi, fl |
| 364 |
|
| 365 |
\itshape but for the italic font! |
| 366 |
Schifffahrt ff, fi, ffi, fl |
| 367 |
{\LLIGA- ff, fi, ffi, fl, Schifffahrt} |
| 368 |
\end{exampleA} |
| 369 |
|
| 370 |
\subsection{Fractions} |
| 371 |
|
| 372 |
There are two macros: \Lcs{Lfrac}\Largb{arg} for a local fraction setting and \Lcs{LFRAC+} and \Lcs{LFRAC-} for a global |
| 373 |
setting relative to the current group. |
| 374 |
|
| 375 |
|
| 376 |
\begin{exampleC}[]{Fractions} |
| 377 |
default: 1/2 1/3 1/4 1/5 \ldots |
| 378 |
|
| 379 |
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} |
| 380 |
|
| 381 |
\LFRAC+ |
| 382 |
1/2 456/789 1/2 456/789 |
| 383 |
1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 |
| 384 |
|
| 385 |
\LFRAC- |
| 386 |
1/2 1/3 1/4 1/5 1/6 \ldots |
| 387 |
\end{exampleC} |
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
\subsection{Stylistic Sets} |
| 392 |
|
| 393 |
\begin{verbatim} |
| 394 |
ss01 Single-story a and g |
| 395 |
ss04 Barred-bowl forms |
| 396 |
ss05 Slant italic specials |
| 397 |
ss07 Low-profile diacritics |
| 398 |
ss11 Single-story a (only) |
| 399 |
ss12 Single-story g (only) |
| 400 |
\end{verbatim} |
| 401 |
|
| 402 |
|
| 403 |
|
| 404 |
There is a short command \Lcs{Lssxx}\Largb{text} for the six stylistic sets, |
| 405 |
where xx is the number of the set (two digits) |
| 406 |
and \textit{text} the local argument: |
| 407 |
|
| 408 |
\begin{exampleM}[]{Stylistic Sets} |
| 409 |
default: aªàáâãäåāăąǎǟǡǻȁȃȧḁẚạảấầẩẫậắằẳẵặⱥₐᵃ◌ͣgĝğġģǧǵǥḡꞡᵍ\par |
| 410 |
ss01: \Lss01{aªàáâãäåāăąǎǟǡǻȁȃȧḁẚạảấầẩẫậắằẳẵặⱥₐᵃ◌ͣgĝğġģǧǵǥḡꞡᵍ}\par |
| 411 |
ss11: \Lss11{aªàáâãäåāăąǎǟǡǻȁȃȧḁẚạảấầẩẫậắằẳẵặⱥₐᵃ◌ͣ}\par |
| 412 |
ss12: \Lss12{ĝğġģǧǵǥḡꞡᵍ}\par |
| 413 |
ss04: đƀǥ \Lss04{đƀǥ}\par |
| 414 |
default: aãàáâäåāăǎǟǡǻȁȃȧḁẚảấầẩẫậắằẳẵạặⱥɐæfḟiìíîïĩīĭįǐȉȋḭḯỉịılĺḷḹḻḽꝉₗvṽṿꝟzźżžẑẓẕғӻfiffi\par |
| 415 |
ss05: \Lss05{aãàáâäåāăǎǟǡǻȁȃȧḁẚảấầẩẫậắằẳẵạặⱥɐæfḟiìíîïĩīĭįǐȉȋḭḯỉịılĺḷḹḻḽꝉₗvṽṿꝟzźżžẑẓẕғӻfiffi}\par |
| 416 |
ss07: áàâǎāãäȧ \Lss05{áàâǎāãäȧ} also for e,o,\ldots |
| 417 |
\end{exampleM} |
| 418 |
|
| 419 |
|
| 420 |
For a global change of the stylistic set one can use the command \Lcs{LSSxx}, where xx |
| 421 |
is again the number of the set. |
| 422 |
|
| 423 |
\begin{exampleA}[righthand width=0.6\linewidth]{Global font changes} |
| 424 |
đƀǥ $\rightarrow$ \LSS04 đƀǥ |
| 425 |
\end{exampleA} |
| 426 |
|
| 427 |
\subsection{Character variants} |
| 428 |
There is a short command \Lcs{Lcvxx}\Largb{text} for the characters, where xx is the number of |
| 429 |
the alternative (two digits) |
| 430 |
and \textit{text} the local argument. The macro has an optional argument for passing other values |
| 431 |
than 1 to the option (see 43 and 62). Possible variants are: |
| 432 |
|
| 433 |
\begin{verbatim} |
| 434 |
cv13 B hook U+0181 |
| 435 |
cv14 beta U+03B2 U+1D66 U+1D5D |
| 436 |
cv17 D hook U+018A |
| 437 |
cv19 ezh curl U+0293 |
| 438 |
cv20 Ezh U+01B7 U+04E0 |
| 439 |
cv25 rams horn U+0264 |
| 440 |
cv28 H stroke U+0126 |
| 441 |
cv37 J stroke hook U+0284 |
| 442 |
cv43 Eng U+014A |
| 443 |
cv44 N left hook U+019D |
| 444 |
cv46 Open-O U+0186 U+0254 U+1D10 U+1D53 U+1D97 |
| 445 |
cv47 OU U+0222 U+0223 U+1D3D U+1D15 |
| 446 |
cv49 p hook U+01A5 |
| 447 |
cv55 R tail U+2C64 |
| 448 |
cv57 T hook U+01AC |
| 449 |
cv62 V hook U+01B2 U+028B U+1DB9 |
| 450 |
cv68 Y hook U+01B3 |
| 451 |
cv69 Clicks U+01C0 U+01C1 U+01C2 U+2980 |
| 452 |
cv70 Modifier apostrophe U+02BC U+A78B U+A78C |
| 453 |
cv71 Modifier colon U+A789 |
| 454 |
cv75 Vietnamese-style diacritics U+1EA4...U+1EAB U+1EAE...U+1EB5 U+1EBE U+1EBF U+1EC0...U+1EC5 |
| 455 |
U+1ED0...U+1ED7 |
| 456 |
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 |
| 457 |
cv77 Caron U+010F U+013D U+013E U+0165 |
| 458 |
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 |
| 459 |
U+1F3E U+1F3F U+1F56 U+1F57 U+1F5F U+1F66 U+1F67 U+1F6E U+1F6F U+1F86 U+1F87 |
| 460 |
U+1F8E U+1F8F U+1F96 U+1F97 U+1F9E U+1F9F U+1FA6 U+1FA7 U+1FAE U+1FAF U+1FB6 |
| 461 |
U+1FB7 U+1FC0 U+1FC1 U+1FC6 U+1FC7 U+1FCF U+1FD6 U+1FD7 U+1FDF U+1FE6 U+1FE7 |
| 462 |
U+1FF6 U+1FF7 |
| 463 |
cv79 Kayan diacritics U+0300 U+0301 |
| 464 |
cv80 Cyrillic E U+042D U+044D |
| 465 |
cv81 Cyrillic shha U+04BB |
| 466 |
cv82 Cyrillic breve U+0306 |
| 467 |
cv83 Capital adscript iota (prosgegrammeni) U+1F88...U+1F8F U+1F98.. U+1F99...U+1F9F U+1FA8...U+1FAF |
| 468 |
U+1FBC U+1FCC U+1FFC |
| 469 |
cv84 Serbian and Macedonian Cyrillic alternates U+0431 U+0433 U+0434 U+043F U+0442 U+0453 |
| 470 |
cv90 Chinantec tones U+02CB U+02C8 U+02C9 U+02CA |
| 471 |
cv91 Tone numbers U+02E5 U+02E6 U+02E7 U+02E8 U+02E9 U+A712 U+A713 U+A714 U+A715 U+A716 |
| 472 |
cv92 Hide tone contour staves U+02E5...U+02E9 U+A712...U+A716 |
| 473 |
cv98 Empty set U+2205 |
| 474 |
\end{verbatim} |
| 475 |
|
| 476 |
|
| 477 |
Don't worry about the tofu in the following listings. Monospace font don't have all |
| 478 |
glyphs. The output is okay! |
| 479 |
|
| 480 |
|
| 481 |
\begingroup |
| 482 |
\setmathfont{STIXTwo Math} |
| 483 |
\begin{exampleM}[]{Available character variations} |
| 484 |
%\usepackage[math=STIXTwo Math]{gentium-otf} |
| 485 |
|
| 486 |
13: Ɓ $\rightarrow$\Lcv13{Ɓ}; 14: βᵝᵦ $\rightarrow$\Lcv82{βᵝᵦ}; 17: Ɗ $\rightarrow$\Lcv17{Ɗ}; |
| 487 |
19: ʓ $\rightarrow$\Lcv19{ʓ}; 20: Ʒ $\rightarrow$\Lcv20{Ʒ}; \par |
| 488 |
25: ɤ $\rightarrow$\Lcv25{ɤ}; [2]25: ɤ $\rightarrow$\Lcv[2]25{ɤ}; |
| 489 |
28: Ħ $\rightarrow$\Lcv28{Ħ}; 37: ʄ $\rightarrow$\Lcv37{ʄ}; \par |
| 490 |
43: Ŋ $\rightarrow$\Lcv43{Ŋ}; [2]43: Ŋ $\rightarrow$\Lcv[2]43{Ŋ}; [3]43 Ŋ $\rightarrow$\Lcv[3]43{Ŋ}; \par |
| 491 |
44: Ɲ $\rightarrow$\Lcv44{Ɲ}; 46: Ɔɔᴐᵓᶗ $\rightarrow$\Lcv46{Ɔɔᴐᵓᶗ}; 47: Ȣȣᴕᴽ $\rightarrow$\Lcv47{Ȣȣᴕᴽ}; |
| 492 |
49: ƥ $\rightarrow$\Lcv49{ƥ}; 55: Ɽ $\rightarrow$\Lcv55{Ɽ}; 57: Ƭ $\rightarrow$\Lcv57{Ƭ};\par |
| 493 |
62: Ʋʋᶹ $\rightarrow$\Lcv62{Ʋʋᶹ}; [2]62: Ʋʋᶹ $\rightarrow$\Lcv[2]62{Ʋʋᶹ};\par |
| 494 |
69: ǀǁǂ⦀ $\rightarrow$\Lcv69{ǀǁǂ⦀}; 70: ʼꞋꞌ $\rightarrow$\Lcv70{ʼꞋꞌ}; 71: ꞉ $\rightarrow$\Lcv71{꞉}; \par |
| 495 |
75: ẤấẦầẨẩẪẫẮắẰằẲẳẴẵẾếỀềỂểỄễỐốỒồỔổỖỗ $\rightarrow$\Lcv75{ẤấẦầẨẩẪẫẮắẰằẲẳẴẵẾếỀềỂểỄễỐốỒồỔổỖỗ}; \par |
| 496 |
76: ĄąĘęĮįŲųǪǫǬǭ $\rightarrow$\Lcv76{Ąą Ęę Įį Ųų Ǫǫ Ǭǭ}; 77: ^ť $\rightarrow$\Lcv77{^ť}; \par |
| 497 |
78: ἆἇᾆᾇᾶᾷἦἧᾖᾗῆῇἶἷῖῗὖὗῦῧὦὧᾦᾧῶῷἎἏᾎᾏἮἯᾞᾟἾἿὟὮὯᾮᾯ \\ |
| 498 |
\hspace*{2cm}$\rightarrow$\Lcv78{ἆἇᾆᾇᾶᾷἦἧᾖᾗῆῇἶἷῖῗὖὗῦῧὦὧᾦᾧῶῷἎἏᾎᾏἮἯᾞᾟἾἿὟὮὯᾮᾯ}; |
| 499 |
79: \makebox[0pt]{ò}́ $\rightarrow$\Lcv79{ò́}; \par% U+0300 U+0301 |
| 500 |
80: Ээ $\rightarrow$\Lcv80{Ээ}; 81: һ $\rightarrow$\Lcv81{һ}; 82: Әә $\rightarrow$\Lcv82{Ә̆ә̆}; \par |
| 501 |
83: ᾼᾈᾉᾊᾋᾌᾍᾎᾏῌᾘᾙᾚᾛᾜᾝᾞᾟῼᾨᾩᾪᾫᾬᾭᾮᾯ \\ |
| 502 |
\hspace*{2cm}$\rightarrow$\Lcv83{ᾼᾈᾉᾊᾋᾌᾍᾎᾏῌᾘᾙᾚᾛᾜᾝᾞᾟῼᾨᾩᾪᾫᾬᾭᾮᾯ}; \par |
| 503 |
84: бгдптѓ $\rightarrow$\Lcv84{бгдптѓ}; 84 (itshape): {\itshape бгдптѓ $\rightarrow$\Lcv84{бгдптѓ}}; \par |
| 504 |
90: ˋˈˉˊ $\rightarrow$\Lcv90{ˋˈˉˊ}; 91: ˥ ˦ ˧ ˨ ˩ ꜒ ꜓ ꜔ ꜕ ꜖ $\rightarrow$\Lcv91{˥ ˦ ˧ ˨ ˩ ꜒ ꜓ ꜔ ꜕ ꜖}; \par |
| 505 |
92: ˥ ˦ ˧ ˨ ˩ ꜒ ꜓ ꜔ ꜕ ꜖ (˩˦˥˧˨ ꜖꜓꜒꜔꜕) $\rightarrow$\Lcv92{˥ ˦ ˧ ˨ ˩ ꜒ ꜓ ꜔ ꜕ ꜖ (˩˦˥˧˨ ꜖꜓꜒꜔꜕)}; \par |
| 506 |
98: ∅ $\rightarrow$\Lcv98{∅}; |
| 507 |
\end{exampleM} |
| 508 |
|
| 509 |
\endgroup |
| 510 |
|
| 511 |
Instead of character variation 84 one can also set the script and the language: |
| 512 |
|
| 513 |
|
| 514 |
\begin{exampleC}[]{Change Script and Language} |
| 515 |
(upshape): |
| 516 |
{бгдптѓ \addfontfeature{Script=Cyrillic,Language=Serbian}$\rightarrow$ бгдптѓ} |
| 517 |
|
| 518 |
(itshape): \itshape |
| 519 |
бгдптѓ \addfontfeature{Script=Cyrillic,Language=Serbian}$\rightarrow$ бгдптѓ |
| 520 |
\end{exampleC} |
| 521 |
|
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
\subsection{Numerical alternates} |
| 526 |
Only valid for the digits and not for letters! |
| 527 |
|
| 528 |
\begin{exampleA}{Numerical alternates} |
| 529 |
01234\Lsub{a567a}89 01234\Lsup{a567a}89 |
| 530 |
|
| 531 |
01234\LSUP+a56789 \LSUP-a01234 |
| 532 |
|
| 533 |
01234\LSUB+a56789 \LSUB-a01234 |
| 534 |
\end{exampleA} |
| 535 |
|
| 536 |
%\newpage |
| 537 |
|
| 538 |
\section{Examples} |
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
\begingroup |
| 543 |
\selectlanguage{greek} |
| 544 |
|
| 545 |
\begin{exampleM}[]{Greek language} |
| 546 |
%%\usepackage[greek]{babel} |
| 547 |
Από τις 140 χώρες που υπάρχουν στο κόσμο, μόνον 19 έχουν πραγματική δημοκρατία. |
| 548 |
Τούτο σημαίνει ότι αυτό το θαυμάσιο και ευαίσθητο πολίτευμα είναι δύσκολο στην |
| 549 |
εφαρμογή του. Και προϋποθέτει ειδικές συνθήκες, χωρίς τις οποίες δεν ημπορεί να |
| 550 |
ανθίσει και να καρποφορήσει. |
| 551 |
|
| 552 |
Δημοκρατία θα ήθελαν να έχουν όλοι οι λαοί. Αλλά δεν την έχουν παρά μόνο εκείνοι |
| 553 |
που, εκτός από την συνειδητοποίηση των προτερημάτων της, σέβονται και τους όρους |
| 554 |
της λειτουργίας της. |
| 555 |
\end{exampleM} |
| 556 |
\endgroup |
| 557 |
|
| 558 |
\begingroup |
| 559 |
\selectlanguage{russian} |
| 560 |
\begin{exampleM}[]{Cyrillic language} |
| 561 |
%%\usepackage[russian]{babel} |
| 562 |
Из 140 стран мира только 19 имеют реальную демократию. |
| 563 |
Это означает, что эта замечательная и чувствительная система трудно реализовать. |
| 564 |
И это требует особых условий, без которых он не может цветут и принести фрукты. |
| 565 |
|
| 566 |
Демократия хотела бы, чтобы все народы имели. Но у них есть только те, кто, в дополнение |
| 567 |
к реализации его достижений, также уважают условия его работы. |
| 568 |
\end{exampleM} |
| 569 |
\endgroup |
| 570 |
|
| 571 |
\newpage |
| 572 |
|
| 573 |
\section{The glyph list} |
| 574 |
\subsection{Regular} |
| 575 |
\displayfonttable{Gentium-Regular.ttf}%[Scale=0.95] |
| 576 |
|
| 577 |
\subsection{Italic} |
| 578 |
\displayfonttable{Gentium-Italic.ttf}%[Scale=0.95] |
| 579 |
|
| 580 |
|
| 581 |
\printindex |
| 582 |
\end{document} |
| 583 |
|
| 584 |
|
| 585 |
|
| 586 |
voss>gentium-sil:$ otfinfo -f Gentium-Regular.ttf |
| 587 |
aalt Access All Alternates |
| 588 |
c2sc Small Capitals From Capitals |
| 589 |
ccmp Glyph Composition/Decomposition |
| 590 |
cv13 <unknown feature> |
| 591 |
cv14 <unknown feature> |
| 592 |
cv17 <unknown feature> |
| 593 |
cv19 <unknown feature> |
| 594 |
cv20 <unknown feature> |
| 595 |
cv25 <unknown feature> |
| 596 |
cv28 <unknown feature> |
| 597 |
cv37 <unknown feature> |
| 598 |
cv43 <unknown feature> |
| 599 |
cv44 <unknown feature> |
| 600 |
cv46 <unknown feature> |
| 601 |
cv47 <unknown feature> |
| 602 |
cv49 <unknown feature> |
| 603 |
cv55 <unknown feature> |
| 604 |
cv57 <unknown feature> |
| 605 |
cv62 <unknown feature> |
| 606 |
cv68 <unknown feature> |
| 607 |
cv69 <unknown feature> |
| 608 |
cv70 <unknown feature> |
| 609 |
cv71 <unknown feature> |
| 610 |
cv75 <unknown feature> |
| 611 |
cv76 <unknown feature> |
| 612 |
cv77 <unknown feature> |
| 613 |
cv78 <unknown feature> |
| 614 |
cv79 <unknown feature> |
| 615 |
cv80 <unknown feature> |
| 616 |
cv81 <unknown feature> |
| 617 |
cv82 <unknown feature> |
| 618 |
cv83 <unknown feature> |
| 619 |
cv84 <unknown feature> |
| 620 |
cv90 <unknown feature> |
| 621 |
cv91 <unknown feature> |
| 622 |
cv92 <unknown feature> |
| 623 |
cv98 <unknown feature> |
| 624 |
frac Fractions |
| 625 |
kern Kerning |
| 626 |
liga Standard Ligatures |
| 627 |
lnum Lining Figures |
| 628 |
mark Mark Positioning |
| 629 |
mkmk Mark to Mark Positioning |
| 630 |
onum Oldstyle Figures |
| 631 |
smcp Small Capitals |
| 632 |
ss01 Stylistic Set 1 |
| 633 |
ss04 Stylistic Set 4 |
| 634 |
ss05 Stylistic Set 5 |
| 635 |
ss07 Stylistic Set 7 |
| 636 |
ss11 Stylistic Set 11 |
| 637 |
ss12 Stylistic Set 12 |
| 638 |
subs Subscript |
| 639 |
sups Superscript |