texlive[64544] Master/texmf-dist: xcharter-math (28sep22)
commits+karl at tug.org
commits+karl at tug.org
Wed Sep 28 22:08:22 CEST 2022
Revision: 64544
http://tug.org/svn/texlive?view=revision&revision=64544
Author: karl
Date: 2022-09-28 22:08:22 +0200 (Wed, 28 Sep 2022)
Log Message:
-----------
xcharter-math (28sep22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md
trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
trunk/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf
trunk/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty
Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md 2022-09-28 20:08:08 UTC (rev 64543)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md 2022-09-28 20:08:22 UTC (rev 64544)
@@ -54,6 +54,9 @@
- 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
Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx 2022-09-28 20:08:08 UTC (rev 64543)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx 2022-09-28 20:08:22 UTC (rev 64544)
@@ -35,7 +35,7 @@
\title{\decofourleft\,\XCotf\,\decofourright}
\author{Daniel Flipo \\ \texttt{daniel.flipo at free.fr}}
-\newcommand*{\version}{0.32}
+\newcommand*{\version}{0.33}
\begin{document}
\maketitle
@@ -42,11 +42,11 @@
\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 @@
\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 @@
\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 @@
\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 @@
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 @@
\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 @@
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 @@
\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 @@
\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 @@
\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 @@
$\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 @@
$\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{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, \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+).
-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+).
-
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:
Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/unimath-xcharter.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/opentype/public/xcharter-math/XCharter-Math.otf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty 2022-09-28 20:08:08 UTC (rev 64543)
+++ trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty 2022-09-28 20:08:22 UTC (rev 64544)
@@ -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 at 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
More information about the tex-live-commits
mailing list.