Debian Codegraph @

texmf-dist/doc/fonts/mfb-oldstyle/mfb-oldstyle-doc.tex

raw
1 % !TEX TS-program = lualatex
2 \documentclass[12pt]{article}
3 \usepackage{fontspec}\setmainfont{MFB Oldstyle}
4 \usepackage{url}
5 \usepackage{realscripts}
6 \usepackage[main=english]{babel}
7 \usepackage{hologo}
8 \usepackage[autostyle=false,babel=true,english=american]{csquotes}
9 \usepackage[expansion=all,protrusion,babel]{microtype}
10 \usepackage{titlesec}\titleformat*{\section}{\bfseries}\titleformat*{\subsection}{\bfseries}
11 \title{The \textit{MFB Oldstyle} Font Family\\\large Version 1.0}
12 \date{August 5, 2024}
13 \author{Daniel Benjamin Miller\thanks{[email protected]}}
14
15 \begin{document}
16 \maketitle
17
18 \section{Description}
19
20 \textit{MFB Oldstyle} is a serif font family designed for body text. This typeface design was originally created by Morris Fuller Benton and released by American Type Founders in 1909 as \textit{Century Oldstyle}.
21
22 \section{Features}
23
24 The font family currently includes regular, \textit{italic} and \textbf{bold} fonts; no bold italic is included (though one may be added in the future). All the fonts include superior and inferior figures, accessible both through OpenType features and the provided \texttt{mfb-oldstyle} \hologo{LaTeX} package. \textsc{Small capitals} and old-style figures ({\addfontfeatures{Numbers=OldStyle}0123456789}) are currently provided for the regular font only. For a view of character coverage, see the included character map PDF.
25
26 \section{Usage with OpenType-capable \hologo{TeX} engines}
27
28 I recommend using the OpenType versions of \textit{MFB Oldstyle}, along with a modern \hologo{TeX} engine (such as \hologo{LuaTeX} or \hologo{XeTeX}). If you are using \hologo{LuaLaTeX} or \hologo{XeLaTeX}, use \texttt{fontspec} to select the font and the appropriate options, e.g., by adding \texttt{\textbackslash usepackage\{fontspec\}\textbackslash setmainfont\{MFB Oldstyle\}} to your preamble. For detailed options, see that package's documentation.
29
30 \section{Usage with legacy \hologo{TeX} engines}
31
32 If you wish to use the fonts with a legacy \hologo{TeX} engine, Type 1 fonts and the appropriate support files are provided. To set use the Type 1 version of \textit{MFB Oldstyle} in \hologo{LaTeX}, use the following command:
33
34 \begin{verbatim}
35 \usepackage{mfb-oldstyle}
36 \end{verbatim}
37
38 By default, tabular lining figures (0123456789) are used. The package-level options \texttt{tabular} and \texttt{proportional} can be used to switch between tabular ({\addfontfeatures{Numbers=Tabular}0123456789}) and proportional ({\addfontfeatures{Numbers=Proportional}0123456789}) versions of lining figures. Old-style figures ({\addfontfeatures{Numbers=OldStyle}0123456789}) can technically be set as the default using package option \texttt{oldstyle}, but, since old-style figures are only provided for the regular font, this will disable use of the italic and bold fonts by default. (For a more graceful fallback, try using a modern \hologo{TeX} engine). When using the legacy \hologo{LaTeX} package, superior figures can be accessed on a one-off basis using the text command \texttt{textsu}, and inferior figures can be accessed using the text command \texttt{textin}.
39
40 \section{Copying}
41
42 The \textit{MFB Oldstyle} fonts have been placed in the public domain and can be used without restriction. For a detailed copyright waiver with explicit fallback provisions, see \texttt{COPYING}.
43
44 \section{Source files and development}
45
46 Source files for the \textit{MFB Oldstyle} fonts are available on GitHub.\footnote{\url{https://github.com/dbenjaminmiller/mfb-oldstyle}} Suggestions for feature additions are welcome on GitHub (preferred) or via email.
47
48
49
50 \end{document}