summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-11-06 23:28:28 +0000
committerKarl Berry <karl@freefriends.org>2014-11-06 23:28:28 +0000
commitd1b633a3dbd736ead493feafae7135466bf1004c (patch)
tree36e9077d0f11054ba88ad1faa0557acf06fef80d /Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
parentec7a1297e2d0b24b0373221d7d7f99eca726f0e6 (diff)
xcharter (6nov14)
git-svn-id: svn://tug.org/texlive/trunk@35529 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex23
1 files changed, 17 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
index 22effa51f0f..2cccb85c5da 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
+++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
@@ -1,15 +1,15 @@
+% !TEX TS-program = pdflatexmk
\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[parfill]{parskip}
-
+\pdfmapfile{=XCharter.map}
\usepackage[scaled=1.03,varqu,varl]{zi4}
\usepackage[type1]{cabin}
-\usepackage[scaled=.98]{XCharter}
+\usepackage[scaled=.98,osfI]{XCharter}
\usepackage[T1]{fontenc}
\linespread{1.04}
-\usepackage[libertine,bigdelims,vvarbb,scaled=1.07]{newtxmath}
+\usepackage[charter,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
@@ -45,7 +45,7 @@ Support files are provided for T$1$, TS$1$ and LY$1$ encodings. The package has
\item \verb|\textosf| prints its argument in oldstyle figures using, in effect, the {\tt osf} option---eg \verb|\textosf{12}| results in \textosf{12}.
\item \verb|\textosfI| prints its argument in oldstyle figures using, in effect, the {\tt osfI} option---eg \verb|\textosfI{12}| results in \textosfI{12}. \end{itemize}
-Two math packages seem to provide reasonable companions for \textsf{XCharter}. The first example uses Charter italics as math italics, but doesn't provide arbitrary scaling and doesn't sufficiently distinguish math italic v from mathematical Greek \verb|\nu|. Moreover, it is not easy to redefine \verb|\mathcal| to get a better math calligraphic alphabet---eg, the {\tt mathalfa} package fails. The second uses \textsf{libertine} italics and Greek in math mode, which is a good match to Charter in style and weight after scaling up, is arbitrarily scalable, has distinct math italic v and mathematical Greek \verb|\nu|, and is completely compatible with {\tt mathalfa}.
+Three math packages seem to provide reasonable companions for \textsf{XCharter}. The first example uses Charter italics as math italics, but doesn't provide arbitrary scaling and doesn't sufficiently distinguish math italic v from mathematical Greek \verb|\nu|. Moreover, it is not easy to redefine \verb|\mathcal| to get a better math calligraphic alphabet---eg, the {\tt mathalfa} package fails. The second uses \textsf{libertine} italics and Greek in math mode, which is a good match to Charter in style and weight after scaling up, is arbitrarily scalable, has distinct math italic v and mathematical Greek \verb|\nu|, and is completely compatible with {\tt mathalfa}. The third is a new revision of {\tt newtxmath} with option {\tt charter} (or, equivalently, {\tt xcharter}), which substitutes Charter italics as math italics and uses a back-slanted version of its slanted Greek symbols. This version is scalable and has a math italic v (plus a matching w) distinct from \verb|\nu|.
\textsc{Example 1:}
\begin{verbatim}
@@ -63,7 +63,18 @@ Two math packages seem to provide reasonable companions for \textsf{XCharter}. T
\usepackage[cal=boondoxo]{mathalfa}
\linespread{1.04}
\end{verbatim}
-Here is a short sample based on the preamble of \textsc{Example 2}:\\[4pt]
+
+\textsc{Example 3:}
+\begin{verbatim}
+\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[charter,bigdelims,vvarbb,scaled=1.07]{newtxmath}
+\usepackage[cal=boondoxo]{mathalfa}
+\linespread{1.04}
+\end{verbatim}
+
+Here is a short sample based on the preamble of \textsc{Example 3}:\\[4pt]
\def\Pr{\ensuremath{\mathbb{P}}}
\def\rmd{\mathrm{d}}
The typeset math below follows the ISO recommendations that only variables