texlive[68191] Master/texmf-dist: arsenal (6sep23)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 6 22:13:28 CEST 2023


Revision: 68191
          http://tug.org/svn/texlive?view=revision&revision=68191
Author:   karl
Date:     2023-09-06 22:13:28 +0200 (Wed, 06 Sep 2023)
Log Message:
-----------
arsenal (6sep23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/arsenal/README
    trunk/Master/texmf-dist/doc/fonts/arsenal/arsenal.bib
    trunk/Master/texmf-dist/doc/fonts/arsenal/arsenal.pdf
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-iwona.pdf
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-iwona.tex
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-kpsans.pdf
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-kpsans.tex
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-text.pdf
    trunk/Master/texmf-dist/source/fonts/arsenal/Makefile
    trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.dtx
    trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.ins
    trunk/Master/texmf-dist/source/fonts/arsenal/sample-math.dtx
    trunk/Master/texmf-dist/tex/latex/arsenal/arsenal.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.pdf
    trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.tex

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/arsenal/README	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/doc/fonts/arsenal/README	2023-09-06 20:13:28 UTC (rev 68191)
@@ -20,3 +20,14 @@
     somewhat lyrical sentiment abides to the Ukrainian nature of the font.
 
 This package provides the fonts and LaTeX support for them with matching math.
+
+Changes:
+
+   Version 0.2, 2023-09-05.  Added option math=arsenal+kpsans: a mix
+                             of Arsenal and KpSans glyphs.  At present
+                             the correct spacing works only with
+                             LuaTeX.  Now the default for math is
+                             iwona, if XeTeX is detected, and
+                             arsenal+kpsans, if LuaTeX is detected.
+
+   Version 0.1, 2023-09-03.  The first release version.
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/arsenal.bib
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/arsenal/arsenal.bib	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/doc/fonts/arsenal/arsenal.bib	2023-09-06 20:13:28 UTC (rev 68191)
@@ -42,7 +42,7 @@
 @manual{free-math-font-survey,
 title = {The \pkg{free-math-font-survey} package},
 subtitle = {A survey of available free Mathematics fonts},
-author = {Hartke, Stephen},
+author = {Hartke, Stephen G.},
 url = {https://ctan.org/pkg/free-math-font-survey},
 urldate = {2023-09-02}, 
 date = {2006-11-07},

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/arsenal.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.pdf	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.pdf	2023-09-06 20:13:28 UTC (rev 68191)

Property changes on: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.tex	2023-09-06 20:13:28 UTC (rev 68191)
@@ -0,0 +1,168 @@
+%%
+%% This is file `sample-math-arsenal+kpsans.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sample-math.dtx  (with options: `arsenal+kpsans')
+%% 
+%% IMPORTANT NOTICE:
+%% 
+%% For the copyright see the source file.
+%% 
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from sample-math-arsenal+kpsans.tex.
+%% 
+%% For distribution of the original source see the terms
+%% for copying and modification in the file sample-math.dtx.
+%% 
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\documentclass{article}
+\usepackage[default, math=arsenal+kpsans]{arsenal}
+\usepackage{natbib, hyperref, amsmath, bm}
+\urlstyle{rm}
+\usepackage{microtype}
+\setcounter{secnumdepth}{0}
+\usepackage{hologo}
+\providecommand*\XeTeX{\hologo{XeTeX}}
+\usepackage[ukrainian, english]{babel}
+\providecommand\pkg[1]{\textit{#1}}
+\newcommand{\abc}{abcdefghijklmnopqrstuvwxyz}
+\newcommand{\ABC}{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
+\newcommand{\alphabeta}{\alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta\theta\vartheta\iota\kappa\varkappa\lambda\mu\nu\xi o\pi\varpi\rho\varrho\sigma\varsigma\tau\upsilon\phi\varphi\chi\psi\omega}
+\newcommand{\AlphaBeta}{\Gamma\Delta\Theta\Lambda\Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega}
+%% Getting version and date
+\makeatletter
+\def\GetFileInfo#1{%
+  \def\filename{#1}%
+  \def\@tempb##1 ##2 ##3\relax##4\relax{%
+    \def\filedate{##1}%
+    \def\fileversion{##2}%
+    \def\fileinfo{##3}}%
+  \edef\@tempa{\csname ver@#1\endcsname}%
+  \expandafter\@tempb\@tempa\relax? ? \relax\relax}
+\makeatother
+\GetFileInfo{arsenal.sty}
+\begin{document}
+\selectlanguage{english}
+\title{Sample of Arsenal font with
+ Arsenal + KpSans
+math
+ (Lua\TeX\ engine)
+}
+\author{Boris Veytsman}
+\date{Arsenal package version \fileversion, \filedate}
+\maketitle
+
+\section{Introduction}
+\label{sec:intro}
+
+The samples below are based on the example from~\citep{Hartke06,
+  free-math-font-survey}.
+Arsenal + KpSans math may not work correctly with
+\XeTeX.  Please use Lua\TeX.
+
+\section{English}
+\label{sec:english}
+
+\textbf{Theorem 1 (Residue Theorem).}
+Let $f$ be analytic in the region $G$ except for the isolated singularities $a_1,a_2,\ldots,a_m$. If $\gamma$ is a closed rectifiable curve in $G$ which does not pass through any of the points $a_k$ and if $\gamma\approx 0$ in $G$ then
+\[
+\frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k).
+\]
+
+\textbf{Theorem 2 (Maximum Modulus).}
+\emph{Let $G$ be a bounded open set in $\mathbb{C}$ and suppose that $f$ is a continuous function on $G^-$ which is analytic in $G$. Then}
+\[
+\max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
+\]
+
+\section{Ukrainian}
+\label{sec:ukr}
+
+\selectlanguage{ukrainian}
+
+\textbf{Теорема 1 (Теорема про залишки).}
+Нехай $f$ аналітична в області $G$ за винятком ізольованих
+сингулярностей $a_1,a_2,\ldots,a_m$. Якщо $\gamma$ є замкнута крива  в $G$, що
+може бути спрямована, яка не проходить скрізь жодну з точок
+$a_k$,  і якщо $\gamma\approx 0$ в $G$, то
+\[
+\frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k).
+\]
+
+\textbf{Теорема 2 (Максимальне значення).}
+\emph{Нехай $G$ є обмежена множина в $\mathbb{C}$, і нехай $f$ є
+  безперервна функція на $G^-$, аналітична в $G$. Тоді}
+\[
+\max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
+\]
+
+\selectlanguage{english}
+
+\section{Alphabets}
+\label{sec:alphabets}
+
+\bgroup
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1ex}
+
+Uppercase and math\\
+\ABC\quad \textit{\ABC} \quad $\ABC$
+
+Lowercase and math\\
+\abc\quad\textit{\abc} \quad $\abc$ \quad 0123456789\quad $01234567890$
+
+Greek\\
+$\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
+
+Lowercase Greek and math\\
+$\abc\quad \alphabeta$
+
+Uppercase Greek and math\\
+$\ABC\quad \AlphaBeta$
+
+Greek and misc\\
+$\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
+
+
+Mathbold\\
+\textbf{\ABC}\quad $\mathbf{\ABC}$\\
+\textbf{\abc}\quad $\mathbf{\abc}$
+
+Math and symbols\\
+$a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$
+
+Mathcal\\
+$\ABC\quad\mathcal{\ABC}$
+
+Mathbb\\
+$\ABC \quad \mathbb{\ABC}$
+
+Mathscr\\
+$\ABC \quad \mathscr{\ABC}$
+
+Uppercase mathfrak\\
+$\ABC\quad\mathfrak{\ABC}$
+
+Lowercase mathfrak\\
+$\abc\quad\mathfrak{\abc}$
+
+Bold math\\
+{\boldmath $\alpha + b = 27$}
+
+Primes:
+$f', f'', f'''$.
+\egroup
+
+\selectlanguage{english}
+\bibliography{arsenal}
+\bibliographystyle{plainnat}
+
+\end{document}
+\endinput
+%%
+%% End of file `sample-math-arsenal+kpsans.tex'.


Property changes on: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-arsenal+kpsans.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-iwona.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-iwona.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-iwona.tex	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-iwona.tex	2023-09-06 20:13:28 UTC (rev 68191)
@@ -22,9 +22,12 @@
 %% in the same archive or directory.)
 \documentclass{article}
 \usepackage[default, math=iwona]{arsenal}
-\usepackage{natbib, hyperref, amsmath}
+\usepackage{natbib, hyperref, amsmath, bm}
+\urlstyle{rm}
 \usepackage{microtype}
 \setcounter{secnumdepth}{0}
+\usepackage{hologo}
+\providecommand*\XeTeX{\hologo{XeTeX}}
 \usepackage{amssymb}
 \usepackage[ukrainian, english]{babel}
 \providecommand\pkg[1]{\textit{#1}}
@@ -48,7 +51,8 @@
 \selectlanguage{english}
 \title{Sample of Arsenal font with
  Iwona
-math}
+math
+}
 \author{Boris Veytsman}
 \date{Arsenal package version \fileversion, \filedate}
 \maketitle
@@ -57,8 +61,8 @@
 \label{sec:intro}
 
 The samples below are based on the example from~\citep{Hartke06,
-  free-math-font-survey}.  The math fonts are scaled based on lower
-case characters.
+  free-math-font-survey}.
+The math fonts are scaled based on lower case characters.
 
 \section{English}
 \label{sec:english}
@@ -74,23 +78,7 @@
 \[
 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
 \]
-\vspace*{-1em}
 
-\ABC \quad $\ABC$
-
-\abc \quad $\abc$ \quad $01234567890$
-
-$\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
-
-$\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
-
-
-{\par \tolerance=0 \emergencystretch=100em $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$\par}
-
-$\mathcal{\ABC} \quad \mathbb{\ABC}$
-
-{\boldmath $\alpha + b = 27$}
-
 \section{Ukrainian}
 \label{sec:ukr}
 
@@ -111,23 +99,62 @@
 \[
 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
 \]
-\vspace*{-1em}
 
-\ABC \quad $\ABC$
+\selectlanguage{english}
 
-\abc \quad $\abc$ \quad $01234567890$
+\section{Alphabets}
+\label{sec:alphabets}
 
+\bgroup
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1ex}
+
+Uppercase and math\\
+\ABC\quad \textit{\ABC} \quad $\ABC$
+
+Lowercase and math\\
+\abc\quad\textit{\abc} \quad $\abc$ \quad 0123456789\quad $01234567890$
+
+Greek\\
 $\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
 
+Lowercase Greek and math\\
+$\abc\quad \alphabeta$
+
+Uppercase Greek and math\\
+$\ABC\quad \AlphaBeta$
+
+Greek and misc\\
 $\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
 
 
-{\par \tolerance=0 \emergencystretch=100em $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$\par}
+Mathbold\\
+\textbf{\ABC}\quad $\mathbf{\ABC}$\\
+\textbf{\abc}\quad $\mathbf{\abc}$
 
-$\mathcal{\ABC} \quad \mathbb{\ABC}$
+Math and symbols\\
+$a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$
 
+Mathcal\\
+$\ABC\quad\mathcal{\ABC}$
+
+Mathbb\\
+$\ABC \quad \mathbb{\ABC}$
+
+
+Uppercase mathfrak\\
+$\ABC\quad\mathfrak{\ABC}$
+
+Lowercase mathfrak\\
+$\abc\quad\mathfrak{\abc}$
+
+Bold math\\
 {\boldmath $\alpha + b = 27$}
 
+Primes:
+$f', f'', f'''$.
+\egroup
+
 \selectlanguage{english}
 \bibliography{arsenal}
 \bibliographystyle{plainnat}

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-kpsans.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-kpsans.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-kpsans.tex	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/doc/fonts/arsenal/sample-math-kpsans.tex	2023-09-06 20:13:28 UTC (rev 68191)
@@ -22,9 +22,12 @@
 %% in the same archive or directory.)
 \documentclass{article}
 \usepackage[default, math=kpsans]{arsenal}
-\usepackage{natbib, hyperref, amsmath}
+\usepackage{natbib, hyperref, amsmath, bm}
+\urlstyle{rm}
 \usepackage{microtype}
 \setcounter{secnumdepth}{0}
+\usepackage{hologo}
+\providecommand*\XeTeX{\hologo{XeTeX}}
 \usepackage[ukrainian, english]{babel}
 \providecommand\pkg[1]{\textit{#1}}
 \newcommand{\abc}{abcdefghijklmnopqrstuvwxyz}
@@ -47,7 +50,8 @@
 \selectlanguage{english}
 \title{Sample of Arsenal font with
  KpSans
-math}
+math
+}
 \author{Boris Veytsman}
 \date{Arsenal package version \fileversion, \filedate}
 \maketitle
@@ -56,8 +60,7 @@
 \label{sec:intro}
 
 The samples below are based on the example from~\citep{Hartke06,
-  free-math-font-survey}.  The math fonts are scaled based on lower
-case characters.
+  free-math-font-survey}.
 
 \section{English}
 \label{sec:english}
@@ -73,23 +76,7 @@
 \[
 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
 \]
-\vspace*{-1em}
 
-\ABC \quad $\ABC$
-
-\abc \quad $\abc$ \quad $01234567890$
-
-$\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
-
-$\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
-
-
-{\par \tolerance=0 \emergencystretch=100em $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$\par}
-
-$\mathcal{\ABC} \quad \mathbb{\ABC}$
-
-{\boldmath $\alpha + b = 27$}
-
 \section{Ukrainian}
 \label{sec:ukr}
 
@@ -110,23 +97,64 @@
 \[
 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
 \]
-\vspace*{-1em}
 
-\ABC \quad $\ABC$
+\selectlanguage{english}
 
-\abc \quad $\abc$ \quad $01234567890$
+\section{Alphabets}
+\label{sec:alphabets}
 
+\bgroup
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1ex}
+
+Uppercase and math\\
+\ABC\quad \textit{\ABC} \quad $\ABC$
+
+Lowercase and math\\
+\abc\quad\textit{\abc} \quad $\abc$ \quad 0123456789\quad $01234567890$
+
+Greek\\
 $\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
 
+Lowercase Greek and math\\
+$\abc\quad \alphabeta$
+
+Uppercase Greek and math\\
+$\ABC\quad \AlphaBeta$
+
+Greek and misc\\
 $\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
 
 
-{\par \tolerance=0 \emergencystretch=100em $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$\par}
+Mathbold\\
+\textbf{\ABC}\quad $\mathbf{\ABC}$\\
+\textbf{\abc}\quad $\mathbf{\abc}$
 
-$\mathcal{\ABC} \quad \mathbb{\ABC}$
+Math and symbols\\
+$a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$
 
+Mathcal\\
+$\ABC\quad\mathcal{\ABC}$
+
+Mathbb\\
+$\ABC \quad \mathbb{\ABC}$
+
+Mathscr\\
+$\ABC \quad \mathscr{\ABC}$
+
+Uppercase mathfrak\\
+$\ABC\quad\mathfrak{\ABC}$
+
+Lowercase mathfrak\\
+$\abc\quad\mathfrak{\abc}$
+
+Bold math\\
 {\boldmath $\alpha + b = 27$}
 
+Primes:
+$f', f'', f'''$.
+\egroup
+
 \selectlanguage{english}
 \bibliography{arsenal}
 \bibliographystyle{plainnat}

Modified: trunk/Master/texmf-dist/doc/fonts/arsenal/sample-text.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/fonts/arsenal/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/fonts/arsenal/Makefile	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/source/fonts/arsenal/Makefile	2023-09-06 20:13:28 UTC (rev 68191)
@@ -6,7 +6,11 @@
 	Arsenal-Italic.otf \
 	Arsenal-Regular.otf 
 
-SAMPLES = sample-math-iwona.tex sample-math-kpsans.tex sample-text.tex
+SAMPLES = \
+	sample-math-arsenal+kpsans.tex \
+	sample-math-iwona.tex \
+	sample-math-kpsans.tex \
+	sample-text.tex
 
 PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf}
 
@@ -35,6 +39,16 @@
 	while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
 	do xelatex $<; done
 
+
+sample-math-arsenal+kpsans.pdf:  sample-math-arsenal+kpsans.tex   $(PACKAGE).sty $(FONTS)
+	lualatex $<
+	- bibtex sample-math-arsenal+kpsans
+	lualatex $<
+	lualatex $<
+	while ( grep -q '^LaTeX Warning: Label(s) may have changed' sample-math-arsenal+kpsans.log) \
+	do lualatex $<; done
+
+
 sample-math-%.tex: $(PACKAGE).ins sample-math.dtx
 	xelatex $<
 

Modified: trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.dtx
===================================================================
--- trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.dtx	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.dtx	2023-09-06 20:13:28 UTC (rev 68191)
@@ -17,11 +17,11 @@
 \usepackage[tableposition=top]{caption}
 \urlstyle{rm}
 \begin{document}
+  \RecordChanges
   \DocInput{\jobname.dtx}
 \end{document}
 %</driver>
 % \fi
-%
 % \GetFileInfo{arsenal.sty}
 % \title{\pkg{arsenal}---\LaTeX\ support of Arsenal fonts by Andrij Shevchenko}
 % \date{\fileversion, \filedate}
@@ -69,6 +69,7 @@
 %\label{sec:ug-options}
 %
 % \begin{variable}{default, sfdefault, math, scale, Scale}
+%   \changes{v0.2}{2023/09/04}{Added arsenal+kpsans value for math option}
 %   The options for the package use the key-value interface.
 %   The part |=true| for the boolean options can be dropped.
 %
@@ -79,12 +80,28 @@
 %   \item[sfdefault] whether to make Arsenal the sans serif font of your
 %     document, either |true| or |false| (the default).
 %   \item[math] whether to enable math support.  The currently
-%     recognized options are |none|, |kpsans|, and |iwona|.  The
-%     default depends on whether Arsenal is your main font: it is
-%     |iwona| if yes, and |none| otherwise.  If |iwona| is selected, we use
-%     \pkg{iwonamath}~\citep{iwonamath}. If |kpsans| is selected,
-%     we use \textsc{otf} version of KpSans
-%     fonts~\citep{kpfonts-otf}. 
+%     recognized options are |none|, |arsenal+kpsans|, |kpsans|, and
+%     |iwona|.  The meaning is the following:
+%     \begin{description}
+%     \item[arsenal+kpsans] Use native font for math, adding missing
+%       letter from the \textsc{otf} version of KpSans
+%       font~\citep{kpfonts-otf}.  Unfortunately this option presently
+%       does not work properly with \XeTeX, using wrong font
+%       dimensions resulting in rather bad spacing.
+%     \item[kpsans] Use \textsc{otf} version of KpSans
+%       font~\citep{kpfonts-otf} for math.
+%     \item[iwona] Use use \pkg{iwonamath}~\citep{iwonamath} for math.
+%     \item[none] Do not define math fonts, leaving the math setup to the user.
+%     \end{description}
+%     The default depends on whether Arsenal is your main font and
+%     which engine is used:
+%     \begin{enumerate}
+%     \item If Arsenal is the main font, and \XeTeX\ is used, then
+%       |iwona|.
+%     \item If Arsenal is the main font, and Lua\TeX\ is used, then
+%     |arsenal+kpsans|. 
+%     \item If Arsenal is not your main font, then |none|.
+%     \end{enumerate}
 % \item[scale] the scale for the font, by default 0.89.  The option
 % |Scale| is a synonym.
 %   \end{description}
@@ -162,9 +179,30 @@
 %   \cs{textsmileblack} (\textsmileblack).
 % \end{function}
 %
+%
+%\subsection{Math support}
+%\label{sec:ug-math}
+%   \changes{v0.2}{2023/09/04}{Added a section about math support}
+%
+% The support of math is presently experimental.  We offer several
+% options, as discussed above in Section~\ref{sec:ug-options}.  Iwona font
+% matches Arsenal in color and sizes, but some letters and proportions
+% are different from those for Arsenal.  KpSans seems to be slightly
+% darker.  The option of taking Latin letters from Arsenal and the
+% missing symbols from KpSans is attractive, but is currently
+% recommended for Lua\TeX\ only, since the font parameters seem to be
+% misinterpreted by the \XeTeX\ engine.
+%
+%
+% As discussed in \pkg{kpsans} documentation, if you use this package
+% (options |kpsans| and |arsenal+kpsans|), do \emph{not} use
+% \pkg{amssymb}.  The corresponding symbols are reimplemented in
+% \pkg{kpsans}, and (almost) all \pkg{amssymb} commands are available
+% by default when one of these options is chosen.  
+%
 % \end{documentation}
+% \clearpage
 %
-%
 % \begin{implementation}
 %
 % \section{Implementation}
@@ -182,7 +220,7 @@
 %<@@=arsenal>
 %<*package>
 \ProvidesExplPackage {arsenal}
-{2023-09-03} {0.1}
+{2023-09-05} {v0.2}
 {Arsenal font by Andrij Shevchenko}
 %    \end{macrocode}
 %
@@ -206,10 +244,10 @@
 \keys_define:nn {arsenal}
 {
   default .bool_set:N = \l_@@_default_bool,
-  defaul .default:n = true,
+  default .default:n = true,
   sfdefault .bool_set:N = \l_@@_sfdefault_bool,
   sfdefault .default:n = true,
-  math .choices:nn = {none, kpsans, iwona}
+  math .choices:nn = {none, arsenal+kpsans, kpsans, iwona}
   {\tl_set_eq:NN \l_@@_math_tl \l_keys_choice_tl },
   scale .tl_set:N = \l_@@_scale_tl,
   Scale .tl_set:N = \l_@@_scale_tl,
@@ -239,7 +277,13 @@
 {
   \bool_if:NTF \l_@@_default_bool
   {
-    \tl_set:Nn \l_@@_math_tl {iwona}
+    \sys_if_engine_xetex:TF
+    {
+      \tl_set:Nn \l_@@_math_tl {iwona}
+    }
+    {
+      \tl_set:Nn \l_@@_math_tl {arsenal+kpsans}
+    }
   }
   {
     \tl_set:Nn \l_@@_math_tl {none}
@@ -302,7 +346,7 @@
 %   \texttenge,
 %   \textruble
 % }
-% Currency symbolse
+% Currency symbols
 %    \begin{macrocode}
 \DeclareUnicodeSymbol{\texthryvnia}       {"20B4}
 \DeclareUnicodeSymbol{\texttugrik}        {"20AE}
@@ -339,7 +383,10 @@
 }
 %    \end{macrocode}
 %
-% Now kpsans.  Mostly from~\citep{kpfonts-otf}.
+% \changes{v0.2}{2023/09/04}{Separate scaling for upper and lowercase
+% for kpsans}
+% Now kpsans, see~\citep{kpfonts-otf}.  We adjust separately
+% upper and lower cases\ldots 
 %    \begin{macrocode}
 \tl_if_eq:NnT \l_@@_math_tl {kpsans}
 {
@@ -355,10 +402,102 @@
   Scale=\l_@@_tmp_tl,
   BoldFont=KpMath-SansBold.otf]
   
+  \setmathfont{KpMath-Sans.otf}[
+  range={
+    scr/{Latin},
+    bfscr/{Latin},
+    frak/{Latin},
+    bffrak/{Latin},
+    up/{Latin, Greek, misc},
+    bb/{Latin, Greek, misc},
+    it/{Latin, Greek, misc},
+    bbit/{Latin, Greek, misc},
+    tt/{Latin, Greek, misc},
+    sfup/{Latin, Greek, misc},
+    sfit/{Latin, Greek, misc},
+    bfup/{Latin, Greek, misc},
+    bfit/{Latin, Greek, misc},
+    bfsfup/{Latin, Greek, misc},
+    bfsfit/{Latin, Greek, misc},
+  },
+  Scale=\fp_to_tl:n {\l_@@_tmp_tl * 0.9},
+  BoldFont=KpMath-SansBold.otf]
 }
 %    \end{macrocode}
 %
+%   \changes{v0.2}{2023/09/04}{Added the warining about using
+%   arsenal+kpsans with \XeTeX}
+% And arsenal+kpsans.  We again adjust separately upper and lower cases\ldots
 %    \begin{macrocode}
+\tl_if_eq:NnT \l_@@_math_tl {arsenal+kpsans}
+{
+  \sys_if_engine_xetex:T
+  {
+    \ClassWarningNoLine{arsenal}{Option~ arsenal+kpsans~ may~ not~ work~
+      with~ XeTeX~ engine.~  Please~ use~ lualatex}
+  }
+  \tl_set:Ne \l_@@_tmp_tl {\fp_to_tl:n {\l_@@_scale_tl * 1.1}}
+  \RequirePackage[symbols]{kpfonts-otf}
+
+  \setmathfont{KpMath-Sans.otf}[
+  Scale=\l_@@_tmp_tl,
+  BoldFont=KpMath-SansBold.otf]
+
+  \setmathfont{KpMath-Sans.otf}[
+  range={cal/{Latin},bfcal/{Latin}},
+  RawFeature=+ss01,
+  Scale=\fp_to_tl:n {\l_@@_tmp_tl * 0.9},
+  BoldFont=KpMath-SansBold.otf]
+
+  \setmathfont{KpMath-Sans.otf}[
+  range={
+    scr/{Latin, num},
+    bfscr/{Latin, num},
+    frak/{Latin, num},
+    bffrak/{Latin, num},
+    up/{Greek, misc, num},
+    bb/{Latin, Greek, misc, num},
+    it/{Greek, misc, num},
+    bbit/{Greek, misc, num},
+    tt/{Greek, misc, num},
+    sfup/{Greek, misc, num},
+    sfit/{Greek, misc, num},
+    bfup/{Greek, misc, num},
+    bfit/{Greek, misc, num},
+    bfsfup/{Greek, misc, num},
+    bfsfit/{Greek, misc, num},
+  },
+  Scale=\fp_to_tl:n {\l_@@_tmp_tl * 0.9},
+  BoldFont=KpMath-SansBold.otf]
+  
+  
+  \setmathfont{Arsenal-Regular.otf}[
+  range={
+    up/{Latin, latin, num},
+    tt/{Latin, latin, num},
+    sfup/{Latin, latin, num},
+    bfup/{Latin, latin, num},
+    bfsfup/{Latin, latin, num},
+  },
+  Scale=\l_@@_scale_tl,
+  BoldFont=Arsenal-Bold.otf]
+
+  \setmathfont{Arsenal-Italic.otf}[
+  range={
+    it/{Latin, latin, num},
+    bbit/{Latin, latin, num},
+    sfit/{Latin, latin, num},
+    bfit/{Latin, latin, num},
+    bfsfit/{Latin, latin, num},
+  },
+  Scale=\l_@@_scale_tl,
+  BoldFont=Arsenal-BoldItalic.otf]
+
+
+}      
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 %</package>
 %    \end{macrocode}
 % \end{implementation}
@@ -367,5 +506,5 @@
 % \bibliographystyle{plainnat}
 %
 %
-%\PrintIndex
-% 
\ No newline at end of file
+% \PrintIndex
+% \PrintChanges
\ No newline at end of file

Modified: trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.ins
===================================================================
--- trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.ins	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/source/fonts/arsenal/arsenal.ins	2023-09-06 20:13:28 UTC (rev 68191)
@@ -7,6 +7,7 @@
 \generate
 {%
   \file{sample-math-iwona.tex}{\from{sample-math.dtx}{iwona}}%
-  \file{sample-math-kpsans.tex}{\from{sample-math.dtx}{kpsans}}%       
+  \file{sample-math-kpsans.tex}{\from{sample-math.dtx}{kpsans}}%
+  \file{sample-math-arsenal+kpsans.tex}{\from{sample-math.dtx}{arsenal+kpsans}}%              
 }
 \endbatchfile

Modified: trunk/Master/texmf-dist/source/fonts/arsenal/sample-math.dtx
===================================================================
--- trunk/Master/texmf-dist/source/fonts/arsenal/sample-math.dtx	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/source/fonts/arsenal/sample-math.dtx	2023-09-06 20:13:28 UTC (rev 68191)
@@ -1,9 +1,13 @@
 \documentclass{article}
 %<iwona>\usepackage[default, math=iwona]{arsenal}
 %<kpsans>\usepackage[default, math=kpsans]{arsenal}
-\usepackage{natbib, hyperref, amsmath}
+%<arsenal+kpsans>\usepackage[default, math=arsenal+kpsans]{arsenal}
+\usepackage{natbib, hyperref, amsmath, bm}
+\urlstyle{rm}
 \usepackage{microtype}
 \setcounter{secnumdepth}{0}
+\usepackage{hologo}
+\providecommand*\XeTeX{\hologo{XeTeX}}
 %<iwona>\usepackage{amssymb}
 \usepackage[ukrainian, english]{babel}
 \providecommand\pkg[1]{\textit{#1}}
@@ -28,7 +32,10 @@
 \title{Sample of Arsenal font with
 %<iwona> Iwona
 %<kpsans> KpSans
-math}
+%<arsenal+kpsans> Arsenal + KpSans
+math
+%<arsenal+kpsans> (Lua\TeX\ engine)
+}
 \author{Boris Veytsman}
 \date{Arsenal package version \fileversion, \filedate}
 \maketitle
@@ -38,10 +45,11 @@
 
 
 The samples below are based on the example from~\citep{Hartke06,
-  free-math-font-survey}.  The math fonts are scaled based on lower
-case characters.
+  free-math-font-survey}.
+%<iwona>The math fonts are scaled based on lower case characters.
+%<arsenal+kpsans>Arsenal + KpSans math may not work correctly with
+%<arsenal+kpsans>\XeTeX.  Please use Lua\TeX.
 
-
 \section{English}
 \label{sec:english}
 
@@ -58,26 +66,7 @@
 \[
 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
 \]
-\vspace*{-1em}
 
-
-\ABC \quad $\ABC$
-
-\abc \quad $\abc$ \quad $01234567890$
-
-$\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
-
-$\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
-
-%$\mathit{A \Lambda \Delta B C D E F \Gamma G H I J K L M N O \Theta \Omega P \Phi \Pi \Xi Q R S T U V W X Y \Upsilon \Psi Z }$
-
-% don't allow overfull boxes
-{\par \tolerance=0 \emergencystretch=100em $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$\par}
-
-$\mathcal{\ABC} \quad \mathbb{\ABC}$
-
-{\boldmath $\alpha + b = 27$}
-
 \section{Ukrainian}
 \label{sec:ukr}
 
@@ -100,26 +89,71 @@
 \[
 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
 \]
-\vspace*{-1em}
 
+\selectlanguage{english}
 
-\ABC \quad $\ABC$
+\section{Alphabets}
+\label{sec:alphabets}
 
-\abc \quad $\abc$ \quad $01234567890$
+\bgroup
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1ex}
 
+Uppercase and math\\
+\ABC\quad \textit{\ABC} \quad $\ABC$
+
+Lowercase and math\\
+\abc\quad\textit{\abc} \quad $\abc$ \quad 0123456789\quad $01234567890$
+
+
+Greek\\
 $\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
 
+Lowercase Greek and math\\
+$\abc\quad \alphabeta$
+
+Uppercase Greek and math\\
+$\ABC\quad \AlphaBeta$
+
+Greek and misc\\
 $\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $  $ \quad 1234567890 $
 
+%Mathit\\
 %$\mathit{A \Lambda \Delta B C D E F \Gamma G H I J K L M N O \Theta \Omega P \Phi \Pi \Xi Q R S T U V W X Y \Upsilon \Psi Z }$
 
-% don't allow overfull boxes
-{\par \tolerance=0 \emergencystretch=100em $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$\par}
+Mathbold\\
+\textbf{\ABC}\quad $\mathbf{\ABC}$\\
+\textbf{\abc}\quad $\mathbf{\abc}$
 
-$\mathcal{\ABC} \quad \mathbb{\ABC}$
+Math and symbols\\
+$a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \hslash \iota i \imath j \jmath k \kappa \varkappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi x \chi y \psi z$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$
 
+Mathcal\\
+$\ABC\quad\mathcal{\ABC}$
+
+Mathbb\\
+$\ABC \quad \mathbb{\ABC}$
+
+
+%<!iwona>Mathscr\\
+%<!iwona>$\ABC \quad \mathscr{\ABC}$
+
+
+Uppercase mathfrak\\
+$\ABC\quad\mathfrak{\ABC}$
+
+Lowercase mathfrak\\
+$\abc\quad\mathfrak{\abc}$
+
+
+Bold math\\
 {\boldmath $\alpha + b = 27$}
 
+Primes:
+$f', f'', f'''$.
+\egroup
+
+
 \selectlanguage{english}
 \bibliography{arsenal}
 \bibliographystyle{plainnat}

Modified: trunk/Master/texmf-dist/tex/latex/arsenal/arsenal.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/arsenal/arsenal.sty	2023-09-05 23:43:27 UTC (rev 68190)
+++ trunk/Master/texmf-dist/tex/latex/arsenal/arsenal.sty	2023-09-06 20:13:28 UTC (rev 68191)
@@ -21,16 +21,16 @@
 %% same distribution. (The sources need not necessarily be
 %% in the same archive or directory.)
 \ProvidesExplPackage {arsenal}
-{2023-09-03} {0.1}
+{2023-09-05} {v0.2}
 {Arsenal font by Andrij Shevchenko}
 \tl_new:N \l__arsenal_math_tl
 \keys_define:nn {arsenal}
 {
   default .bool_set:N = \l__arsenal_default_bool,
-  defaul .default:n = true,
+  default .default:n = true,
   sfdefault .bool_set:N = \l__arsenal_sfdefault_bool,
   sfdefault .default:n = true,
-  math .choices:nn = {none, kpsans, iwona}
+  math .choices:nn = {none, arsenal+kpsans, kpsans, iwona}
   {\tl_set_eq:NN \l__arsenal_math_tl \l_keys_choice_tl },
   scale .tl_set:N = \l__arsenal_scale_tl,
   Scale .tl_set:N = \l__arsenal_scale_tl,
@@ -52,7 +52,13 @@
 {
   \bool_if:NTF \l__arsenal_default_bool
   {
-    \tl_set:Nn \l__arsenal_math_tl {iwona}
+    \sys_if_engine_xetex:TF
+    {
+      \tl_set:Nn \l__arsenal_math_tl {iwona}
+    }
+    {
+      \tl_set:Nn \l__arsenal_math_tl {arsenal+kpsans}
+    }
   }
   {
     \tl_set:Nn \l__arsenal_math_tl {none}
@@ -113,7 +119,91 @@
   Scale=\l__arsenal_tmp_tl,
   BoldFont=KpMath-SansBold.otf]
 
+  \setmathfont{KpMath-Sans.otf}[
+  range={
+    scr/{Latin},
+    bfscr/{Latin},
+    frak/{Latin},
+    bffrak/{Latin},
+    up/{Latin, Greek, misc},
+    bb/{Latin, Greek, misc},
+    it/{Latin, Greek, misc},
+    bbit/{Latin, Greek, misc},
+    tt/{Latin, Greek, misc},
+    sfup/{Latin, Greek, misc},
+    sfit/{Latin, Greek, misc},
+    bfup/{Latin, Greek, misc},
+    bfit/{Latin, Greek, misc},
+    bfsfup/{Latin, Greek, misc},
+    bfsfit/{Latin, Greek, misc},
+  },
+  Scale=\fp_to_tl:n {\l__arsenal_tmp_tl * 0.9},
+  BoldFont=KpMath-SansBold.otf]
 }
+\tl_if_eq:NnT \l__arsenal_math_tl {arsenal+kpsans}
+{
+  \sys_if_engine_xetex:T
+  {
+    \ClassWarningNoLine{arsenal}{Option~ arsenal+kpsans~ may~ not~ work~
+      with~ XeTeX~ engine.~  Please~ use~ lualatex}
+  }
+  \tl_set:Ne \l__arsenal_tmp_tl {\fp_to_tl:n {\l__arsenal_scale_tl * 1.1}}
+  \RequirePackage[symbols]{kpfonts-otf}
+
+  \setmathfont{KpMath-Sans.otf}[
+  Scale=\l__arsenal_tmp_tl,
+  BoldFont=KpMath-SansBold.otf]
+
+  \setmathfont{KpMath-Sans.otf}[
+  range={cal/{Latin},bfcal/{Latin}},
+  RawFeature=+ss01,
+  Scale=\fp_to_tl:n {\l__arsenal_tmp_tl * 0.9},
+  BoldFont=KpMath-SansBold.otf]
+
+  \setmathfont{KpMath-Sans.otf}[
+  range={
+    scr/{Latin, num},
+    bfscr/{Latin, num},
+    frak/{Latin, num},
+    bffrak/{Latin, num},
+    up/{Greek, misc, num},
+    bb/{Latin, Greek, misc, num},
+    it/{Greek, misc, num},
+    bbit/{Greek, misc, num},
+    tt/{Greek, misc, num},
+    sfup/{Greek, misc, num},
+    sfit/{Greek, misc, num},
+    bfup/{Greek, misc, num},
+    bfit/{Greek, misc, num},
+    bfsfup/{Greek, misc, num},
+    bfsfit/{Greek, misc, num},
+  },
+  Scale=\fp_to_tl:n {\l__arsenal_tmp_tl * 0.9},
+  BoldFont=KpMath-SansBold.otf]
+
+  \setmathfont{Arsenal-Regular.otf}[
+  range={
+    up/{Latin, latin, num},
+    tt/{Latin, latin, num},
+    sfup/{Latin, latin, num},
+    bfup/{Latin, latin, num},
+    bfsfup/{Latin, latin, num},
+  },
+  Scale=\l__arsenal_scale_tl,
+  BoldFont=Arsenal-Bold.otf]
+
+  \setmathfont{Arsenal-Italic.otf}[
+  range={
+    it/{Latin, latin, num},
+    bbit/{Latin, latin, num},
+    sfit/{Latin, latin, num},
+    bfit/{Latin, latin, num},
+    bfsfit/{Latin, latin, num},
+  },
+  Scale=\l__arsenal_scale_tl,
+  BoldFont=Arsenal-BoldItalic.otf]
+
+}
 \endinput
 %%
 %% End of file `arsenal.sty'.



More information about the tex-live-commits mailing list.