diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/gentium-tug/gentium-tug/gentium.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/gentium-tug/gentium-tug/gentium.tex | 68 |
1 files changed, 51 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/fonts/gentium-tug/gentium-tug/gentium.tex b/Master/texmf-dist/doc/fonts/gentium-tug/gentium-tug/gentium.tex index 9f37664e205..4dd75d6898c 100644 --- a/Master/texmf-dist/doc/fonts/gentium-tug/gentium-tug/gentium.tex +++ b/Master/texmf-dist/doc/fonts/gentium-tug/gentium-tug/gentium.tex @@ -1,7 +1,7 @@ % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode -% $Id: gentium.tex 146 2022-05-21 22:17:01Z karl $ +% $Id: gentium.tex 157 2022-05-31 22:20:57Z karl $ % This file is part of the Gentium package for TeX. % It is licensed under the Expat License, see doc//README for details. @@ -80,10 +80,11 @@ \newcommand*{\fname}[1]{\textsf{#1}} \begin{abstract}\raggedright\noindent - This document briefly describes the - \TeX/\LaTeX\ support provided by this - package, \pkgname{gentium-tug}, for the Gentium font collection - released by \sil. + This document briefly describes the \TeX/\LaTeX\ support + provided by this package, \pkgname{gentium-tug}, for the Gentium + font collection released by \sil. \pkgname{gentium-tug} includes + Type~1 versions of the fonts, as well as the original TrueType + fonts released by \sil. \end{abstract} \tableofcontents @@ -139,9 +140,7 @@ GentiumPlus is a seriffed design. The fonts support a wide range of Latin, Greek and Cyrillic characters. This package does not use the Berry fontname scheme, but longer names -similar to those of Latin Modern, etc. One disadvantage of this choice -is that you cannot use the additional font selection commands provided -by the package \pkgname{nfssext-cfr}. +similar to those of Latin Modern, etc. \section{Installation} @@ -193,9 +192,8 @@ Alternatively, you can do \verb|\usepackage{gentiumbook}| to load the GentiumBookPlus fonts for your document, instead of GentiumPlus. The most noticeable difference is that the Book fonts are a lighter weight. -The only prerequisite is that the \LaTeX\ packages (\path{gentium.sty}, -\path{gentiumbook.sty}) require \pkgname{xkeyval}, which you almost -certainly already have. +The only prerequisite is that these \LaTeX\ packages require +\pkgname{xkeyval}, which you almost certainly already have. \subsection{Encodings}\label{sec:encs} @@ -238,19 +236,54 @@ To use Gentium fonts in a \LaTeX\ document, add the default serif/roman family to \fname{gentium}. You can also use \verb|\usepackage{gentiumbook}|, which will set the -Gentium Book Plus family. +Gentium Book Plus family as the default. + +The package \verb|gentium| uses not only the family GentiumPlus, but +also the family GentiumBookPlus for additional weights (semi bold and +extra bold). Likewise, the package \verb|gentiumbook| uses not only the +family GentiumBookPlus, but also the family GentiumPlus for additional +weights (semi light and semi bold). That means that both packages enable +access to all eight fonts. The difference is in which fonts are used for +the most common weights, medium and bold, and which weights are added. +You can see what's available in table~\ref{weights}. + +\begin{table}[h] +\centering + \begin{tabular}{llrr} + \toprule + upright font & italic font & \tt gentium & \tt gentiumbook \\ + \midrule + GentiumPlus-Regular & \textit{GentiumPlus-Italic} & \textbf{m} & sl \\ + \usefont{T1}{gentium}{sb}{n} GentiumBookPlus-Regular & \usefont{T1}{gentium}{sb}{it} GentiumBookPlus-Italic & sb & \textbf{m} \\ + \usefont{T1}{gentium}{b}{n} GentiumPlus-Bold & \usefont{T1}{gentium}{b}{it} GentiumPlus-BoldItalic & \textbf{b} & sb \\ + \usefont{T1}{gentium}{eb}{n} GentiumBookPlus-Bold & \usefont{T1}{gentium}{eb}{it} GentiumBookPlus-BoldItalic & eb & \textbf{b} \\ + \bottomrule + \end{tabular} + \caption{Available weights in \texttt{gentium} vs.\ \texttt{gentiumbook}.} + \label{weights} +\end{table} + +You can set the desired weight with the command \verb|\fontseries|, like this: +\begin{verbatim} +\fontseries{sb}\selectfont +\end{verbatim} + +You can also use the command \verb|\usefont|, like this: +\begin{verbatim} +\usefont{T1}{gentium}{sb}{n} +\end{verbatim} If you want to use Gentium together with another font (sans or -typewriter) with a different x-height, you should consider using the -option \verb|scaled|. This scales Gentium font and if you choose the -right scaling factor, you will get the same x-height of both fonts. -Here is an example of this option: +typewriter) that has a different \mbox{x-height}, consider using the +option \verb|scaled|. This scales the Gentium font and if you choose the +right scaling factor, you will get the same x-height of both fonts. Here +is an example of this option: \begin{verbatim} \usepackage[scaled=0.9]{gentium} \end{verbatim} The default definition of the \LaTeX\ logo does not work well with -Gentium. Although \TeX\ does not look too bad by default, since we +Gentium. Although ``\TeX'' does not look too bad by default, since we change \LaTeX, we also change \TeX. This document modifies the logos using the \pkgname{metalogo} package as follows: @@ -262,6 +295,7 @@ using the \pkgname{metalogo} package as follows: \setlogodrop[TeX]{.45ex}% default .5ex \end{verbatim} + \subsection{Changes in the Type~1 fonts vs.\ the TrueType originals} The shapes of all characters in the Type~1 fonts are the same as in the |