diff options
Diffstat (limited to 'fonts/newtx/doc/newtxdoc.tex')
-rw-r--r-- | fonts/newtx/doc/newtxdoc.tex | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/fonts/newtx/doc/newtxdoc.tex b/fonts/newtx/doc/newtxdoc.tex index 4390083f97..de1bb31954 100644 --- a/fonts/newtx/doc/newtxdoc.tex +++ b/fonts/newtx/doc/newtxdoc.tex @@ -21,7 +21,7 @@ % some ad-hoc symbol fonts \font\fAMSa=msam10 at \fsc \font\fAMSb=msbm10 at \fsc - +\font\ebgmi=ntxebgmi at 11.5pt %\pdfmapfile{=newtx.map} \usepackage[T1]{fontenc} % Active encoding for use in math text %\renewcommand{\rmdefault}{minntx}% Roman and Bold Termes for math @@ -933,7 +933,7 @@ Don't use these unless you know what you're doing. \item {\tt varvw} causes the math italic letters \verb|v,w| to be replaced by versions which are more distinctive---eg, useful for distinguishing math italic \verb|v| from \verb|\nu|; \item {\tt libertine} loads different versions of math italic and bold math italic based on \textsf{Libertine} 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 (new in version 1.55) {\tt stix2} loads different versions of math italic and bold math italic based on \textsf{StixTwoMath} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. See the documentation to the {\tt SticksToo} package, which contains more details and some math samples. -\item (new in version 1.60) {\tt ebgaramond} loads different versions of math italic and bold math italic based on \textsf{EBGaramond} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. See the end of Appendix 2 for an example of a preamble. +\item (new in version 1.60) {\tt ebgaramond} loads different versions of math italic and bold math italic based on \textsf{EBGaramond} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. See the end of Appendix 2 for an example of a preamble. You may in addition specify option {\tt alth} which changes the shape of math h from {\ebgmi h} to {\ebgmi\char250}. (The renderings of \verb|\hslash| and \verb|\hbar| are also changed.) \item (new as of version 1.629) {\tt noto, notosans} load different versions of math italic and bold math italic based on \textsf{NotoSerif}, \textsf{NotoSans} rather than \textsf{Times}. There are some intricacies involved, for which there is a separate package, {\tt notomath}, that tries to offer as simple an interface as it was possible for me to devise. \item (new in version 1.62) {\tt nc, ncf} load different versions of math italic and bold math italic based on \textsf{ScholaX} (\textsf{New Century Schoolbook}) rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. The difference is that option {\tt nc} loads math Greek letters from {\tt newtxmath}, while option {\tt ncf} loads math greek from an adaptation of {\tt fourier} Greek. \item {\tt minion} loads different versions of math italic and bold math italic based on \textsf{MinionPro} 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---see the extended discussion below; @@ -1237,7 +1237,6 @@ The text glyphs dotlessi (\verb|\i|) and dotlessj (\verb|\j|) are rarely needed \hline \end{tabular} \end{center} -\newcommand{\xyvec}[2]{\ensuremath{#1\mkern1.5mu\bm{\textbf{\i}}#2\mkern1.5mu\bm{\textbf{\j}}}} In math, bold roman characters are often used to indicate vector quantities, and for this one uses constructions like \begin{itemize} @@ -1251,11 +1250,21 @@ In math, bold roman characters are often used to indicate vector quantities, and \verb|$\bm{\hat{\mathbf{x}}}$| produces $\bm{\hat{\mathbf{x}}}$ (with a bold accent); \item \verb|$\bm{\dot{x}}$| produces $\bm{\dot{x}}$ (bold but not roman); \item the macro definition +\newcommand{\xyvec}[2]{% +\ensuremath{#1\mkern1.5mu\textbf{\i}#2\mkern1.5mu\textbf{\j}}} \begin{verbatim} \newcommand{\xyvec}[2]{% -\ensuremath{#1\mkern1.5mu\bm{\textbf{\i}}#2\mkern1.5mu\bm{\textbf{\j}}}} +\ensuremath{#1\mkern1.5mu\textbf{\i}#2\mkern1.5mu\textbf{\j}}} \end{verbatim} allows you to write \verb|\xyvec{x}{+y}| to output $\xyvec{x}{+y}$; +\item Another similar macro calls upon the Blackboard Bold alphabets described in detail in the next section: +\renewcommand{\xyvec}[2]{% +\ensuremath{#1\mkern1.5mu\bm{\bbdotlessi}#2\mkern1.5mu\textbf{\bbdotlessj}}} +\begin{verbatim} +\renewcommand{\xyvec}[2]{% +\ensuremath{#1\mkern1.5mu\bm{\bbdotlessi}#2\mkern1.5mu\textbf{\bbdotlessj}}} +\end{verbatim} +so that \verb|\xyvec{x}{+y}| outputs $\xyvec{x}{+y}$. \item \verb|$\bm{\Gamma}$| produces $\bm{\Gamma}$ (bold Gamma); \item \verb|$\bm{\hat{\Gamma}}$| produces $\bm{\hat{\Gamma}}$ (bold Gamma with bold accent). \end{itemize} @@ -1530,14 +1539,15 @@ As {\tt ebgaramond} has an x-height considerably smaller than {\tt newtx}, some \usepackage[varqu,varl]{inconsolata}% a typewriter font for \mathtt \usepackage{amsmath}% must be loaded before amsthm, if using \usepackage{amsthm}% must be loaded before newtxmath -\usepackage[ebgaramond,vvarbb,subscriptcorrection]{newtxmath} % STIX Bbb +\usepackage[ebgaramond,vvarbb,subscriptcorrection,alth]{newtxmath} % STIX Bbb +% Option alth replaces math h with a more traditional shape \usepackage{bm}% load after all math to give access to bold math \end{verbatim} \textsc{Same preamble using newtx:} \begin{verbatim} \usepackage[T1]{fontenc} % best for Western European languages \usepackage[varqu,varl]{inconsolata}% a typewriter font for \mathtt -\usepackage[ebgaramond,semibold,textscale=0,vvarbb,subscriptcorrection,amsthm]{newtx} +\usepackage[ebgaramond,semibold,textscale=0,vvarbb,subscriptcorrection,amsthm,alth]{newtx} \usepackage{bm}% load after all math to give access to bold math \end{verbatim} %} |