diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex-dev/base/fntguide.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex-dev/base/fntguide.tex | 510 |
1 files changed, 458 insertions, 52 deletions
diff --git a/Master/texmf-dist/doc/latex-dev/base/fntguide.tex b/Master/texmf-dist/doc/latex-dev/base/fntguide.tex index a4b872a261d..62d35383042 100644 --- a/Master/texmf-dist/doc/latex-dev/base/fntguide.tex +++ b/Master/texmf-dist/doc/latex-dev/base/fntguide.tex @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 1993-2021 +% Copyright (C) 1993-2022 % % The LaTeX Project and any individual authors listed elsewhere % in this file. @@ -12,7 +12,7 @@ % conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in -% http://www.latex-project.org/lppl.txt +% https://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX % version 2008 or later. % @@ -33,16 +33,21 @@ \documentclass{ltxguide}[1995/11/28] -\usepackage{varioref} + +\setcounter{totalnumber}{8} +\setcounter{topnumber}{8} + +\usepackage[trace]{fewerfloatpages} +\usepackage{booktabs,varioref} \title{\LaTeXe{} font selection} \author{\copyright~Copyright 1995--2021, \LaTeX\ Project Team.\thanks{Thanks to Arash Esbati for documenting the newer NFSS features of 2020}\\ - All rights reserved.} + All rights reserved.} -\date{March 2021} +\date{December 2021} \begin{document} @@ -160,7 +165,7 @@ For more information about \TeX{} and \LaTeX{}, please contact your local \TeX{} Users Group, or the international \TeX{} Users Group. Addresses and other details can be found at: \begin{quote}\small\label{addrs} - \texttt{http://www.tug.org/lugs.html} + \texttt{https://www.tug.org/lugs.html} \end{quote} @@ -288,6 +293,9 @@ naming scheme to allow for sensible default substitutions if necessary, e.g., ``demi-bold'' is normally just another name for ``semi-bold'', so should get |sb| assigned, etc. + +\newpage + \NEWdescription{2020/02/02} The most common values for the font shape are: \begin{center} @@ -343,27 +351,29 @@ box warning, for example: Overfull \hbox (3.80855pt too wide) in paragraph at lines 314--318 []\OT1/cmr/m/n/10 Normally [] and [] will be iden-ti-cal, \end{verbatim} -The author commands for fonts set the five attributes: -\begin{center} - \hspace*{-1em}% - \begin{tabular}{rcl} - \emph{Author command} & \emph{Attribute} +The author commands for fonts set the five attributes as shown in table~\vref{tab:attributes}. +\begin{table}[!tbp] + \centering + \begin{tabular}{@{}r@{\hspace{3pt}}c@{\hspace{1pt}}c@{}} + \toprule + \multicolumn{1}{c}{\emph{Author command}} & \emph{Attribute} & \emph{Value in} |article| \emph{class} \\ + \midrule |\textnormal{..}| or |\normalfont| & family & |cmr| \\ & series & |m| \\ - & shape & |n| \\[1pt] + & shape & |n| \\ \midrule%[2pt] |\textrm{..}| or |\rmfamily| & family & |cmr| \\ |\textsf{..}| or |\sffamily| & family & |cmss| \\ |\texttt{..}| or |\ttfamily| & family & |cmtt| \\ |\textmd{..}| or |\mdseries| & series & |m| \\ - |\textbf{..}| or |\bfseries| & series & |bx| \\[1pt] + |\textbf{..}| or |\bfseries| & series & |bx| \\ \midrule%[2pt] |\textit{..}| or |\itshape| & shape & |it| \\ |\textsl{..}| or |\slshape| & shape & |sl| \\ |\textsc{..}| or |\scshape| & shape & |sc| \\ |\textssc{..}| or |\sscshape| & shape & |ssc| \\ |\textsw{..}| or |\swshape| & shape & |sw| \\ - |\textulc{..}| or |\ulcshape| & shape & |ulc| (virtual) $\to$ |n|, |it|, |sl| or |ssc| \\ - |\textup{..}| or |\upshape| & shape & |up| (virtual) $\to$ |n| or |sc| \\[1pt] + |\textulc{..}| or |\ulcshape| & shape & |ulc| (virtual) $\to$ |n|, |it|, |sl| or |ssc| \\ + |\textup{..}| or |\upshape| & shape & | up| (virtual) $\to$ |n| or |sc |\phantom{, , } \\\midrule%[2pt] |\tiny| & size & |5pt| \\ |\scriptsize| & size & |7pt| \\ |\footnotesize| & size & |8pt| \\ @@ -373,9 +383,11 @@ The author commands for fonts set the five attributes: |\Large| & size & |14.4pt| \\ |\LARGE| & size & |17.28pt| \\ |\huge| & size & |20.74pt| \\ - |\Huge| & size & |24.88pt| + |\Huge| & size & |24.88pt| \\ + \bottomrule \end{tabular} -\end{center} + \caption{Author font commands and their effects (article class)}\label{tab:attributes} +\end{table} The values used by these commands are determined by the document class, using the parameters defined in Section~\ref{Sec:text.param}. @@ -386,16 +398,20 @@ This section does not explain how \LaTeX{} font specifications are turned into \TeX{} font names. This is described in Section~\ref{Sec:install}. + +\newpage + + \subsection{Selection commands} The low-level commands used to select a text font are as follows. \begin{decl} |\fontencoding| \arg{encoding} \\ - |\fontfamily| \arg{family} \\ - |\fontseries| \arg{series} \\ + |\fontfamily| \arg{family} \qquad + |\fontseries| \arg{series} \qquad |\fontshape| \arg{shape} \\ - |\fontsize| \arg{size} \arg{baselineskip} \\ + |\fontsize| \arg{size} \arg{baselineskip} \qquad |\linespread| \arg{factor} \end{decl} @@ -439,14 +455,14 @@ to |\selectfont|. The current values of the font attributes are held in internal macros. \begin{decl} - |\f@encoding| \\ - |\f@family| \\ - |\f@series| \\ - |\f@shape| \\ - |\f@size| \\ + |\f@encoding| \quad + |\f@family| \quad + |\f@series| \quad + |\f@shape| \quad + |\f@size| \quad |\f@baselineskip| \\ - |\tf@size| \\ - |\sf@size| \\ + |\tf@size| \quad + |\sf@size| \quad |\ssf@size| \end{decl} @@ -482,9 +498,9 @@ specifies: \end{verbatim} \begin{decl} - |\encodingdefault| \\ - |\familydefault| \\ - |\seriesdefault| \\ + |\encodingdefault| \qquad + |\familydefault| \qquad + |\seriesdefault| \qquad |\shapedefault| \end{decl} The encoding, family, series and shape of the main body font. By @@ -493,8 +509,8 @@ default family is |\rmdefault|, this means that changing |\rmdefault| will change the main body font of the document. \begin{decl} - |\rmdefault| \\ - |\sfdefault| \\ + |\rmdefault| \qquad + |\sfdefault| \qquad |\ttdefault| \end{decl} The families selected by |\textrm|, |\rmfamily|, |\textsf|, |\sffamily|, @@ -502,7 +518,7 @@ The families selected by |\textrm|, |\rmfamily|, |\textsf|, |\sffamily|, |cmtt|. \begin{decl} - |\bfdefault| \\ + |\bfdefault| \qquad |\mddefault| \end{decl} The series selected by |\textbf|, |\bfseries|, |\textmd| and @@ -516,12 +532,12 @@ the fonts provided by |psnfss|) is to define silent substitutions from and the |ssub| size function, see Section~\ref{sec:sizefunct}. \begin{decl} - |\itdefault| \\ - |\sldefault| \\ - |\scdefault| \\ - |\sscdefault| \\ + |\itdefault| \qquad + |\sldefault| \qquad + |\scdefault| \qquad + |\sscdefault| \qquad |\swdefault| \\ - |\ulcdefault| \\ + |\ulcdefault| \qquad |\updefault| \end{decl} \NEWfeature{2020/02/02} @@ -611,6 +627,8 @@ This declaration is useful for setting up commands like |\rm| to behave as they did in \LaTeX~2.09. We strongly urge you \emph{not} to misuse this declaration to invent new font commands. +\newpage + The following example defines |\it| to produce the italic shape of the main document font if used in text and to switch to the font that would normally be produced by the math alphabet |\mathit| if used in a @@ -714,13 +732,13 @@ selected indirectly through symbol commands like |\oplus|. Section~\ref{Sec:math.commands} explains how to define symbol commands. \begin{decl} - |\mathnormal{<math>}| \\ - |\mathcal{<math>}| \\ - |\mathrm{<math>}| \\ - |\mathbf{<math>}| \\ - |\mathsf{<math>}| \\ + |\mathnormal{<math>}| \quad + |\mathcal{<math>}| \quad + |\mathbf{<math>}| \quad |\mathit{<math>}| \\ - |\mathtt{<math>}| + |\mathrm{<math>}| \qquad + |\mathsf{<math>}| \qquad + |\mathtt{<math>}| \end{decl} Each math alphabet is a command which can only be used inside math mode. For example, |$x + \mathsf{y} + \mathcal{Z}$| produces @@ -799,6 +817,8 @@ Checks that \m{math-alph} has been declared as a math alphabet, \m{version} is a known math version and \m{encoding} is a known encoding scheme. +\newpage + This example defines |\baz| for the `normal' math version only: \begin{verbatim} \SetMathAlphabet{\baz}{normal}{OT1}{cmss}{m}{n} @@ -868,6 +888,8 @@ alphabet with command \m{math-alph} in \emph{all} math versions. Checks that the command \m{math-alph} is either already a math alphabet command or is undefined; and that \m{sym-font} is a symbol font. +\newpage + Example: \begin{verbatim} \DeclareSymbolFontAlphabet{\mathrm}{operators} @@ -928,6 +950,8 @@ Example: \DeclareMathSymbol{\alphld}{\mathalpha}{AMSb}{"0C} \end{verbatim} +\newpage + \begin{decl} |\DeclareMathDelimiter| \arg{cmd} \arg{type} \arg{sym-font-1} \arg{slot-1}\\ @@ -1021,6 +1045,7 @@ Example: This section explains how \LaTeX's font attributes are turned into \TeX{} font specifications. + \subsection{Font definition files} \NEWdescription{1997/12/01} @@ -1043,6 +1068,8 @@ and font substitutions are made. The declarations in the font definition file are responsible for telling \LaTeX{} how to load fonts for that encoding/family combination. + + \subsection{Font definition file commands} \emph{Note}: A font definition file should contain only commands from @@ -1056,7 +1083,11 @@ of a document. |\ProvidesFile{<file-name>}[<release-info>]| \end{decl} The file should announce itself with a |\ProvidesFile| command, as -described in \emph{\clsguide}. For example: +described in \emph{\clsguide}. + +\newpage + +For example: \begin{verbatim} \ProvidesFile{t1ptm.fd}[1994/06/01 Adobe Times font definitions] \end{verbatim} @@ -2017,12 +2048,17 @@ glyphs from the math fonts instead of the current text font (this means they always keep the same shape and do not nicely blend in with the text font). +\newpage + The following tables show the macros available. The next commands are `constructed' accents and are built via \TeX{} macros: \begin{center} \begin{tabular}[t]{@{}ll} \verb*|\capitalcedilla A| & \capitalcedilla A \\ \verb*|\capitalogonek A| & \capitalogonek A \\ + \end{tabular} + \quad + \begin{tabular}[t]{@{}ll} \verb*|\textcircled a| & \textcircled a \end{tabular} \end{center} @@ -2052,12 +2088,21 @@ show the slot number: \end{tabular} \end{center} -Table~\vref{tab:textcomp} contains macros to access text symbols. Again, +Table~\vref{tab:textcomp} +contains the full list of commands to access the text symbols. +% +% Tables~\vrefrange{tab:ts1-subset-always}{tab:ts1-subset-9-disable} +% contain the commands to access the text symbols. +% +Again, the numbers are the slots in the encoding. -\begin{table} -\centering\footnotesize +\iftrue +\begin{table}[!tp] + \centering\footnotesize + \renewcommand\arraystretch{1.07} \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule \verb|\textcapitalcompwordmark| & \textcapitalcompwordmark & 23 \\ \verb|\textascendercompwordmark| & \textascendercompwordmark & 31 \\ \verb|\textquotestraightbase| & \textquotestraightbase & 13 \\ @@ -2112,9 +2157,11 @@ the numbers are the slots in the encoding. \verb|\textbullet| & \textbullet & 136 \\ \verb|\textcelsius| & \textcelsius & 137 \\ \verb|\textdollaroldstyle| & \textdollaroldstyle & 138 \\ - \verb|\textcentoldstyle| & \textcentoldstyle & 139 + \verb|\textcentoldstyle| & \textcentoldstyle & 139 \\ + \bottomrule \end{tabular}\qquad \begin{tabular}[t]{lp{1.5em}l} + \toprule \verb|\textflorin| & \textflorin & 140 \\ \verb|\textcolonmonetary| & \textcolonmonetary & 141 \\ \verb|\textwon| & \textwon & 142 \\ @@ -2168,12 +2215,371 @@ the numbers are the slots in the encoding. \verb|\textthreequarters| & \textthreequarters & 190 \\ \verb|\texteuro| & \texteuro & 191 \\ \verb|\texttimes| & \texttimes & 214 \\ - \verb|\textdiv| & \textdiv & 246 + \verb|\textdiv| & \textdiv & 246 \\ + \null \\ + \bottomrule + \end{tabular} + \caption{Text symbols formerly from the \textsf{textcomp} package} + \label{tab:textcomp} +\end{table} + +\fi + +The |TS1| encoding contains a rich set of symbols which means that +several symbols are only available in a few \TeX{} fonts and some, such +as the capital accents, not available at all but developed as part of +the reference font implementation. In reality, many existing fonts +don't provide a full set of glyphs defined in |TS1| encoding and the +question arises: ``Which glyphs of the |TS1| encoding are implemented by +which font?'' + +\NEWfeature{2021/06/01} +Fonts can be ordered in sub-encodings with the |\DeclareEncodingSubset| +macro: +\begin{decl} + |\DeclareEncodingSubset| \arg{encoding} + \arg{font family} + \arg{subset number} +\end{decl} +The macro takes 3 mandatory arguments: An \m{encoding} for which a +subsetting is wanted (currently only |TS1|), the \m{font family} for +which we declare the subset and finally the \m{subset number} between +|0| (all of the encoding is supported) and |9| (many glyphs are +missing). Hence, it is assumed that some symbols are always available +by all fonts and each sub-encoding defines macros which become +unavailable (i.e., they are not provided in the sub-encoding with that +number and all sub-encodings with higher numbers.) + +\begin{table}[tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textquotestraightbase| & \textquotestraightbase & 13 \\ + \verb|\textquotestraightdblbase| & \textquotestraightdblbase & 18 \\ + \verb|\textcapitalcompwordmark| & \textcapitalcompwordmark & 23 \\ + \verb|\textascendercompwordmark| & \textascendercompwordmark & 31 \\ + \verb|\textdollar| & \textdollar & 36 \\ + \verb|\textquotesingle| & \textquotesingle & 39 \\ + \verb|\textasteriskcentered| & \textasteriskcentered & 42 \\ + \verb|\textdagger| & \textdagger & 132 \\ + \verb|\textdaggerdbl| & \textdaggerdbl & 133 \\ + \verb|\textperthousand| & \textperthousand & 135 \\ + \verb|\textbullet| & \textbullet & 136 \\ + \verb|\texttrademark| & \texttrademark & 151 \\ + \verb|\textcent| & \textcent & 162 \\ + \verb|\textsterling| & \textsterling & 163 \\ + \verb|\textyen| & \textyen & 165 \\ + \verb|\textbrokenbar| & \textbrokenbar & 166 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textsection| & \textsection & 167 \\ + \verb|\textcopyright| & \textcopyright & 169 \\ + \verb|\textordfeminine| & \textordfeminine & 170 \\ + \verb|\textlnot| & \textlnot & 172 \\ + \verb|\textregistered| & \textregistered & 174 \\ + \verb|\textdegree| & \textdegree & 176 \\ + \verb|\textpm| & \textpm & 177 \\ + \verb|\textparagraph| & \textparagraph & 182 \\ + \verb|\textperiodcentered| & \textperiodcentered & 183 \\ + \verb|\textordmasculine| & \textordmasculine & 186 \\ + \verb|\textonequarter| & \textonequarter & 188 \\ + \verb|\textonehalf| & \textonehalf & 189 \\ + \verb|\textthreequarters| & \textthreequarters & 190 \\ + \verb|\texttimes| & \texttimes & 214 \\ + \verb|\textdiv| & \textdiv & 246 \\ + \null \\ + \bottomrule + \end{tabular} + \caption{Symbols available in all \texttt{TS1} sub-encodings} + \label{tab:ts1-subset-always} +\end{table} + + + +\begin{table}[!tbp] + \centering + \begin{tabular}[t]{@{}lll@{}} + \toprule + \verb*|\textcircled| & \textcircled{} & acc \\ + \bottomrule + \end{tabular} + \caption{Symbol unavailable in \texttt{TS1} sub-encoding \texttt{1} + and higher} + \label{tab:ts1-subset-1-disable} +\end{table} + + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\capitalcedilla| & \capitalcedilla{} & acc \\ + \verb|\capitalogonek| & \capitalogonek{} & acc \\ + \verb|\capitalgrave| & \capitalgrave{} & 0 \\ + \verb|\capitalacute| & \capitalacute{} & 1 \\ + \verb|\capitalcircumflex| & \capitalcircumflex{} & 2 \\ + \verb|\capitaltilde| & \capitaltilde{} & 3 \\ + \verb|\capitaldieresis| & \capitaldieresis{} & 4 \\ + \verb|\capitalhungarumlaut| & \capitalhungarumlaut{} & 5 \\ + \verb|\capitalring| & \capitalring{} & 6 \\ + \verb|\capitalcaron| & \capitalcaron{} & 7 \\ + \verb|\capitalbreve| & \capitalbreve{} & 8 \\ + \verb|\capitalmacron| & \capitalmacron{} & 9 \\ + \verb|\capitaldotaccent| & \capitaldotaccent{} & 10 \\ + \verb|\capitaltie| & \capitaltie{} & 27 \\ + \verb|\newtie| & \newtie{} & 28 \\ + \verb|\capitalnewtie{}| & \capitalnewtie{} & 29 \\ + \verb|\textdblhyphen| & \textdblhyphen & 45 \\ + \verb|\textzerooldstyle| & \textzerooldstyle & 48 \\ + \verb|\textoneoldstyle| & \textoneoldstyle & 49 \\ + \verb|\texttwooldstyle| & \texttwooldstyle & 50 \\ + \verb|\textthreeoldstyle| & \textthreeoldstyle & 51 \\ + \verb|\textfouroldstyle| & \textfouroldstyle & 52 \\ + \verb|\textfiveoldstyle| & \textfiveoldstyle & 53 \\ + \verb|\textsixoldstyle| & \textsixoldstyle & 54 \\ + \verb|\textsevenoldstyle| & \textsevenoldstyle & 55 \\ + \verb|\texteightoldstyle| & \texteightoldstyle & 56 \\ + \verb|\textnineoldstyle| & \textnineoldstyle & 57 \\ + \verb|\textmho| & \textmho & 77 \\ + \verb|\textbigcircle| & \textbigcircle & 79 \\ + \verb|\textlbrackdbl| & \textlbrackdbl & 91 \\ + \verb|\textrbrackdbl| & \textrbrackdbl & 93 \\ + \verb|\textasciigrave| & \textasciigrave & 96 \\ + \verb|\textborn| & \textborn & 98 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textdivorced| & \textdivorced & 99 \\ + \verb|\textdied| & \textdied & 100 \\ + \verb|\textleaf| & \textleaf & 108 \\ + \verb|\textmarried| & \textmarried & 109 \\ + \verb|\textmusicalnote| & \textmusicalnote & 110 \\ + \verb|\texttildelow| & \texttildelow & 126 \\ + \verb|\textdblhyphenchar| & \textdblhyphenchar & 127 \\ + \verb|\textasciibreve| & \textasciibreve & 128 \\ + \verb|\textasciicaron| & \textasciicaron & 129 \\ + \verb|\textacutedbl| & \textacutedbl & 130 \\ + \verb|\textgravedbl| & \textgravedbl & 131 \\ + \verb|\textdollaroldstyle| & \textdollaroldstyle & 138 \\ + \verb|\textcentoldstyle| & \textcentoldstyle & 139 \\ + \verb|\textnaira| & \textnaira & 143 \\ + \verb|\textguarani| & \textguarani & 144 \\ + \verb|\textpeso| & \textpeso & 145 \\ + \verb|\textrecipe| & \textrecipe & 147 \\ + \verb|\textpertenthousand| & \textpertenthousand & 152 \\ + \verb|\textpilcrow| & \textpilcrow & 153 \\ + \verb|\textbaht| & \textbaht & 154 \\ + \verb|\textdiscount| & \textdiscount & 156 \\ + \verb|\textopenbullet| & \textopenbullet & 158 \\ + \verb|\textservicemark| & \textservicemark & 159 \\ + \verb|\textlquill| & \textlquill & 160 \\ + \verb|\textrquill| & \textrquill & 161 \\ + \verb|\textasciidieresis| & \textasciidieresis & 168 \\ + \verb|\textcopyleft| & \textcopyleft & 171 \\ + \verb|\textcircledP| & \textcircledP & 173 \\ + \verb|\textasciimacron| & \textasciimacron & 175 \\ + \verb|\textasciiacute| & \textasciiacute & 180 \\ + \verb|\textreferencemark| & \textreferencemark & 184 \\ + \verb|\textsurd| & \textsurd & 187 \\ + \null \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{2} + and higher} + \label{tab:ts1-subset-2-disable} +\end{table} + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|textlangle| & \textlangle & 60 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textrangle| & \textrangle & 62 \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{3} + and higher} + \label{tab:ts1-subset-3-disable} +\end{table} + + +Thus, the symbols that are available in sub-encoding $x$ are the symbols +in table~\ref{tab:ts1-subset-always} (always available) and the symbols +that only become unavailable in sub-encodings $> x$. The tables +\vrefrange{tab:ts1-subset-1-disable}{tab:ts1-subset-9-disable} show the symbols that +become unavailable in the different sub-encodings. Again, the numbers +are the slots in the |TS1| encoding, |acc| indicates a `constructed' +accent. + +\newpage + + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textleftarrow| & \textleftarrow & 24 \\ + \verb|\textrightarrow| & \textrightarrow & 25 \\ + \verb|\textuparrow| & \textuparrow & 94 \\ + \verb|\textdownarrow| & \textdownarrow & 95 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textcolonmonetary| & \textcolonmonetary & 141 \\ + \verb|\textwon| & \textwon & 142 \\ + \verb|\textlira| & \textlira & 146 \\ + \verb|\textdong| & \textdong & 150 \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{4} + and higher} + \label{tab:ts1-subset-4-disable} +\end{table} + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textnumero| & \textnumero & 155 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textestimated| & \textestimated & 157 \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{5} + and higher} + \label{tab:ts1-subset-5-disable} +\end{table} + + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textflorin| & \textflorin & 140 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textcurrency| & \textcurrency & 164 \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{6} + and higher} + \label{tab:ts1-subset-6-disable} +\end{table} + + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textfractionsolidus| & \textfractionsolidus & 47 \\ + \verb|\textminus| & \textminus & 61 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textohm| & \textohm & 87 \\ + \verb|\textmu| & \textmu & 181 \\ + \bottomrule \end{tabular} -\caption{Text symbols formerly from the \textsf{textcomp} package} -\label{tab:textcomp} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{7} + and higher} + \label{tab:ts1-subset-7-disable} \end{table} + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textblank| & \textblank & 32 \\ + \verb|\textinterrobang| & \textinterrobang & 148 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\textinterrobangdown| & \textinterrobangdown & 149 \\ + \null \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{8} + and higher} + \label{tab:ts1-subset-8-disable} +\end{table} + + +\begin{table}[!tbp] + \centering\footnotesize + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\texttwelveudash| & \texttwelveudash & 21 \\ + \verb|\textthreequartersemdash| & \textthreequartersemdash & 22 \\ + \verb|\textbardbl| & \textbardbl & 134 \\ + \verb|\textcelsius| & \textcelsius & 137 \\ + \bottomrule + \end{tabular}\qquad + \begin{tabular}[t]{@{}lp{1.5em}l@{}} + \toprule + \verb|\texttwosuperior| & \texttwosuperior & 178 \\ + \verb|\textthreesuperior| & \textthreesuperior & 179 \\ + \verb|\textonesuperior| & \textonesuperior & 185 \\ + \null \\ + \bottomrule + \end{tabular} + \caption{Symbols unavailable in \texttt{TS1} sub-encoding \texttt{9}} + \label{tab:ts1-subset-9-disable} +\end{table} + + + +As an example, +%\begin{verbatim} + \verb=\DeclareEncodingSubset{TS1}{foo}{5}= +%\end{verbatim} +indicates that the font family |foo| contains the always available +symbols (table~\vref{tab:ts1-subset-always}) and the ones disabled +in sub-encodings 6--9, i.e., +tables~\vrefrange{tab:ts1-subset-6-disable}{tab:ts1-subset-9-disable}. + +As these days many font families are set up to end in |-LF| (lining +figures), |-OsF| (oldstyle figures), etc. the declaration supports a +shortcut: if the \m{font family} name ends in |-*| then the star gets +replaced by these common ending, e.g., +\begin{verbatim} + \DeclareEncodingSubset{TS1}{Alegreya-*}{2} +\end{verbatim} +is the same as writing +\begin{verbatim} + \DeclareEncodingSubset{TS1}{Alegreya-LF} {2} + \DeclareEncodingSubset{TS1}{Alegreya-OsF} {2} + \DeclareEncodingSubset{TS1}{Alegreya-TLF} {2} + \DeclareEncodingSubset{TS1}{Alegreya-TOsF}{2} +\end{verbatim} +If only some are needed then one can define them individually but in +many cases all four are wanted, hence the shortcut. + + + + \section{If you need to know more \ldots} \NEWdescription{1996/06/01} |