texlive[75986] Master/texmf-dist: xcharter-math (5aug25)
commits+karl at tug.org
commits+karl at tug.org
Tue Aug 5 22:37:14 CEST 2025
Revision: 75986
https://tug.org/svn/texlive?view=revision&revision=75986
Author: karl
Date: 2025-08-05 22:37:13 +0200 (Tue, 05 Aug 2025)
Log Message:
-----------
xcharter-math (5aug25)
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-Bold.otf
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 2025-08-05 20:37:00 UTC (rev 75985)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter-math/README.md 2025-08-05 20:37:13 UTC (rev 75986)
@@ -127,7 +127,12 @@
\(f'\), \(f\prime\) and \(f^{\prime}\) produce the same output.
- `xcharter-otf.sty` has a new option `fakedscripts` to stop `realscripts`
package loading.
-
+* v0.66:
+ - Up and down arrows variants enhanced.
+ - Math table fixes for glyph horizontal/vertical composition.
+ - `xcharter-otf.sty` tunes \TeX, \LaTeX, \LaTeXe logos for the XCharter
+ fonts; option "no-logos" added to prohibit their redefinition.
+
---
Copyright 2022-2025 Daniel Flipo
E-mail: daniel (dot) flipo (at) free (dot) fr
Modified: trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx 2025-08-05 20:37:00 UTC (rev 75985)
+++ trunk/Master/texmf-dist/doc/fonts/xcharter-math/XCharter-Math.ltx 2025-08-05 20:37:13 UTC (rev 75986)
@@ -25,7 +25,8 @@
\newcommand*{\pkg}[1]{\texttt{#1}}
\newcommand*{\file}[1]{\texttt{#1}}
\newcommand*{\opt}[1]{\texttt{#1}}
-\newcommand*{\cmd}[1]{\texttt{\textbackslash #1}}\newcommand*{\showtchar}[1]{\cmd{#1}~\csname #1\endcsname}
+\newcommand*{\cmd}[1]{\texttt{\textbackslash #1}}
+\newcommand*{\showtchar}[1]{\cmd{#1}~\csname #1\endcsname}
\newcommand*{\showmchar}[1]{\cmd{#1}~$(\csname #1\endcsname)$}
\newcommand*{\showmchardollar}[1]{\texttt{\$\cmd{#1}\$}~$(\csname #1\endcsname)$}
@@ -34,7 +35,7 @@
\title{\decofourleft\,\XCotf\,\decofourright}
\author{Daniel Flipo \\ \texttt{daniel.flipo at free.fr}}
-\newcommand*{\version}{0.65}
+\newcommand*{\version}{0.66}
\begin{document}
\maketitle
@@ -95,6 +96,8 @@
\begin{enumerate}
\item it loads \pkg{realscripts} for better looking superscripts and footnote
calls unless option \opt{fakedscripts} has been activated;
+\item it redefines the \cmd{TeX}, \cmd{LaTeX} and \cmd{LaTeXe} logos to fit
+ the XCharter fonts unless option \opt{no-logos} has been activated;
\item it checks at \verb+\begin{document}+ if packages \pkg{amssymb} or
\pkg{latexsym} are loaded and issues warnings in case they are;
\item it provides aliases for glyphs named differently in Unicode, so that
@@ -535,57 +538,47 @@
and bold italic via the \verb+\symit{}+, \verb+\symup{}+, \verb+\symbf{}+
and \verb+\symbfit{}+ commands.
-\item Calligraphic alphabet (\cmd{symscr} or \cmd{symcal} or
- \cmd{mathcal} command), uppercase:\\
+\item Calligraphic alphabet (\cmd{symscr} or \cmd{symcal} command),
+ uppercase only:\\
$\symscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\
also in boldface (\cmd{symbfscr},\cmd{symbfcal} or \cmd{mathbfcal} command):\\
$\symbfscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
-\item Blackboard-bold alphabet (\cmd{symbb} or \cmd{mathbb} command):
-
+\item Blackboard-bold alphabet (\cmd{symbb} command):\\
$\symbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\
- $\symbb{abcdefghijklmnopqrstuvwxyz\quad 0123456789}$\\
+ $\symbb{abcdefghijklmnopqrstuvwxyz\quad 0123456789}$
\item Fraktur alphabet is borrowed from Latin Modern, medium and bold
- (\cmd{symfrak}, or \cmd{symbffrak} commands):
-
+ (\cmd{symfrak}, or \cmd{symbffrak} commands):\\
$\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ\quad abcdefghijklmnopqrstuvwxyz}$\\
$\symbffrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\
\hphantom{$\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ\quad}$}%
- $\symbffrak{abcdefghijklmnopqrstuvwxyz}$
-
- but this can overwritten, i.e.
-\begin{verbatim}
+ $\symbffrak{abcdefghijklmnopqrstuvwxyz}$\\
+ but this can overwritten, i.e.\\
+\verb+\setmathfont{Asana-Math.otf}[range=frak,Scale=MatchUppercase]+\\
+\verb+$\symfrak{ABCDEFGHIJKL...XYZ abcdefghijkl...xyz}$+\\
\setmathfont{Asana-Math.otf}[range=frak,Scale=MatchUppercase]
-$\symfrak{ABCDEFGHIJKL...XYZ abcdefghijkl...xyz}$
-\end{verbatim}
-\setmathfont{Asana-Math.otf}[range=frak,Scale=MatchUppercase]
$\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
-\item Sans serif alphabet is borrowed from Latin Modern,
-
-$\symsfup{ABCDEFGHIJKLM abcdefghijk}\quad\symsfit{NOPQRSTUVWXYZ mnopqrstuvwxyz}$
-
- but it can be borrowed from another maths font, i.e.
-\begin{verbatim}
-\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit},
- Scale=MatchUppercase]
-$\symsfup{ABCD...klm}\quad\symsfit{NOPQ...xyz}$
-\end{verbatim}
+\item Sans serif alphabet is borrowed from Latin Modern, (\cmd{symsfup} and
+ \cmd{symsfit} commands):\\
+ $\symsfup{ABCDEFGHIJKLM abcdefghijk}\quad\symsfit{NOPQRSTUVWXYZ
+ mnopqrstuvwxyz}$\\
+ but it can be borrowed from another maths font, i.e.\\
+\verb+\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit},+\\
+\verb+ Scale=MatchUppercase]+\\
+\verb+$\symsfup{ABCD...klm}\quad\symsfit{NOPQ...xyz}$+\\
\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit},Scale=MatchUppercase]
$\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad
\symsfit{NOPQRSTUVWXYZ nopqrstuvwxyz}$
\item Typewriter alphabet is borrowed from Latin Modern,
-
- $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
-
-but it can be borrowed from another maths font, i.e.
-\begin{verbatim}
-\setmathfont{STIXTwoMath-Regular.otf}[range=tt,
- Scale=MatchUppercase]
-$\symtt{ABCDE...XYZ abcde...xyz}$
-\end{verbatim}
+ (\cmd{symtt} command):\\
+ $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$\\
+ but it can be borrowed from another maths font, i.e.\\
+\verb+\setmathfont{STIXTwoMath-Regular.otf}[range=tt,+\\
+\verb+ Scale=MatchUppercase]+\\
+\verb+$\symtt{ABCDE...XYZ abcde...xyz}$+\\
\setmathfont{STIXTwoMath-Regular.otf}[range=tt,Scale=MatchUppercase]
$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$
\end{itemize}
@@ -594,12 +587,18 @@
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 maths font if needed, i.e.
-\begin{verbatim}
-\setmathfont{LibertinusMath-Regular.otf}%
- [range="1D4B6-"1D4CF, Scale=MatchLowercase]
-\end{verbatim}
+All others have to be borrowed from another maths font if needed, i.e.\\
+\verb+\setmathfont{Garamond-Math.otf}[range=\symscr/latin,+%
+\footnote{\texttt{/latin}: lowercase (latin) only;
+ \texttt{/Latin}: uppercase (latin) only.}\\
+\verb+ Scale=MatchLowercase]+\\
+\verb+$\symscr{a}\symscr{b}\symscr{c} ... \symscr{z}$+\\
+\setmathfont{Erewhon-Math.otf}
+\setmathfont{Garamond-Math.otf}[range=\symscr/latin, Scale=MatchLowercase]
+$\symscr{a}\symscr{b}\symscr{c}\symscr{d}\symscr{e}\symscr{f}\symscr{g}
+ \symscr{h}\symscr{i}\symscr{j}\symscr{k}\symscr{l}\symscr{m}\symscr{n}
+ \symscr{o}\symscr{p}\symscr{q}\symscr{r}\symscr{s}\symscr{t}\symscr{u}
+ \symscr{v}\symscr{w}\symscr{x}\symscr{y}\symscr{z}$
\subsection{Bold variant}
@@ -632,7 +631,8 @@
\verb+\setmathfont{Asana-Math.otf}[range={"294A-"2951,"2964,"2ABB-"2ABE}]+
Let’s mention \pkg{albatross}, a useful tool to find out the list of fonts
-providing a given glyph: f.i. type in a terminal ``\texttt{albatross U+2964}'',
+providing a given glyph: f.i. type in a terminal
+``\texttt{albatross -t U+2964}'',
see the manpage or \file{albatross-manual.pdf}.
\section{Acknowledgements}
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-Bold.otf
===================================================================
(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 2025-08-05 20:37:00 UTC (rev 75985)
+++ trunk/Master/texmf-dist/tex/latex/xcharter-math/xcharter-otf.sty 2025-08-05 20:37:13 UTC (rev 75986)
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2022/06/01]
-\def\fileversion{0.65}
-\def\filedate{2025-02-15}
+\def\fileversion{0.66}
+\def\filedate{2025-08-05}
\ProvidesPackage{xcharter-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -25,6 +25,7 @@
\DeclareKeys
{
no-text.if = XCot at notext ,
+ no-logos.if = XCot at nologos ,
fakedscripts.if = XCot at fakedscripts ,
tight.if = XCot at tight ,
loose.code = \XCot at tightfalse ,
@@ -63,6 +64,16 @@
\else
\ifXCot at fakedscripts\else \RequirePackage{realscripts}\fi
\setmainfont{XCharter}[\unexpanded\expandafter{\the\XCottoksT}]
+ % Fine tune TeX logos for the XCharter fonts
+ \ifXCot at nologos
+ \else
+ \DeclareRobustCommand{\TeX}{T\kern -.15em\lower .4ex
+ \hbox{E}\kern -.05emX\@}
+ \DeclareRobustCommand{\LaTeX}{L\kern -.25em
+ \raisebox{.38ex}{\textsc{a}}\kern -.1em\TeX}
+ \DeclareRobustCommand{\LaTeXe}{\LaTeX
+ \kern .05em2\raisebox{-.35ex}{\char"03B5}}
+ \fi
\fi
% Text Sans Serif fonts: default (lmss unless specified)
@@ -105,8 +116,8 @@
\Umathchardef\varsymbfscrQ = 0 0 "E06E \relax
\Umathchardef\varsymbfscrT = 0 0 "E06F \relax
% \widearc and\overrightarc
- \newcommand*{\widearc}{\Umathaccent 0 0 "E540 }%
- \newcommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }%
+ \providecommand*{\widearc}{\Umathaccent 0 0 "E540 }%
+ \providecommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }%
% amssymb
\@ifpackageloaded{amssymb}%
{\PackageWarning{xcharter-otf}{%
More information about the tex-live-commits
mailing list.