summaryrefslogtreecommitdiff
path: root/fonts/step/doc/step-fonts.tex
blob: ea965b5dff040304753e83a4999b3eab27342e1e (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
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[oldstyle]{step}
\usepackage[letterpaper]{geometry}
\usepackage[main=english]{babel}
\usepackage[protrusion,babel]{microtype}
\usepackage[supstfm=STEP-Regular-sup-t1]{superiors}
\usepackage{booktabs}
\title{The STEP fonts}
\date{Version 2.0.2\\February 6, 2020}
\author{Daniel~Benjamin Miller\thanks{\texttt{dbmiller@dbmiller.org}}}
\begin{document}
\maketitle
The STEP fonts are a free Times-like (i.e., Times replacement) font family, implementing a design first created for \textit{The Times} of London in 1932. These fonts are meant to be compatible in design with Adobe's digitization of Linotype Times, commonly used in publishing. Linotype's Times design is similar, but not exactly identical to Monotype's Times New Roman. STEP is an acronym for \textit{Serif Typeface for Electronic Publishing}, though its meaning is intentionally flexible.
\section{History}
The STEP fonts are based on the STIX\footnote{\texttt{https://ctan.org/pkg/stix}} and XITS\footnote{\texttt{https://github.com/alif-type/xits}} fonts. The core character set came from STIX; Khaled Hosny made some improvements and fixes in XITS. Other improvements were made by myself in upstream XITS. STEP, unlike XITS, does not hold itself to the goal of strict backwards compatibility. STEP's math fonts (available in OpenType format only at present) are almost unchanged from XITS'. STEP changes vertical and horizontal metrics from XITS (mostly useful for non-\TeX\ applications) to match those of Adobe's Linotype Times. Further, for text fonts, STEP supports the Type 1 format and includes support for use with \LaTeX, although some features remain available in OpenType only.
\section{Why STEP?}
The STEP fonts are far from the only free digitization of Times available for use with \LaTeX. The fonts provide some features not found in other commonly-used versions, including small capitals and old-style figures which were manually drawn instead of scaled (semi-) automatically, ensuring higher quality; other Times fonts available often do not include small capitals or old-style figures at all. STEP also includes superior and inferior figures. The utmost care has been taken to ensure that all characters in STEP are of high quality.

Greek support is limited; polytonic Greek is found in the regular font, whereas the other fonts in the family support monotonic Greek only. The Greek does not correspond in design to Linotype Times, but rather to MicroPress' TM Text Extension (MicroPress kindly donated some outlines to the STIX project). A better match is discussed in the \textit{Usage} section. Cyrillic support is from URW's Nimbus Roman. I do not personally use the Cyrillic alphabet, so I cannot comment on the character set. STEP's character support for certain other languages which use the Latin alphabet (e.g., Vietnamese) is lacking, and improvements are planned for the future.

\section{Usage}
To use the STEP, you may use the \LaTeX\ package \texttt{step}.
\begin{verbatim}
\usepackage{step}
\end{verbatim}
Do remember that it is usually wise to load \texttt{fontenc} with the appropriate encoding(s). The \LaTeX\ package does not include support for any math fonts; I recommend that you use STIX's math fonts instead with \texttt{\textbackslash usepackage[notext]\{stix\}}. Alternatively, you can use \texttt{newtxmath} using \texttt{\textbackslash usepackage\{newtxmath\}}. See the documentation for those packages to find out more about available options.
\subsection{Package Options}
\begin{tabular}{@{} ll @{}}
\toprule
Package Option & Feature \\
\midrule
\texttt{lining} & Use lining figures (default) \lining{1234567890}\\
\texttt{oldstyle} & Use old-style figures \oldstyle{1234567890}\\
\bottomrule
\end{tabular}
\subsection{Text Commands}
\begin{tabular}{@{} ll @{}}
\toprule
Text Command & Feature \\
\midrule
\texttt{\textbackslash lining\{\}} & Use lining figures \lining{1234567890}\\
\texttt{\textbackslash oldstyle\{\}} & Use old-style figures \oldstyle{1234567890}\\
\texttt{\textbackslash textsc\{\}} & Use small caps (regular font only) \textsc{abcde\$\&}\\
\texttt{\textbackslash textsu\{\}} & Use superior figures \textsu{1234567890}\\
\texttt{\textbackslash textin\{\}} & Use inferior figures \textin{1234567890}\\
\bottomrule
\end{tabular}
\subsection{Greek text using \texttt{txfontsb}}
For a Greek font which is better suited for text (and which includes bold, italic and bold italic as well as regular), I recommend using the fonts from \texttt{txfontsb}. You can access these by adding the following to your preamble:
\begin{verbatim}
\usepackage{substitutefont}
\substitutefont{LGR}{\rmdefault}{txrc}
\end{verbatim}
\subsection{Using superior figures for footnotes}
To use superior figures for footnotes, include the following line in your preamble:
\begin{verbatim}
\usepackage[supstfm=STEP-Regular-sup-t1]{superiors}
\end{verbatim}
\subsection{Usage with \texttt{fontspec}}
If you do not need to use an 8-bit \TeX\ engine, you may simply use \texttt{fontspec}\footnote{\texttt{https://ctan.org/pkg/fontspec}} as follows:
\begin{verbatim}
\usepackage{fontspec}
\setmainfont{STEP}
\end{verbatim}
If you wish to use the math font as well (which is based on XITS), this is possible:
\begin{verbatim}
\usepackage{unicode-math}
\setmathfont{STEP Math}
\end{verbatim}
When using \texttt{fontspec}, all font options are handled according to that package's facilities. See its documentation for details.
\section{Contributing}
Contributions to the fonts and their \LaTeX\ support may be sent as pull requests to the project's GitHub repository.\footnote{\texttt{https://github.com/dbenjaminmiller/step}}
\section{Licensing}
STEP is licensed under the Open Font License (OFL) version 1.1; see \texttt{STEP-COPYING} for details.
\end{document}