summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
index e8ab5b6218d..22effa51f0f 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
+++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
@@ -7,8 +7,8 @@
\usepackage[scaled=.98]{XCharter}
\usepackage[T1]{fontenc}
\linespread{1.04}
-\usepackage[libertine,scaled=1.07]{newtxmath}
-\usepackage[cal=boondoxo,bb=boondox,frak=boondox]{mathalfa}
+\usepackage[libertine,bigdelims,vvarbb,scaled=1.07]{newtxmath}
+\usepackage[cal=boondoxo]{mathalfa}
\useosf
\font\osfIfnt=XCharter-Roman-tosf-t1 at 11pt
\font\osffnt=XCharter1-Roman-tosf-t1 at 11pt
@@ -30,15 +30,15 @@ Support files are provided for T$1$, TS$1$ and LY$1$ encodings. The package has
\item
{\tt scaled=.98}, for example, scales all text to 98\% of specified size;
\item {\tt lining} (or just {\tt lf}) makes lining figures ($0123456789$) the default for text---this is set automatically and does not need to be entered explicitly;
-\item {\tt oldstyle} (or {\tt osf}) sets the figure style to oldstyle (\textosf{0123456789}) with numeral one like a shortened $1$;
-\item {\tt oldstyleI} (or {\tt osfI}) sets the figure style to oldstyle (\textosfI{0123456789}) with numeral one like a shortened I;
+\item {\tt oldstyle} (or {\tt osf}) sets the figure style in text mode to oldstyle (\textosf{0123456789}) with numeral one like a shortened $1$, but math mode will always use lining figures;
+\item {\tt oldstyleI} (or {\tt osfI}) sets the figure style in text mode to oldstyle (\textosfI{0123456789}) with numeral one like a shortened I, but math mode will always use lining figures;
\item {\tt sups} sets the style for superscript figures (eg, footnote markers) to XCharter's superior figures rather than using the default text inserts in mathematical superscripts.
\end{itemize}
\textsc{Special Macros:}
\begin{itemize}
\item
-\verb|\useosf| (usable only in the preamble) is handy for changing the text figure style to {\tt osf}---see example 2 below. It must be loaded after {\tt newtxmath} so that math mode doesn't use oldstyle figures.
-\item \verb|\useosfI| (usable only in the preamble) is handy for changing the text figure style to {\tt osfI}. It must be loaded after {\tt newtxmath} so that math mode doesn't use oldstyle figures.
+\verb|\useosf| (usable only in the preamble) may be used for changing the text figure style to {\tt osf} though math mode will use lining figures.
+\item \verb|\useosfI| (usable only in the preamble) may ne used for changing the text figure style to {\tt osfI} though math mode will use lining figures.
\item \verb|\textsu| prints its argument in superior figures, eg \verb|\textsu{12}| results in \textsu{12}. The effect is the same with \verb|{\sustyle 12}|.
\item \verb|\textlf| prints its argument in lining figures, eg \verb|\textlf{12}| results in \textlf{12}. The effect is the same with \verb|{\lfstyle 12}|.
\item \verb|{\osfstyle 23}| prints \textosf{23} using whatever oldstyle option is in force.
@@ -56,13 +56,12 @@ Two math packages seem to provide reasonable companions for \textsf{XCharter}. T
\textsc{Example 2:}
\begin{verbatim}
-\usepackage[scaled=.98,sups]{XCharter}% lining figures in math
+\usepackage[scaled=.98,sups,osf]{XCharter}% lining figures in math, osf in text
\usepackage[scaled=1.04,varqu,varl]{zi4}% inconsolata typewriter
\usepackage[type1]{cabin}% sans serif
-\usepackage[libertine,bigdelims,scaled=1.07]{newtxmath}
-\usepackage[cal=boondoxo,bb=boondox,frak=boondox]{mathalfa}
+\usepackage[libertine,bigdelims,vvarbb,scaled=1.07]{newtxmath}
+\usepackage[cal=boondoxo]{mathalfa}
\linespread{1.04}
-\useosf % oldstyle figures in text
\end{verbatim}
Here is a short sample based on the preamble of \textsc{Example 2}:\\[4pt]
\def\Pr{\ensuremath{\mathbb{P}}}
@@ -80,7 +79,7 @@ and variance $1$ on a probability space $(\Omega,\mathcal{F},\Pr)$. Then}
\int_{-\infty}^y \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,
\mathrm{d}t\quad\mbox{as $n\to\infty$,}\]
\textit{or, equivalently, letting} $S_n\coloneq\sum_1^n X_k$,
-\[\mathbb{E} f(S_n/\sqrt{n})\to \int_{-\infty}^\infty f(t)
+\[\mathbb{E} f\left(S_n/\sqrt{n}\right)\to \int_{-\infty}^\infty f(t)
\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})$.}\]