diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex index 5a23fb4877b..7a925ca2e53 100644 --- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex @@ -84,25 +84,22 @@ to load the roman and typewriter text fonts at 93\% of normal size, and the sans \end{verbatim} load roman and typewriter text fonts at 95\% of normal size, and the sans serif (\textsf{Helvetica} clone) at scale $0.95*0.96$. -The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. As of version $1.23$, {\tt newtxtext} loads initially with lining figures so the math package uses lining figures in math mode. The option {\tt osf} changes the default to old-style figures in text at the very end of the preamble, forcing the use of old-style figures in text, but not math. In previous versions, it was necessary to run -\verb|\useosf| after loading {\tt newtxmath}. This is no longer required except in the circumstances described below. +The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. As of version $1.23$, {\tt newtxtext} loads initially with lining figures so the math package uses lining figures in math mode. The option {\tt osf} changes the default to old-style figures in text at the very end of the preamble, forcing the use of old-style figures in text, but not math. In earlier versions, it was necessary to run +\verb|\useosf| after loading {\tt newtxmath}. This is no longer required. If you use the {\tt babel} package, you should load it before {\tt newtxtext}---for example: -%may receive puzzling error messages if you used a preamble containing \begin{verbatim} \usepackage[<babel options>]{babel} \usepackage[osf]{newtxtext} -% works as expected if no math package loaded \end{verbatim} -If you want to use {\tt babel} and a math package, you have to be aware of an incompatibility between some {\tt babel} code and the {\tt etoolbox} command \verb|\AtEndPreamble|. In this case, use instead the more cumbersome form: +More generally, the pattern of the preamble should be: \begin{verbatim} <encoding options> [optional] \usepackage{substitutefont} % so you can change babel's fonts -\usepackage[<babel options>]{babel} -\usepackage{newtxtext} +[optional] \usepackage[<babel options>]{babel} +\usepackage[p,osf]{newtxtext}% osf in text, lining figures in math <other font loading commands> \usepackage{newtxmath} -\useosf % must immediately follow math package <substitutefont commands> \end{verbatim} Here is a specific example following this pattern. @@ -111,7 +108,7 @@ Here is a specific example following this pattern. \usepackage[utf8]{inputenc} % \usepackage{substitutefont} % so we can use fonts other than those in babel \usepackage[greek.polutoniko,english]{babel} -\usepackage[largesc]{newtxtext} % +\usepackage[largesc,osf]{newtxtext} % \usepackage[varqu,varl]{zi4}% inconsolata \usepackage{cabin}% sans serif \usepackage[vvarbb]{newtxmath} |