Debian Codegraph @

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

raw
1 \documentclass[12pt]{article}
2 \usepackage[utf8]{inputenc}
3 \usepackage[T1]{fontenc}
4 \usepackage[scale=.9]{courierten}
5 \usepackage[sups]{step}\usepackage[notext]{stix}
6 \usepackage[supstfm=STEP-Regular-sup-t1]{superiors}
7 \normalfont\parindent=1.5em
8 \usepackage[letterpaper]{geometry}
9 \usepackage[main=english]{babel}
10 \usepackage{hologo}
11 \usepackage[expansion=false,protrusion,babel]{microtype}
12 \usepackage{booktabs}
13 \usepackage{parskip}
14 \title{The STEP fonts}
15 \date{Version 2.0.5\\\today}
16 \author{Daniel~Benjamin Miller\thanks{\texttt{[email protected]}}}
17 \begin{document}
18 \maketitle
19 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, which is commonly used in desktop publishing.
20
21 \section{Usage}
22 To use the STEP fonts, load the \LaTeX\ package \texttt{step}, optionally with \texttt{stix} for math.
23 \begin{verbatim}
24 \usepackage{step}\usepackage[notext]{stix}
25 \end{verbatim}
26
27 To get superior figures in text, add:
28 \begin{verbatim}
29 \usepackage[supstfm=STEP-Regular-sup-t1]{superiors}
30 \end{verbatim}
31
32 If you are using \hologo{LuaLaTeX} or \hologo{XeLaTeX}, you may use the Unicode version of STEP with \texttt{fontspec}, along with XITS for math (using \texttt{unicode-math}).
33 \begin{verbatim}
34 \usepackage{fontspec,unicode-math}\setmainfont[]{STEP}
35 \setmathfont[StylisticSet=0]{XITS Math}
36 \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{XITS Math}
37 \end{verbatim}
38 When using \texttt{fontspec}, all font options are handled according to that package's functions. See its documentation for details.
39 \subsection{Package options}
40 \begin{tabular}{@{} ll @{}}
41 \toprule
42 Package Option & Feature \\
43 \midrule
44 \texttt{lining} & Use lining figures (default) \lining{1234567890}\\
45 \texttt{oldstyle} & Use old-style figures \oldstyle{1234567890}\\
46 \bottomrule
47 \end{tabular}
48 \subsection{Text Commands}
49 \begin{tabular}{@{} ll @{}}
50 \toprule
51 Text Command & Feature \\
52 \midrule
53 \texttt{\textbackslash lining\{\}} & Use lining figures \lining{1234567890}\\
54 \texttt{\textbackslash oldstyle\{\}} & Use old-style figures \oldstyle{1234567890}\\
55 \texttt{\textbackslash textsc\{\}} & Use small caps (regular font only) \textsc{abcde\$\&}\\
56 \texttt{\textbackslash textsu\{\}} & Use superior figures \textsu{1234567890}\\
57 \texttt{\textbackslash textin\{\}} & Use inferior figures \textin{1234567890}\\
58 \bottomrule
59 \end{tabular}
60 \subsection{Greek text fonts}
61 As a matching Greek text font, I recommend using \texttt{txfontsb} or \texttt{tempora}, which provide good support for monotonic and polytonic Greek, or the beta version of STEP Greek, which only includes a regular upright font at writing (with full polytonic support). You can access these by adding the following to your preamble (choosing one of \texttt{txrc}, \texttt{Tempora-TLF}, or \texttt{STEPGreekTest-TLF}):
62 \begin{verbatim}
63 \usepackage{substitutefont}
64 \substitutefont{LGR}{\rmdefault}{<fontname>}
65 \end{verbatim}
66
67 If you are using the OpenType version of STEP, I recommend you use the Babel function for language-specific OpenType fonts (covered in detail in the \texttt{babel} documentation). For a test version of the new STEP Greek font, available on GitHub,\footnote{\texttt{https://github.com/dbenjaminmiller/STEPGreekTest}} use:
68
69 \begin{verbatim}
70 \babelfont[greek]{rm}[]{STEPGreekTest}
71 \end{verbatim}
72
73 \section{Contributing}
74 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}}
75 \section{Licensing}
76 STEP is licensed under the Open Font License (OFL) version 1.1; see \texttt{STEP-COPYING} for details.
77 \end{document}