summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-30 19:56:07 +0000
committerKarl Berry <karl@freefriends.org>2021-05-30 19:56:07 +0000
commitab310bc15e3e23b0626e3d4df145284c4f3645ed (patch)
treea5261aa6488b8e0617ec9bf6e24e7bb91d64cebc /Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
parent4a913731451463e51d6e4a7b3378a3ad6ea8a8f1 (diff)
xcharter (30may21)
git-svn-id: svn://tug.org/texlive/trunk@59394 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.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
index 5b2fb034a7e..76be5e5e891 100644
--- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
+++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex
@@ -35,7 +35,7 @@
\begin{document}
\maketitle
%\expandafter\show\csname oldstylenums \endcsname
-\traceon\oldstylenums{1}\traceoff
+%\traceon\oldstylenums{1}\traceoff
\section{Package Features}
The \emph{XCharter} fonts are extensions of the Bitstream Charter fonts, adding oldstyle figures (proportionally spaced only), superior figures and small caps in all styles. The original Charter fonts were created by famed font designer Matthew Carter in the late 1980's to enhance legibility of the output from printers of that era (laser, dot matrix, thermal and inkjet) with resolutions that would now be considered low---not far from modern screen resolutions. Their low contrasts, high x-heights and use of piecewise linear outlines where possible may make them interesting again as fonts that will render well on small devices and perhaps projected slides. (It's worth noting that the same designer provided Georgia for Microsoft. It is widely considered to be one of the clearest serifed fonts for viewing on screen, and bears a number of similarities to Charter, though the latter is heavier.)
@@ -54,6 +54,7 @@ Support files are provided for T$1$, TS$1$, LY$1$, T$2$A and OT$2$ encodings, th
\item {\tt scosf} makes oldstyle figures the default in small cap text, no matter what the global figure setting may be.
\item {\tt serbianc} is useful only with the T$2$A encoding. It modifies
one slot in upright and slanted shapes and five slots in italic shapes, as expected in Serbian Cyrillic. See the last section for examples.
+\item As of version 1.22, there is a theorem font option similar to those in newtx and newpx. A new font family, {\tt XCharterTH}, is made from the italic and bold italic faces of {\tt XCharter}, but having upright figures and punctuation that, IMO, look better than slanted ones in theorem statements and the like. For details, consult the brief descriptions below and the more discursive version in the documentation to {\tt newtx}. There is a {\tt theoremfont} option to {\tt XCharter} that works exactly the same as in {\tt newtx}.
\end{itemize}
@@ -71,6 +72,9 @@ one slot in upright and slanted shapes and five slots in italic shapes, as expec
\item Numerators and denominators are normally used only for constructing fractions, but may if needed be called using \verb|\textnumerator| and \verb|\textdenominator|. They are about 7\% smaller than superiors and inferiors. You may use \verb|\textde| and \verb|\textnu| as abbreviations, though the latter will not be available if {\tt babel} is loaded with {\tt greek} option.
\item The \verb|\textfrac| macro allows you to write, e.g., \verb|\textfrac{31}{32}| to get the simple fraction \textfrac{31}{32}, and \verb|\textfrac[2]{31}{32}| to get \textfrac[2]{31}{32}. (The optional argument, $2$ in the latter case, is always typeset in lining figures.)
\item \verb|\textcircled| renders its argument in raised and reduced small caps encircled by the {\tt bigcircle} glyph. E.g., \verb|\textcircled{X}| or \verb|\textcircled{x}| render as \textcircled{x}. The macro works also for numerals: \verb|\textcircled{2}| renders as \textcircled{2}.
+\item \verb|\textth| (and also \verb|\textthit|) render their arguments using the theorem fonts. For example:\\
+\verb|\textth{Theorem font (01234):!}| renders as \textth{Theorem font (01234):!} (note the upright figures and punctuation) and \verb|\textbf{\textth{Theorem font (01234):!}}| as \textbf{\textth{Theorem font (01234):!}}. The related font switch \verb|\thfamily| is defined so that, in essence, \verb|{\thfamily A12!}| and \verb|\textth{A12!}| are equivalent. In opentype processing, the {\tt StylisticSet 05} controls whether figures and punctuation are upright in italic shaped faces.
+
\end{itemize}
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---e.g., 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, as of version 1.11, uses a newly developed family of Greek symbols in \{regular, bold\} $\times$ \{upright, italic\} to match the style and italic angle of XCharter. This version is scalable and has a math italic v (plus a matching w) distinct from \verb|\nu|. (The option {\tt noxchvw} to {\tt newtxmath} changes the v and w to be the original Charter italic glyphs, which may lead to issues with \verb|\nu|. The option {\tt alty} to {\tt newtxmath/charter}, new as of version {\tt 1.203}, substitutes $y$ for the default \emph{y} which, IMO, works better in combination with other math symbols because it lacks the problematic tail of \emph{y}.)
@@ -112,7 +116,7 @@ Three math packages seem to provide reasonable companions for \textsf{XCharter}.
\textsc{Example 5:}
\begin{verbatim}
-% Adds instructions to produce a pdf conforming tp PDF/A-1b
+% Adds instructions to produce a pdf conforming to PDF/A-1b
\pdfcompresslevel=0
\pdfgentounicode=1
\input glyphtounicode.tex
@@ -204,8 +208,6 @@ As of version $1.206$, {\tt XCharter} has essentially full support for {\tt text
\textsc{XCharter-Roman-ts1}
\fonttable{XCharter-Roman-ts1}
\newpage
-\section{Blackboard Bold additions}
-As of version $1.214$, there are now additional characters available in the variant math BB alphabet. See the documentation to newtx for details.
\section{Usage with fontspec}
Because the package supplies a file named {\tt XCharter.fontspec} whose contents list the {\tt otf} files that correspond to each of Regular, Bold, Italic, BoldItalic, Slanted and BoldSlanted, you may load XCharter with just
\begin{verbatim}