summaryrefslogtreecommitdiff
path: root/fonts/stickstoo/doc/stickstoo-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/stickstoo/doc/stickstoo-doc.tex')
-rw-r--r--fonts/stickstoo/doc/stickstoo-doc.tex16
1 files changed, 9 insertions, 7 deletions
diff --git a/fonts/stickstoo/doc/stickstoo-doc.tex b/fonts/stickstoo/doc/stickstoo-doc.tex
index 276a9980b4..1f12232053 100644
--- a/fonts/stickstoo/doc/stickstoo-doc.tex
+++ b/fonts/stickstoo/doc/stickstoo-doc.tex
@@ -1,4 +1,4 @@
-% !TEX TS-program = pdflatexmk
+% !TEX TS-program = pdflatex
% Template file for TeXShop by Michael Sharpe, LPPL
\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
@@ -24,6 +24,7 @@
\begin{document}
\maketitle
+
\section{In short}
{\tt SticksToo} is a repackaging for \LaTeX\ of the text part of {\tt STIX2} that was released in early May 2018. The style file {\tt stix2.sty} does offer support for text processing at a rather basic level, but does not provide much access to the riches of the {\tt STIX2} Text fonts. With
{\tt SticksToo} there are most of the options and macros that are part of the {\tt newtxtext} package, but with Times fonts replaced by {\tt StixTwoText} fonts. As of the initial release of {\tt STIX2}, the math fonts have some problem which make them unsuited to high quality mathematical typesetting, and so I'm offering an update of {\tt newtxmath} with option {\tt stix2} that makes use of the Roman and Greek letters from {\tt STIX2} (the two year old beta version, not the one now available on CTAN)
@@ -43,7 +44,7 @@ scales everything up by 15\%.
These affect the figure style used in text. The default is {\tt tabular}, {\tt lining}, which is appropriate for math usage, and will be used in math mode no matter how you set the text figure option. E.g., {\tt p,osf} sets the text figure style to {\tt proportional}, {\tt oldstyle}, like \textosf{12345}.
{\tt scosf:}\\
-This option makes {\tt osf} the default figure style in small cap text.
+This option makes {\tt osf} the default figure style in small caps text.
{\tt theoremfont:}\\
This option redefines the meaning of \verb|\textsl| and substitutes it for \verb|\textit| in the definition of the {\tt plain} theorem style. \textsl{This is how the Theorem font looks: it is Italic but has upright punctuation symbols :;!? etc. The figures are not changed, but should in many cases be tabular lining figures, accessed using, e.g.,\/} \verb|\texttlf|.
@@ -57,7 +58,7 @@ texdoc newtx
\end{verbatim}
and look at its discussion of the newtx text options.
-\verb|\textosf, \texttosf, \textlf, \texttlf, \textsu, \textin, \textnu, \textde|:
+\verb|\textosf, \texttosf, \textlf, \texttlf, \textsu, \textinf, \textnu, \textde|:
These macros provide ways to use other figures styles, no matter what defaults may have been set. They denote respectively proportional oldstyle, tabular oldstyle, lining, tabular lining, superiors, inferiors, numerators and denominators, which render as follows.
\verb|\textosf{0123456789}| \textosf{0123456789}\\
@@ -65,11 +66,11 @@ These macros provide ways to use other figures styles, no matter what defaults m
\verb|\textlf{0123456789}| \textlf{0123456789}\\
\verb|\texttlf{0123456789}| \texttlf{0123456789}\\
\verb|\textsu{0123456789abc+-=()}| \textsu{0123456789abc+-=()}\\
-\verb|\textin{0123456789}| \textin{0123456789}\\
+\verb|\textinf{0123456789}| \textinf{0123456789}\\
\verb|\textnu{0123456789}| \textnu{0123456789}\\
\verb|\textde{0123456789}| \textde{0123456789}\\
-\verb|\textsu{1}\textnu{1}; \textin{1}\textde{1}| \textsu{1}\textnu{1}; \textin{1}\textde{1} \verb|Note the differences in size and baseline|
-\verb|\textfrac{17}{32}| \textfrac{17}{32} Constructs fractions using \verb|\textnu| and \verb|\textde|.
+\verb|\textsu{1}\textnu{1}; \textinf{1}\textde{1}| \textsu{1}\textnu{1}; \textinf{1}\textde{1} Note the differences in size and baseline.\\
+\verb|\textfrac{17}{32}| gives \textfrac{17}{32}, building fractions using \verb|\textnu| and \verb|\textde|. It has an optional argument for the whole number: \verb|\textfrac[1]{35}{64}| produces \textfrac[1]{35}{64}.
\section{Example preamble with math}
\textbf{Caution:} If you have an up-to-date distribution (TeXLive or MiKTeX), then there is an important change to note in the AMS classes, making the option {\tt noamsfonts} viable. If you plan to use the {\tt newtxmath} package with an AMS class, be sure to enable this option, as it will save you two of your precious sixteen math families. (The equivalent symbols are already in {\tt newtxmath} at a weight appropriate to Times and STIX2.)
@@ -79,9 +80,10 @@ These macros provide ways to use other figures styles, no matter what defaults m
\usepackage[p,osf]{stickstootext} % loads Helvetica as SF, newtxtt as TT
% T1 and textcomp are loaded by package. Change that here, if you want
% load replacements for Helvetica and newtxtt here, if desired
+\usepackage{amsmath} % must be loaded before amsthm
\usepackage{amsthm}% must be loaded before newtxmath
% amsmath and amssymb should not be loaded
-\usepackage[stix,vvarbb]{newtxmath}
+\usepackage[stix2,vvarbb]{newtxmath}
% vvarbb selects the STIX version of blackboard bold. See below.
\end{verbatim}
\section{Choices for blackboard bold}