diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex index 99b0e4b3608..b4a906ddf72 100644 --- a/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex +++ b/Master/texmf-dist/doc/fonts/xcharter/xcharter-doc.tex @@ -9,20 +9,21 @@ \usepackage[margin=1in]{geometry} \usepackage[parfill]{parskip} \usepackage{graphicx} -\pdfmapfile{=XCharter.map} -\pdfmapfile{=newtx.map} +%\pdfmapfile{=XCharter.map} +%\pdfmapfile{=newtx.map} \usepackage[scaled=1.03,varqu,varl]{inconsolata} \usepackage[type1]{cabin} \usepackage[scaled=.98,osf]{XCharter} \usepackage[OT2,T2A,T1]{fontenc} \linespread{1.04} -\usepackage[charter,vvarbb,scaled=1.05]{newtxmath} +\usepackage[charter,alty,vvarbb,scaled=1.05]{newtxmath} \usepackage[cal=boondoxo]{mathalfa} \font\osfIfnt=XCharter-Roman-tosf-t1 at 11pt \font\osffnt=XCharter1-Roman-tosf-t1 at 11pt \usepackage{fonttable} \usepackage{booktabs} \usepackage{url} +\def\Sha{{\usefont{OT2}{XCharter-TLF}{m}{n}\char88 }} \newcommand\cyrtext{\fontfamily{XCharter-TLF}\fontencoding{OT2}\selectfont} % declaration \DeclareTextFontCommand{\textcyr}{\cyrtext} %macro with argument %\usepackage[cal=rsfso]{mathalfa} @@ -70,8 +71,8 @@ one slot in upright and slanted shapes and five slots in italic shapes, as expec \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---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, 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|.) -\newpage +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, 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}.) +%\newpage \textsc{Example 1:} \begin{verbatim} @@ -229,6 +230,10 @@ Note that, while the OT$2$ encoded font is complete, there are many gaps in the \textsc{XCharter-Roman-tlf-ot2.tfm}:\\ \fonttable{XCharter-Roman-tlf-ot2} +This encoding contains the upright {\tt Sha} glyph in slot 88. This may be used in mathematical formulas by defining +\verb|\def\Sha{{\usefont{OT2}{XCharter-TLF}{m}{n}\char88 }}| +so that one may write \verb|$\text{\Sha}(A/K)$| for the Tate–Shafarevich group $\text{\Sha}(A/K)$. + \textsc{Example OT$2$ Preamble:} \begin{verbatim} |