summaryrefslogtreecommitdiff
path: root/fonts/fbb/doc/fbb-doc.tex
blob: 39b66871e5ee7cce078aece3306ee6e7b2026c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
% !TEX TS-program = pdflatexmk
\documentclass{article}
\usepackage[margin=1in]{geometry} 
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line, no indent
\pdfmapfile{=fbb.map}
\usepackage{enumitem}
\setlist[description]{style=sameline,font=\mdseries\scshape}
\setlength\unitlength{1pt}% for picture
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{upquote}
\usepackage{fancyvrb}
\def\yellow#1{\setlength{\fboxrule}{0pt}%
\setlength{\fboxsep}{0pt}%
\colorbox{yellow}{#1}}
%SetFonts
%fbb plus newtxmath
\usepackage[full]{textcomp} % to get the right copyright, etc.
\usepackage[sups,osf,p]{fbb}
\usepackage[scaled=.95,type1]{cabin}
\usepackage[varqu,varl]{zi4}% typewriter
\usepackage[libertine]{newtxmath}
\usepackage[bb=boondox,frak=boondox]{mathalfa}
%SetFonts
\font\altp=fbbP-Regular-lf-t1
\usepackage[T1]{fontenc}
\usepackage{fonttable}
\usepackage{url,hyperref}
\title{The \textbf{fbb} package---a Bembo--like font}
\author{Michael Sharpe}
\date{}
\begin{document}
\maketitle
\section{The Package}
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:
\begin{itemize}
\item
Proportional lining (LF), selected by options {\tt lining, proportional [or p]}; [{\tt lining} is the default figure style;]
\item
Tabular lining (TLF), selected by options {\tt lining, tabular}; [{\tt tabular} is the default figure alignment;]
\item
Proportional oldstyle (OsF), selected by option {\tt oldstyle, proportional [or p]};
\item
Tabular oldstyle (TOsF), selected by options {\tt oldstyle, tabular}.
\end{itemize}
The package also defines six macros that allow you use alternate figure styles locally:
\begin{verbatim}
\textlf{97} % print 97 in proportional lining figures
\texttlf{97} % print 97 in tabular lining figures
\textosf{97} % print 97 in proportional oldstyle figures
\texttosf{97} % print 97 in tabular oldstyle figures
\textsu{97} % print 97 in superior figures
\textin{97} % print 97 in inferior figures
\textde{97} % print 97 in denominator figures (same as inferior, but raised to baseline.)
\end{verbatim}
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.

\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|.



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
\begin{verbatim}
\usepackage{fontspec}
\setmainfont{fbb}[%
	UprightFeatures = {StylisticSet=01},
	BoldFeatures = {StylisticSet=01}
	]
\end{verbatim}
(Capital P in italic and bold italic is already open---those faces have no {\tt ss01} feature.)

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.,
\begin{verbatim}
\usepackage[supstfm=fbb-Regular-sup-t1]{superiors}
\end{verbatim}


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:
\begin{verbatim}
% load babel package and options here
\usepackage[full]{textcomp} % to get the right copyright, etc.
\usepackage[p,osf]{fbb} % osf in text, tabular lining figures in math
\usepackage[scaled=.95,type1]{cabin} % sans serif in style of Gill Sans
\usepackage[varqu,varl]{zi4}% inconsolata typewriter
\usepackage[T1]{fontenc} % LY1 also works
\usepackage[libertine]{newtxmath}
\usepackage[cal=boondoxo,bb=boondox,frak=boondox]{mathalfa}
\end{verbatim}
Here is a short sample based on this preamble:\\[4pt]
\def\Pr{\ensuremath{\mathbb{P}}}
\def\rmd{\mathrm{d}}
The typeset math below follows the ISO recommendations that only variables
be set in italic. Note the use of upright shapes for $\rmd$, $\mathrm{e}$
and $\uppi$. (The first two are entered as \verb|\mathrm{d}| and
\verb|\mathrm{e}|, and in fonts derived from {\tt newtxmath} or {\tt mtpro2},
 the latter is entered as \verb|\uppi|.)

\textbf{Simplest form of the \textit{Central Limit Theorem}:} \textit{Let
$X_1$, $X_2,\cdots$ be a sequence of iid random variables with mean $0$ 
and variance $1$ on a probability space $(\Omega,\mathcal{F},\Pr)$. Then}
\[\Pr\left(\frac{X_1+\cdots+X_n}{\sqrt{n}}\le y\right)\to\mathfrak{N}(y)\coloneq
\int_{-\infty}^y \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,
\mathrm{d}t\quad\mbox{as $n\to\infty$,}\]
\textit{or, equivalently, letting} $S_n\coloneq\sum_1^n X_k$,
\[\mathbb{E} f(S_n/\sqrt{n})\to \int_{-\infty}^\infty f(t)
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,\mathrm{d}t
\quad\mbox{as $n\to\infty$, for every $f\in\mathrm{b}
\mathcal{C}(\mathbb{R})$.}\]

\section{Text effects under \texttt{fontaxes}}
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.

%\section{Superior figures}
%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
%\begin{verbatim}
%\usepackage[supstfm=NewG8-sups]{superiors}
%\end{verbatim}
\section{Glyphs in TS\textlf{1} encoding}
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.

\fonttable{fbb-Regular-tosf-ts1}

\textsc{List of macros to access the TS\textlf{1} symbols in text mode:}\\
(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.)
\begin{verbatim}
  0 \capitalgrave
  1 \capitalacute
  2 \capitalcircumflex
  3 \capitaltilde
  4 \capitaldieresis
  5 \capitalhungarumlaut
  6 \capitalring
  7 \capitalcaron
  8 \capitalbreve
  9 \capitalmacron
 10 \capitaldotaccent
 11 \capitalcedilla
 12 \capitalogonek
 13 \textquotestraightbase
 18 \textquotestraightdblbase
 21 \texttwelveudash
 22 \textthreequartersemdash
 23 \textcapitalcompwordmark
 24 \textleftarrow
 25 \textrightarrow
 26 \t % tie accent, skewed right
 27 \capitaltie % skewed right
 28 \newtie % tie accent centered
 29 \capitalnewtie % ditto
 31 \textascendercompwordmark
 32 \textblank
 36 \textdollar
 39 \textquotesingle
 42 \textasteriskcentered
 45 \textdblhyphen
 47 \textfractionsolidus
 48 \textzerooldstyle
 49 \textoneoldstyle
 50 \texttwooldstyle
 49 \textthreeoldstyle
 50 \textfouroldstyle
 51 \textfiveoldstyle
 52 \textsixoldstyle
 53 \textsevenoldstyle
 54 \texteightoldstyle
 55 \textnineoldstyle
 60 \textlangle
 61 \textminus
 62 \textrangle
 77 \textmho
 79 \textbigcircle
 87 \textohm
 91 \textlbrackdbl
 93 \textrbrackdbl
 94 \textuparrow
 95 \textdownarrow
 96 \textasciigrave
 98 \textborn
 99 \textdivorced
100 \textdied
108 \textleaf
109 \textmarried
110 \textmusicalnote
126 \texttildelow
127 \textdblhyphenchar
128 \textasciibreve
129 \textasciicaron
130 \textacutedbl
131 \textgravedbl
132 \textdagger
133 \textdaggerdbl
134 \textbardbl
135 \textperthousand
136 \textbullet
137 \textcelsius
138 \textdollaroldstyle
139 \textcentoldstyle
140 \textflorin
141 \textcolonmonetary
142 \textwon
143 \textnaira
144 \textguarani
145 \textpeso
146 \textlira
147 \textrecipe
148 \textinterrobang
149 \textinterrobangdown
150 \textdong
151 \texttrademark
152 \textpertenthousand
153 \textpilcrow
154 \textbaht
155 \textnumero
156 \textdiscount
157 \textestimated
158 \textopenbullet
159 \textservicemark
160 \textlquill
161 \textrquill
162 \textcent
163 \textsterling
164 \textcurrency
165 \textyen
166 \textbrokenbar
167 \textsection
168 \textasciidieresis
169 \textcopyright
170 \textordfeminine
171 \textcopyleft
172 \textlnot
173 \textcircledP
174 \textregistered
175 \textasciimacron
176 \textdegree
177 \textpm
178 \texttwosuperior
179 \textthreesuperior
180 \textasciiacute
181 \textmu
182 \textparagraph
183 \textperiodcentered
184 \textreferencemark
185 \textonesuperior
186 \textordmasculine
187 \textsurd
188 \textonequarter
189 \textonehalf
190 \textthreequarters
191 \texteuro
214 \texttimes
246 \textdiv
\end{verbatim}
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}.

\section{Historical Background}
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.

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.)

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 
\LaTeX\ users and which lacks Bold Italic as well as a full range of Small Caps and figure styles.

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. 

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.

\textit{\textsc{Comparison between fbb and Libertine}}: 

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.

{\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.}

\textit{\textsc{Same sentence in EBGaramond}}: 

{\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.}

\end{document}