Debian Codegraph @

texmf-dist/doc/fonts/fbb/fbb-doc.tex

raw
1 % !TEX TS-program = pdflatexmk
2 \documentclass{article}
3 \usepackage[margin=1in]{geometry}
4 \usepackage[parfill]{parskip}% Begin paragraphs with an empty line, no indent
5 \pdfmapfile{=fbb.map}
6 \usepackage{enumitem}
7 \setlist[description]{style=sameline,font=\mdseries\scshape}
8 \setlength\unitlength{1pt}% for picture
9 \usepackage{booktabs}
10 \usepackage{graphicx}
11 \usepackage{xcolor}
12 \usepackage{upquote}
13 \usepackage{fancyvrb}
14 \def\yellow#1{\setlength{\fboxrule}{0pt}%
15 \setlength{\fboxsep}{0pt}%
16 \colorbox{yellow}{#1}}
17 %SetFonts
18 %fbb plus newtxmath
19 \usepackage[full]{textcomp} % to get the right copyright, etc.
20 \usepackage[sups,osf,p]{fbb}
21 \usepackage[scaled=.95,type1]{cabin}
22 \usepackage[varqu,varl]{zi4}% typewriter
23 \usepackage[libertine]{newtxmath}
24 \usepackage[bb=boondox,frak=boondox]{mathalfa}
25 %SetFonts
26 \font\altp=fbbP-Regular-lf-t1
27 \usepackage[T1]{fontenc}
28 \usepackage{fonttable}
29 \usepackage{url,hyperref}
30 \title{The \textbf{fbb} package---a Bembo--like font}
31 \author{Michael Sharpe}
32 \date{}
33 \begin{document}
34 \maketitle
35 \section{The Package}
36 The {\tt fbb} package offers a family of Bembo--like fonts derived from Cardo in the usual four styles. Text figures may be selected from four types:
37 \begin{itemize}
38 \item
39 Proportional lining (LF), selected by options {\tt lining, proportional [or p]}; [{\tt lining} is the default figure style;]
40 \item
41 Tabular lining (TLF), selected by options {\tt lining, tabular}; [{\tt tabular} is the default figure alignment;]
42 \item
43 Proportional oldstyle (OsF), selected by option {\tt oldstyle, proportional [or p]};
44 \item
45 Tabular oldstyle (TOsF), selected by options {\tt oldstyle, tabular}.
46 \end{itemize}
47 The package also defines six macros that allow you use alternate figure styles locally:
48 \begin{verbatim}
49 \textlf{97} % print 97 in proportional lining figures
50 \texttlf{97} % print 97 in tabular lining figures
51 \textosf{97} % print 97 in proportional oldstyle figures
52 \texttosf{97} % print 97 in tabular oldstyle figures
53 \textsu{97} % print 97 in superior figures
54 \textin{97} % print 97 in inferior figures
55 \textde{97} % print 97 in denominator figures (same as inferior, but raised to baseline.)
56 \end{verbatim}
57 As of version $1.15$ (mid-2020), there is a new macro \verb|\textfrac| that may be used to construct simple fractions. For example, \verb|\textfrac[2]{7}{8}| renders as \textfrac[2]{7}{8}. (If the optional argument is not specified, you get just the fraction.) There are two options to {\tt fbb.sty} that may be used to modify the space before and after the solidus: {\tt foresolidus} and {\tt aftsolidus}, which should be specified in {\tt em} units. Their default values are {\tt .04em} and {\tt 0em} respectively.
58
59 \textbf{New in version $1.16$:} A swash version of Q has been added to all faces. You may enable it globally using option {\tt swashQ} to {\tt ETbb}, or specify it locally with the macro \verb|\Qswash|, which renders as \Qswash. If you had enabled it globally, you have access to the ordinary Q with the macro \verb|\Qnoswash|.
60
61
62
63 Option {\tt altP} changes the form of the letter capital P from its default closed shape, as used in almost all modern digital renderings of Bembo, to the more historically accurate open shape, {\altp P}. See, for example, the reproduction of Pietro Bembo's \textit{De Aetna} at \url{https://ia601405.us.archive.org/34/items/ita-bnc-ald-00000673-001/ita-bnc-ald-00000673-001.pdf}. (A higher resolution rendering of a two-page sample is available from \url{https://upload.wikimedia.org/wikipedia/commons/8/89/De_Aetna_1495.jpg.}) Unicode \TeX\ users may load {\tt fbb} with the equivalent to {\tt altP} by the code block
64 \begin{verbatim}
65 \usepackage{fontspec}
66 \setmainfont{fbb}[%
67 UprightFeatures = {StylisticSet=01},
68 BoldFeatures = {StylisticSet=01}
69 ]
70 \end{verbatim}
71 (Capital P in italic and bold italic is already open---those faces have no {\tt ss01} feature.)
72
73 Option {\tt sups} changes the form of footnote markers to use {\tt fbb}'s superior figures, unless you have redefined the meaning of \verb|\thefootnote| prior to loading {\tt fbb}. For more control over size, spacing and position of footnote markers, use the \textsf{superiors} package: E.g.,
74 \begin{verbatim}
75 \usepackage[supstfm=fbb-Regular-sup-t1]{superiors}
76 \end{verbatim}
77
78
79 There is a {\tt scaled} option (\emph{e.g.}, {\tt scaled=.97}) that allow you to adjust the text size against, say, a math package. This text package works well with {\tt newtxmath} with the {\tt libertine} option, because the latter has italics of the same italic angle as {\tt fbb} and of very similar xheight and weight. The suggested invocation is:
80 \begin{verbatim}
81 % load babel package and options here
82 \usepackage[full]{textcomp} % to get the right copyright, etc.
83 \usepackage[p,osf]{fbb} % osf in text, tabular lining figures in math
84 \usepackage[scaled=.95,type1]{cabin} % sans serif in style of Gill Sans
85 \usepackage[varqu,varl]{zi4}% inconsolata typewriter
86 \usepackage[T1]{fontenc} % LY1 also works
87 \usepackage[libertine]{newtxmath}
88 \usepackage[cal=boondoxo,bb=boondox,frak=boondox]{mathalfa}
89 \end{verbatim}
90 Here is a short sample based on this preamble:\\[4pt]
91 \def\Pr{\ensuremath{\mathbb{P}}}
92 \def\rmd{\mathrm{d}}
93 The typeset math below follows the ISO recommendations that only variables
94 be set in italic. Note the use of upright shapes for $\rmd$, $\mathrm{e}$
95 and $\uppi$. (The first two are entered as \verb|\mathrm{d}| and
96 \verb|\mathrm{e}|, and in fonts derived from {\tt newtxmath} or {\tt mtpro2},
97 the latter is entered as \verb|\uppi|.)
98
99 \textbf{Simplest form of the \textit{Central Limit Theorem}:} \textit{Let
100 $X_1$, $X_2,\cdots$ be a sequence of iid random variables with mean $0$
101 and variance $1$ on a probability space $(\Omega,\mathcal{F},\Pr)$. Then}
102 \[\Pr\left(\frac{X_1+\cdots+X_n}{\sqrt{n}}\le y\right)\to\mathfrak{N}(y)\coloneq
103 \int_{-\infty}^y \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,
104 \mathrm{d}t\quad\mbox{as $n\to\infty$,}\]
105 \textit{or, equivalently, letting} $S_n\coloneq\sum_1^n X_k$,
106 \[\mathbb{E} f(S_n/\sqrt{n})\to \int_{-\infty}^\infty f(t)
107 \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,\mathrm{d}t
108 \quad\mbox{as $n\to\infty$, for every $f\in\mathrm{b}
109 \mathcal{C}(\mathbb{R})$.}\]
110
111 \section{Text effects under \texttt{fontaxes}}
112 This package loads the {\tt fontaxes} package in order to access italic small caps. You should pay attention to the fact that {\tt fontaxes} modifies the behavior of some basic \LaTeX\ text macros such as \verb|\textsc| and \verb|\textup|. Under normal \LaTeX, some text effects are combined, so that, for example, \verb|\textbf{\textit{a}}| produces bold italic {\tt a}, while other effects are not, eg, \verb|\textsc{\textup{a}}| has the same effect as \verb|\textup{a}|, producing the letter {\tt a} in upright, not small cap, style. With {\tt fontaxes}, \verb|\textsc{\textup{a}}| produces instead upright small cap {\tt a}. It offers a macro \verb|\textulc| that undoes small caps, so that, eg, \verb|\textsc{\textulc{a}}| produces {\tt a} in non-small cap mode, with whatever other style choices were in force, such as bold or italics.
113
114 %\section{Superior figures}
115 %The TrueType versions of GaramondNo8 have a full set of superior figures, unlike their PostScript counterparts. The superior figure glyphs in regular weight only have been copied to \texttt{NewG8-sups.pfb} and \texttt{NewG8-sups.afm} and provided with a tfm named \texttt{NewG8-sups.tfm} that can be used by the \textsf{superiors} package to provide adjustable footnote markers. See \textsf{superiors-doc.pdf} (you can find it in \TeX Live by typing \texttt{texdoc superiors} in a Terminal window.) The simplest invocation is
116 %\begin{verbatim}
117 %\usepackage[supstfm=NewG8-sups]{superiors}
118 %\end{verbatim}
119 \section{Glyphs in TS\textlf{1} encoding}
120 The layout of the TS\textlf{1} encoded Text Companion font, which is fully rendered \emph{in regular style only}, is as follows. See below for the macros that invoke these glyphs. Though shown in regular weight, upright shape only, a reduced set of glyphs are available in all other weights and shapes.
121
122 \fonttable{fbb-Regular-tosf-ts1}
123
124 \textsc{List of macros to access the TS\textlf{1} symbols in text mode:}\\
125 (Note that slots 0--12 and 26--29 are accents, used like \verb|\t{a}| for a tie accent over the letter a. Slots 23 and 31 do not contain visible glyphs, but have heights indicated by their names.)
126 \begin{verbatim}
127 0 \capitalgrave
128 1 \capitalacute
129 2 \capitalcircumflex
130 3 \capitaltilde
131 4 \capitaldieresis
132 5 \capitalhungarumlaut
133 6 \capitalring
134 7 \capitalcaron
135 8 \capitalbreve
136 9 \capitalmacron
137 10 \capitaldotaccent
138 11 \capitalcedilla
139 12 \capitalogonek
140 13 \textquotestraightbase
141 18 \textquotestraightdblbase
142 21 \texttwelveudash
143 22 \textthreequartersemdash
144 23 \textcapitalcompwordmark
145 24 \textleftarrow
146 25 \textrightarrow
147 26 \t % tie accent, skewed right
148 27 \capitaltie % skewed right
149 28 \newtie % tie accent centered
150 29 \capitalnewtie % ditto
151 31 \textascendercompwordmark
152 32 \textblank
153 36 \textdollar
154 39 \textquotesingle
155 42 \textasteriskcentered
156 45 \textdblhyphen
157 47 \textfractionsolidus
158 48 \textzerooldstyle
159 49 \textoneoldstyle
160 50 \texttwooldstyle
161 49 \textthreeoldstyle
162 50 \textfouroldstyle
163 51 \textfiveoldstyle
164 52 \textsixoldstyle
165 53 \textsevenoldstyle
166 54 \texteightoldstyle
167 55 \textnineoldstyle
168 60 \textlangle
169 61 \textminus
170 62 \textrangle
171 77 \textmho
172 79 \textbigcircle
173 87 \textohm
174 91 \textlbrackdbl
175 93 \textrbrackdbl
176 94 \textuparrow
177 95 \textdownarrow
178 96 \textasciigrave
179 98 \textborn
180 99 \textdivorced
181 100 \textdied
182 108 \textleaf
183 109 \textmarried
184 110 \textmusicalnote
185 126 \texttildelow
186 127 \textdblhyphenchar
187 128 \textasciibreve
188 129 \textasciicaron
189 130 \textacutedbl
190 131 \textgravedbl
191 132 \textdagger
192 133 \textdaggerdbl
193 134 \textbardbl
194 135 \textperthousand
195 136 \textbullet
196 137 \textcelsius
197 138 \textdollaroldstyle
198 139 \textcentoldstyle
199 140 \textflorin
200 141 \textcolonmonetary
201 142 \textwon
202 143 \textnaira
203 144 \textguarani
204 145 \textpeso
205 146 \textlira
206 147 \textrecipe
207 148 \textinterrobang
208 149 \textinterrobangdown
209 150 \textdong
210 151 \texttrademark
211 152 \textpertenthousand
212 153 \textpilcrow
213 154 \textbaht
214 155 \textnumero
215 156 \textdiscount
216 157 \textestimated
217 158 \textopenbullet
218 159 \textservicemark
219 160 \textlquill
220 161 \textrquill
221 162 \textcent
222 163 \textsterling
223 164 \textcurrency
224 165 \textyen
225 166 \textbrokenbar
226 167 \textsection
227 168 \textasciidieresis
228 169 \textcopyright
229 170 \textordfeminine
230 171 \textcopyleft
231 172 \textlnot
232 173 \textcircledP
233 174 \textregistered
234 175 \textasciimacron
235 176 \textdegree
236 177 \textpm
237 178 \texttwosuperior
238 179 \textthreesuperior
239 180 \textasciiacute
240 181 \textmu
241 182 \textparagraph
242 183 \textperiodcentered
243 184 \textreferencemark
244 185 \textonesuperior
245 186 \textordmasculine
246 187 \textsurd
247 188 \textonequarter
248 189 \textonehalf
249 190 \textthreequarters
250 191 \texteuro
251 214 \texttimes
252 246 \textdiv
253 \end{verbatim}
254 There is a macro \verb|\textcircled| that may be used to construct a circled version of a single letter using \verb|\textbigcircle|. The letter is always constructed from the small cap version, so, in effect, you can only construct circled uppercase letters: \verb|\textcircled{M}| and \verb|\textcircled{m}| have the same effect, namely \textcircled{M}.
255
256 \section{Historical Background}
257 Humanist scholar Pietro Bembo, a seminal figure in literature and music of the Italian Renaissance, who later became Cardinal Bembo, wrote an essay in the last decade of the 15th century about his travels to Mt.\ Aetna, which work was published by the Venetian printer Aldus Manutius (whose name gave us \emph{Aldine}) using a new Roman font designed by his punch-cutter, Francesco Griffo that improved on the earlier efforts of Jenson, another printer in Venice. That font seems to have played a similarly seminal r\^ole in typography. It was the direct progenitor of the many Garamond fonts, and has seen numerous modern revivals whose names make use of every known historical connection to the figures named above, such as Lucrezia Borgia who was for several years Bembo's lover.
258
259 The metal form of the Bembo font developed by Stanley Morison for English Monotype in the 1920's was widely used in book printing due to its handsome appearance and readability. Commercial digital versions have not had much love from critics until recently. Adobe's MinionPro and WarnockPro arguably deserve the prizes for the best modern revivals of oldstyle fonts not too distant from Bembo. (Both lack Bembo's tall ascenders and its characteristic overarching f.)
260
261 To my knowledge, there is currently only one free source for a Bembo--like font family, that being David Perry's \emph{Cardo} (a contraction of \emph{Cardinal Bembo}), which is not readily accessible to
262 \LaTeX\ users and which lacks Bold Italic as well as a full range of Small Caps and figure styles.
263
264 This package is named for its Berry form {\tt fbb}, with {\tt f} denoting free (\emph{i.e.}, public) and {\tt bb} the Berry abbreviation for Bembo. It is derived from Cardo, with significant modifications. Where Cardo is intended primarily for scholars of ancient languages, those features are removed from {\tt fbb} and issues of more modern concern are added. The package contains the usual four styles (regular, italic, bold, bold italic), each with small caps and figures in tabular lining, proportional lining, tabular oldstyle and proportional oldstyle, as well as superior and inferior figures. The f-ligatures have been revised/added so as to function better with \LaTeX, and other glyphs have been changed as necessary to suit the demands of \emph{FontForge}. A kerning table was added to Regular upright weight---a serious omission in the original. The Bold Italic weight was created algorithmically from Italic, but the result required much intervention by human hand. Small Caps were created for all styles other than regular, which was already present in Cardo.
265
266 On screen and paper, {\tt fbb} appears close in weight to Libertine, though of larger xheight and much larger ascender height, a bit softer and slightly less plain. The following two sentences are written in {\tt fbb} and Libertine respectively. The third example sentence is written using {\tt EBGaramond} scaled up by 20\%. Perhaps {\tt fbb} will be prove to be more suitable for older eyes.
267
268 \textit{\textsc{Comparison between fbb and Libertine}}:
269
270 Both fbb and Libertine are highly readable fonts in their standard Roman forms, each has a wide range of figures and small caps, but Libertine has the advantage in the number of supported scripts and the variety of weights.
271
272 {\fontfamily{LinuxLibertineT-LF}\selectfont Both fbb and Libertine are highly readable fonts in their standard Roman forms, each has a wide range of figures and small caps, but Libertine has the advantage in the number of supported scripts and the variety of weights.}
273
274 \textit{\textsc{Same sentence in EBGaramond}}:
275
276 {\usefont{T1}{EBGaramond-LF}{regular}{n}\fontsize{12}{13}Both fbb and Libertine are highly readable fonts in their standard Roman forms, each has a wide range of figures and small caps, but Libertine has the advantage in the number of supported scripts and the variety of weights.}
277
278 \end{document}