summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-28 20:08:22 +0000
committerKarl Berry <karl@freefriends.org>2022-09-28 20:08:22 +0000
commit06f184f493223d25744c357e4a71fb7cc41a3734 (patch)
tree3f98175e7051f708440a9d8d693b6325d933a674 /Master/texmf-dist
parent4fd7178b4a55b84a643af8f0603d3398eeba2b5f (diff)
xcharter-math (28sep22)
git-svn-id: svn://tug.org/texlive/trunk@64544 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter-math/README.md3
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx94
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdfbin150182 -> 178643 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdfbin1847513 -> 1847588 bytes
-rw-r--r--Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otfbin324440 -> 324616 bytes
-rw-r--r--Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty8
6 files changed, 55 insertions, 50 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter-math/README.md b/Master/texmf-dist/doc/fonts/xcharter-math/README.md
index 52a03090394..0b41e97b130 100644
--- a/Master/texmf-dist/doc/fonts/xcharter-math/README.md
+++ b/Master/texmf-dist/doc/fonts/xcharter-math/README.md
@@ -54,6 +54,9 @@ Either version 1.3 or, at your option, any later version.
- all vertical delimiters resized.
- \mathslash, \backslash and their vertical variants: slope corrected.
- xcharter-otf.sty now loads realscripts for better superscripts.
+* v0.33:
+ - Experimental Bold variant added.
+ - xcharter-otf.sty loads XCharter-Math.otf by file name for XeTeX.
---
Copyright 2022- Daniel Flipo
diff --git a/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx b/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
index 601146389fe..90965b770e3 100644
--- a/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
+++ b/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
@@ -35,18 +35,18 @@
\title{\decofourleft\,\XCotf\,\decofourright}
\author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}}
-\newcommand*{\version}{0.32}
+\newcommand*{\version}{0.33}
\begin{document}
\maketitle
\section{What is \XCotf{}?}
-\XCotf{} is an Opentype mathematical font based on Bitstream Charter
+\XCotf{} is an OpenType maths font based on Bitstream Charter
meant to be used with XCharter text fonts.
-Latin and Greek letters and many Math symbols are borrowed or
-derived from Mickael Sharpe’s XCharter fonts. Other sources for Math glyphs
+Latin and Greek letters and many maths symbols are borrowed or
+derived from Michael Sharpe’s XCharter fonts. Other sources for maths glyphs
were found in MathDesign (by Paul Pichaureau) and \FGUT{} (by Michel Bovani).
It requires LuaTeX or XeTeX as engine and the \pkg{unicode-math} package%
@@ -66,14 +66,18 @@ A basic call for \XCotf{} would be:
\setmathfont{XCharter-Math.otf} % Call by file name or
\setmathfont{XCharter Math} % Call by font name
\end{verbatim}
-this loads \XCotf{} as math font with the default options, see
-subsections~\vref{ssection-um}, \vref{ssection-cv} and~\vref{ssection-ss}
-for customisation.
+this loads \XCotf{} as maths font%
+\footnote{Both calls work equally well with LuaTeX; with XeTeX a call by font
+ name will fail unless the font is declared as a \emph{system font}.}
+with the default options, see subsections~\vref{ssection-um},
+\vref{ssection-cv} and~\vref{ssection-ss} for customisation.
-\enlargethispage*{\baselineskip}
Please note that the three sets of text fonts have to be chosen separately,
-f.i.:\\[.25\baselineskip]
-\verb+\setmainfont{XCharter}+\\
+f.i.:%\\[.25\baselineskip]
+
+\pagebreak[4]
+\noindent
+\verb+\setmainfont{XCharter} % rm+\\
\verb+\setsansfont{Cabin}[Scale=MatchLowercase] % sf+\\
\verb+\setmonofont{Inconsolatazi4}[Scale=MatchLowercase] % tt+\\[.25\baselineskip]
otherwise you would get Latin Modern for text fonts.
@@ -87,7 +91,7 @@ As an alternative to load \XCotf{} you can type:\\[.5\baselineskip]
\ref{ssection-cv} and \ref{ssection-ss}.}%
\verb+ ]{xcharter-otf}+\\[.5\baselineskip]
it loads \pkg{unicode-math} with the default options, sets XCharter-Math
-as Math font and XCharter Text fonts as Roman fonts
+as maths font and XCharter Text fonts as Roman fonts
(families \textit{sf} and \textit{tt} left unchanged) but does a bit more:
\begin{enumerate}
\item it loads \pkg{realscripts} for better superscripts;
@@ -95,18 +99,18 @@ as Math font and XCharter Text fonts as Roman fonts
\pkg{latexsym} are loaded and issues warnings in case they are;
\item it provides aliases for glyphs named differently in Unicode, so that
\pkg{latexsym} or AMS names are also available;
-\item it defines specific Math characters like
+\item it defines specific maths characters like
\showmchar{varemptyset},
\showmchar{parallelslant},
\showmchar{shortparallelslant}, etc.;
-\item it reduces spacing in math mode: \cmd{thinmuskip}, \cmd{medmuskip}
+\item it reduces spacing in maths mode: \cmd{thinmuskip}, \cmd{medmuskip}
and \cmd{thickmuskip} unless the \opt{loose} option is activated.
\end{enumerate}
-Apart from the \opt{loose} option mentionned above, \pkg{xcharter-otf.sty}
+Apart from the \opt{loose} option mentioned above, \pkg{xcharter-otf.sty}
provides two options \opt{no-text} and \opt{Scale=}\textsl{<decimal>} meant to
be used to load the \XCotf{} font together with roman text fonts other than
-XCharter, while keeping the advantages 1. to~5. pointed in the preceeding list,
+XCharter, while keeping the advantages 1. to~5. pointed in the preceding list,
f.i.\\ \verb+\usepackage[no-text,Scale=0.98]{xcharter-otf}+
Option \opt{no-text} can also be useful if XCharter is to be loaded with
@@ -122,7 +126,7 @@ two packages \emph{should not} be loaded as they might override \XCotf{} glyphs.
Sans-serif, typewriter and fraktur styles are borrowed from Latin Modern fonts.
See in section~\vref{ssec-math-alphabets} how to choose
-from other Math fonts for these styles.
+from other maths fonts for these styles.
A full list of available glyphs is shown in file \file{unimath-xcharter.pdf}.
@@ -130,9 +134,9 @@ A full list of available glyphs is shown in file \file{unimath-xcharter.pdf}.
\label{ssection-um}
Package \pkg{unicode-math} follows \TeX{} conventions for Latin and Greek
-letters: in math mode, the default option (\opt{math-style=TeX}) prints
-Latin letters $a$…$z$ $A$…$Z$ and lowercase greek letters $\alpha$…$\omega$
-slanted (italic) while uppercase greek letters $\Alpha \Beta \Gamma$…$\Omega$
+letters: in maths mode, the default option (\opt{math-style=TeX}) prints
+Latin letters $a$…$z$ $A$…$Z$ and lowercase Greek letters $\alpha$…$\omega$
+slanted (italic) while uppercase Greek letters $\Alpha \Beta \Gamma$…$\Omega$
are printed upright.
This can be changed by option \opt{math-style} as shown in
table~\vref{math-style}.
@@ -198,7 +202,7 @@ while the default settings would print
Both shapes remain available anytime: \verb+$\uppi,\itpi$+
prints $\uppi, \itpi$.
-If your text editor is able to handle greek letters or math symbols, they can
+If your text editor is able to handle Greek letters or maths symbols, they can
be entered in the code instead control sequences (i.e.
$\symup{α}$, $\symup{β}$, $\symup{Γ}$,… for \cmd{alpha}, \cmd{beta},
\cmd{Gamma},…).
@@ -268,12 +272,12 @@ variant \texttt{cv01} or with \cmd{mithbar} (replacement for AMS’ command
\label{ssection-ss}
\XCotf{} provides five ``Stylistic Sets’’ options to choose between different
-glyphs for families of mathematical symbols.
+glyphs for families of maths symbols.
\verb+StylisticSet=4+, alias%
\footnote{These \texttt{Style} aliases are provided by \file{xcharter-otf.sty}.}
\verb+Style=leqslant+, converts large
-inequalites into their slanted variants, see table~\vref{ss04}.
+inequalities into their slanted variants, see table~\vref{ss04}.
\verb+StylisticSet=5+, alias \verb+Style=smaller+, converts some symbols into
their smaller variants, see table~\vref{ss05}.
@@ -407,7 +411,7 @@ variants, see table~\vref{ss03}.
\subsection{Other font features}
\label{ssec-other-features}
-To get oldstyle numbers in Maths, the feature \texttt{+onum} is available:
+To get oldstyle numbers in maths, the feature \texttt{+onum} is available:
\begin{verbatim}
\setmathfont{XCharter-Math.otf}[Numbers=OldStyle] or
\usepackage[Style={fulloldstyle]{xcharter-otf}
@@ -420,11 +424,11 @@ $0123456789, \symbf{0123456789}$
\subsection{Standard \LaTeX{} math commands}
\label{ssec-math-commands}
-All standard \LaTeX{} math commands, all \pkg{amssymb} commands and all
+All standard \LaTeX{} maths commands, all \pkg{amssymb} commands and all
\pkg{latexsym} commands are supported by \XCotf{}, for some of them loading
\pkg{xcharter-otf.sty} is required.
-Various wide acccents are also supported:
+Various wide accents are also supported:
\begin{itemize}
\item \cmd{widehat} and \cmd{widetilde}
\[\widehat{x}\; \widehat{xx} \;\widehat{xxx} \;\widehat{xxxx}\;
@@ -519,7 +523,7 @@ $\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
$\symsfup{ABCDEFGHIJKLM abcdefghijk}\quad\symsfit{NOPQRSTUVWXYZ mnopqrstuvwxyz}$
- but it can be borrowed from another Math font, i.e.
+ but it can be borrowed from another maths font, i.e.
\begin{verbatim}
\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit},
Scale=MatchUppercase]
@@ -533,7 +537,7 @@ $\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad
$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
-but it can be borrowed from another Math font, i.e.
+but it can be borrowed from another maths font, i.e.
\begin{verbatim}
\setmathfont{STIXTwoMath-Regular.otf}[range=tt,
Scale=MatchUppercase]
@@ -543,35 +547,33 @@ $\symtt{ABCDE...XYZ abcde...xyz}$
$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
\end{itemize}
-%\item Sans serif and Typewriter alphabets are not implemented
-% but they can be borrowed from another Math font, i.e.
-%\begin{verbatim}
-%\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit,tt},
-% Scale=MatchUppercase]
-%$\symsfup{ABCD...klm}\quad\symsfit{NOPQ...xyz}$
-%$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
-%\end{verbatim}
-%\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit,tt},Scale=MatchUppercase]
-%$\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad
-% \symsfit{NOPQRSTUVWXYZ nopqrstuvwxyz}$\\
-%$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
-%\end{itemize}
-
-Like Latin Modern, XCharter Math provides only four lowercase latin letters in
-script (or calligraphic) shape: $\mscre$, $\mscrg$, $\ell$, $\mscro$
-(\verb+\mscre+, \verb+\mscrg+, \verb+\ell+, \verb+\mscro+).
+Like Latin Modern, \pkg{XCharter-Math} provides only four lowercase latin
+letters in script (or calligraphic) shape: $\mscre$, $\mscrg$, $\ell$,
+$\mscro$ (\verb+\mscre+, \verb+\mscrg+, \verb+\ell+, \verb+\mscro+).
All others (range \verb+"1D4B6+ to \verb+"1D4CF+) have to be borrowed
-from another Math font if needed, i.e.
+from another maths font if needed, i.e.
\begin{verbatim}
\setmathfont{LibertinusMath-Regular.otf}%
[range="1D4B6-"1D4CF, Scale=MatchLowercase]
\end{verbatim}
+\subsection{Bold variant}
+
+In case short maths formulas have to be printed in section titles,
+a \emph{limited} bold variant has been added in version~0.33. Example of usage:\\
+\verb+\setmathfont{XCharter-Math-Bold.otf}[version=bold, +\textit{options}\verb+]+\\
+\verb+\section{\mathversion{bold} Einstein’s equation $E=mc^2$}+
+
+\begin{verbatim}
+\setmathfont{XCharter-Math-Bold.otf}[version=bold]
+\section{\mathversion{bold} Einstein’s equation $E=mc^2$}
+\end{verbatim}
+
\subsection{Missing symbols}
\XCotf{} does not aim at being as complete as \file{STIXTwoMath-Regular} or
-\file{Cambria}, the current glyph coverage compares with TeXGyre Math fonts.
+\file{Cambria}, the current glyph coverage compares with TeXGyre maths fonts.
In case some symbols do not show up in the output file, you will see warnings
in the \file{.log} file, for instance:
diff --git a/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf b/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
index c39ca3e9214..a6243886fee 100644
--- a/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
+++ b/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf b/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf
index 63d9fec392e..c696a9a33a1 100644
--- a/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf
+++ b/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf b/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
index 5bf946707ca..928ea3d08b7 100644
--- a/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
+++ b/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty b/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty
index 32eca6012b0..a7207936d38 100644
--- a/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty
+++ b/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2018/01/01]
-\def\fileversion{0.32}
-\def\filedate{2022-05-04}
+\def\fileversion{0.33}
+\def\filedate{2022-09-28}
\ProvidesPackage{xcharter-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -40,12 +40,12 @@
\DeclareOptionX{Scale}{\XCstore@KV@Option{Scale}{#1}}
\ExecuteOptionsX{tight}
\ProcessOptionsX
-% Math fonts: XCharter-Math
+% Math fonts: XCharter-Math.otf
% Following Joseph Wright in https://tex.stackexchange.com/questions/451
\begingroup
\edef\temp{%
\endgroup
- \noexpand\setmathfont{XCharter Math}%
+ \noexpand\setmathfont{XCharter-Math.otf}%
[\unexpanded\expandafter{\the\XCottoksM}]%
}
\temp