summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-05-08 20:10:39 +0000
committerKarl Berry <karl@freefriends.org>2023-05-08 20:10:39 +0000
commit814c83a483648ad4f1e2567ecf6e0b8337c8d910 (patch)
tree1a4a3d7fa96ba30f190f7d9d6ecab2b0c3975c84 /Master/texmf-dist/doc
parentece2df3e2734b1951247bc7eedf194ccef728137 (diff)
newtxsf (8may23)
git-svn-id: svn://tug.org/texlive/trunk@67051 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/fonts/newtxsf/README8
-rw-r--r--Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.pdfbin312975 -> 245268 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.tex15
3 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxsf/README b/Master/texmf-dist/doc/fonts/newtxsf/README
index 3c5571beae2..92a41e214f6 100644
--- a/Master/texmf-dist/doc/fonts/newtxsf/README
+++ b/Master/texmf-dist/doc/fonts/newtxsf/README
@@ -2,10 +2,14 @@ This small package provides a math package that amounts to modifications of the
http://www.ctan.org/license/lppl1.3
for the details of that license.
-Current version: 1.054 2020-05-16
+Current version: 1.055 2023-05-07
+
+Changes in version 1.055
+1. Added option noSTIXops to newtxsf to allow forcing figures in math mode to be chosen from the text font rather than STIX sans serif.
+2. Modified the documentation to add important information about usage with fontspec. (Thanks Alexander Adolf.)
Changes in version 1.054
-Modified the metric setting affexting \Big, \bigg and \Bigg so that they work as expected.
+Modified the metric setting affecting \Big, \bigg and \Bigg so that they work as expected.
(Thanks Yaosheng Chen for catching this problem.)
diff --git a/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.pdf b/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.pdf
index a21296c5145..bc3fcbe0a6b 100644
--- a/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.pdf
+++ b/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.tex b/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.tex
index 7ffd7f12712..f2fc1b0aa5a 100644
--- a/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.tex
+++ b/Master/texmf-dist/doc/fonts/newtxsf/newtxsf-doc.tex
@@ -36,6 +36,8 @@ The options are much simpler than in {\tt newtxmath}, as I have ruled out a numb
\item {\tt uprightGreek} specifies the use of upright rather than slanted Greek symbols for uppercase only.
\item {\tt slantedGreek} does the opposite.
\item {\tt frenchmath} forces uppercase and lowercase Greek to upright shape and makes uppercase math Roman letters render in upright rather than slanted shape.
+\item {\tt noSTIXops} (added in version 1.055) prevents the package from defaulting to STIX sans serif for math figures, leading instead to use of the figures in the Roman text font.
+
\end{itemize}
\section{Package features}
There is little difference between the symbols available using this package and those available in {\tt newtxmath}, taking into account the reduced set of options, and the latter are adequately described in the documentation for {\tt newtx}. The differences are as follows.
@@ -50,6 +52,7 @@ Unlike {\tt newtxmath}, {\tt newtxsf} defines its own figures and makes no use o
\end{itemize}
\section{Package examples}
+\subsection{}
In this documentation, the text font is \emph{FiraSans} scaled down to more closely match \emph{newtxsf}. (As \emph{FiraSans} has an xheight about 17\% greater than \emph{newtxsf}, some scaling is important.)
It uses the following preamble.
\begin{verbatim}
@@ -58,7 +61,7 @@ It uses the following preamble.
\usepackage{textcomp}
\usepackage[varqu,varl]{zi4}% inconsolata typewriter
\usepackage{amsmath,amsthm}
-\usepackage[cmintegrals]{newtxsf}
+\usepackage{newtxsf}
\end{verbatim}
Here's a piece math to illustrate mathematical text---note the use of upright forms of $\uppi$ and $\mathrm{d}$, following the ISO rules.
@@ -74,5 +77,15 @@ and variance $1$ on a probability space $(\Omega,\mathcal{F},\mathbb{P})$. Then}
\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})$.}\]
+\subsection{}
+For use with fontspec, it is important to load fontspec with option {\tt no-math} so that fontspec does not override some of the non-unicode settings in {\tt newtxsf}.
+\begin{verbatim}
+\usepackage[no-math]{fontspec}
+\setmainfont{Helvetica Neue Light}
+[BoldFont={Helvetica Neue Bold}, ItalicFont={* Italic}]
+\setmonofont{Inconsolatazi4-Regular.otf}[Scale=MatchLowercase]
+\usepackage{amsmath,amsthm}
+\usepackage[noSTIXops,scaled=1.06]{newtxsf}
+\end{verbatim}
\end{document}