summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-28 21:07:02 +0000
committerKarl Berry <karl@freefriends.org>2018-03-28 21:07:02 +0000
commit91a7ba2cddb1abdf94831eae403a2bebe295c5c2 (patch)
tree539f50ccc619652f6371ed18b341b451c658cf36 /Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
parente455294ea7a48c31a8e66a53a1ac6cafcee13932 (diff)
newtx (28mar18)
git-svn-id: svn://tug.org/texlive/trunk@47160 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex22
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
index 5cc458b151e..fdd65735b4e 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
@@ -23,7 +23,7 @@
\newtheorem{thm}{Theorem}[section]
%\pdfmapfile{=newtx.map}
\usepackage[osf,largesc,theoremfont]{newtxtext}
-\usepackage[T1]{fontenc}
+\usepackage[OT1]{fontenc}
\usepackage[varqu,varl]{zi4}
%\traceon
\usepackage{newtxmath}
@@ -98,11 +98,27 @@ More generally, the pattern of the preamble should be:
[optional] \usepackage{substitutefont} % so you can change babel's fonts
[optional] \usepackage[<babel options>]{babel}
\usepackage[p,osf]{newtxtext}% osf in text, lining figures in math
+[optional] redefine the plain theorem style if necessary
<other font loading commands>
\usepackage{newtxmath}
<substitutefont commands>
\end{verbatim}
-Here is a specific example following this pattern.
+As an example of a {\tt theoremstyle} definition,
+\begin{verbatim}
+\usepackage[theoremfont]{newtxtext}
+%%% modify the default definition of plain to reduce spacing above and below
+\newtheoremstyle{plain}
+{0pt} % ABOVESPACE, extra space above
+{0pt} % BELOWSPACE, extra space below
+{\slshape} % BODYFONT, italic with upright figures and punctuation
+{} % INDENT (empty value is the same as 0pt)
+{\bfseries} % HEADFONT
+{.} % HEADPUNCT
+{5pt plus 1pt minus 1pt} % HEADSPACE
+{} % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section]
+\end{verbatim}
+
+Here is a specific example following this pattern, but without {\tt theoremfont}.
\begin{verbatim}
\usepackage[LGR,T1]{fontenc} % spell out all text encodings used
\usepackage[utf8]{inputenc} %
@@ -197,7 +213,7 @@ Don't use these unless you know what you're doing.
\item {\tt garamondx} loads different versions of math italic and bold math italic based on \textsf{garamondx} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
\item {\tt baskervaldx} (or {\tt Baskervaldx}) loads different versions of math italic and bold math italic based on \textsf{Baskervaldx} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
\item {\tt baskerville} (or {\tt Baskerville}, or {\tt baskervillef} or {\tt BaskervilleF}) loads different versions of math italic and bold math italic based on \textsf{BaskervilleF} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
-\item {\tt charter} (or {\tt xcharter}) loads different versions of math italic and bold math italic based on \textsf{XCharter} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default. \textbf{As of version 1.53, Greek letters in all styles are takenn from new alphabets constructed to match the Charter style.}
+\item {\tt charter} (or {\tt xcharter}) loads different versions of math italic and bold math italic based on \textsf{XCharter} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default. \textbf{As of version 1.53, Greek letters in all styles are taken from new alphabets constructed to match the Charter style.}
\item {\tt cochineal} loads different versions of math italic and bold math italic based on \textsf{cochineal} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case.
\item {\tt utopia} (or {\tt heuristica} or {\tt erewhon}) loads different versions of math italic and bold math italic based on \textsf{Utopia} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default. The Heuristica or Erewhon font package must be installed to use this option. (Erewhon is based on Heuristica, but is 6\% smaller and has more complete figures styles and small cap styles, as well as a variety of smaller figures---superior, inferior, numerator, denominator.) For example:
\begin{verbatim}