summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/iwonamath
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-09-02 03:03:46 +0000
committerNorbert Preining <norbert@preining.info>2023-09-02 03:03:46 +0000
commit98a037aca7cbdaf681bc3fa10cbcdbbe52570599 (patch)
treeea60a91407486a9d33ffc9ece2c8331e30e10323 /macros/latex/contrib/iwonamath
parenta6340ee3ba0294ecd24259d39642d27d804187b2 (diff)
CTAN sync 202309020303
Diffstat (limited to 'macros/latex/contrib/iwonamath')
-rw-r--r--macros/latex/contrib/iwonamath/Makefile87
-rw-r--r--macros/latex/contrib/iwonamath/README5
-rw-r--r--macros/latex/contrib/iwonamath/iwonamath.bib29
-rw-r--r--macros/latex/contrib/iwonamath/iwonamath.dtx451
-rw-r--r--macros/latex/contrib/iwonamath/iwonamath.ins13
-rw-r--r--macros/latex/contrib/iwonamath/iwonamath.pdfbin0 -> 502258 bytes
-rwxr-xr-xmacros/latex/contrib/iwonamath/makeiwonamathfd.sh15
-rw-r--r--macros/latex/contrib/iwonamath/omliwonamath.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omliwonamathc.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omliwonamathl.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omliwonamathlc.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omsiwonamath.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omsiwonamathc.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omsiwonamathl.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omsiwonamathlc.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omxiwonamath.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omxiwonamathc.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omxiwonamathl.fd39
-rw-r--r--macros/latex/contrib/iwonamath/omxiwonamathlc.fd39
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamath.fd40
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathc.fd40
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathcm.fd38
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathl.fd40
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathlc.fd40
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathlcm.fd38
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathlm.fd38
-rw-r--r--macros/latex/contrib/iwonamath/ot1iwonamathm.fd38
-rw-r--r--macros/latex/contrib/iwonamath/sample.pdfbin0 -> 382573 bytes
-rw-r--r--macros/latex/contrib/iwonamath/sample.tex79
29 files changed, 1459 insertions, 0 deletions
diff --git a/macros/latex/contrib/iwonamath/Makefile b/macros/latex/contrib/iwonamath/Makefile
new file mode 100644
index 0000000000..5b8322bf33
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/Makefile
@@ -0,0 +1,87 @@
+PACKAGE=iwonamath
+
+SAMPLES = sample.tex
+
+PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf}
+
+FD = \
+ omliwonamath.fd \
+ omliwonamathc.fd \
+ omliwonamathl.fd \
+ omliwonamathlc.fd \
+ omsiwonamath.fd \
+ omsiwonamathc.fd \
+ omsiwonamathcmsy.fd \
+ omsiwonamathl.fd \
+ omsiwonamathlc.fd \
+ omxiwonamath.fd \
+ omxiwonamathc.fd \
+ omxiwonamathl.fd \
+ omxiwonamathlc.fd \
+ ot1iwonamath.fd \
+ ot1iwonamathc.fd \
+ ot1iwonamathcm.fd \
+ ot1iwonamathl.fd \
+ ot1iwonamathlc.fd \
+ ot1iwonamathlcm.fd \
+ ot1iwonamathlm.fd \
+ ot1iwonamathm.fd
+
+all: ${PDF} $(PACKAGE).sty $(FD)
+
+
+%.pdf: %.dtx $(PACKAGE).sty
+ pdflatex $<
+ - bibtex $*
+ pdflatex $<
+ - makeindex -s gind.ist -o $*.ind $*.idx
+ - makeindex -s gglo.ist -o $*.gls $*.glo
+ pdflatex $<
+ while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
+ do pdflatex $<; done
+
+
+%.sty: %.ins %.dtx
+ pdflatex $<
+
+%.pdf: %.tex $(PACKAGE).sty $(FD)
+ pdflatex $<
+ - bibtex $*
+ pdflatex $<
+ while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
+ do pdflatex $<; done
+
+%.fd: $(PACKAGE).ins $(PACKAGE).dtx
+ pdflatex $<
+ ./makeiwonamathfd.sh
+
+
+
+
+clean:
+ $(RM) *_FAMILY_* *.log *.aux \
+ *.cfg *.glo *.idx *.toc \
+ *.ilg *.ind *.out *.lof \
+ *.lot *.bbl *.blg *.gls \
+ *.dvi *.ps *.thm *.tgz *.zip *.rpi \
+ *.hd sample-blx.bib
+
+
+distclean: clean
+ $(RM) $(PDF) $(PACKAGE).sty $(FD)
+
+#
+# Archive for the distribution. Includes typeset documentation
+#
+archive: all clean
+ COPYFILE_DISABLE=1 \
+ tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' \
+ --exclude '*.tgz' --exclude '*.zip' --exclude .git $(PACKAGE)
+ mv ../$(PACKAGE).tgz .
+
+zip: all clean
+ make $(PACKAGE).sty
+ $(RM) $(PACKAGE).log
+ cd ..;\
+ zip -r $(PACKAGE).zip $(PACKAGE) -x "*.ins" -x "*.gitignore"
+
diff --git a/macros/latex/contrib/iwonamath/README b/macros/latex/contrib/iwonamath/README
new file mode 100644
index 0000000000..72fe9e3508
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/README
@@ -0,0 +1,5 @@
+This package provides an interface to Iwona math fonts by Janusz
+Marian Nowacki. It allows to use Iwona as math complement for sans
+serif fonts without native math. The package allows font scaling, the
+choice of light and condensed versions and the creation of multiple
+math versions. \ No newline at end of file
diff --git a/macros/latex/contrib/iwonamath/iwonamath.bib b/macros/latex/contrib/iwonamath/iwonamath.bib
new file mode 100644
index 0000000000..a40402b8b3
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/iwonamath.bib
@@ -0,0 +1,29 @@
+@manual{iwona,
+title = {The iwona package},
+subtitle = {A two-element sans-serif font},
+author = {Nowacki, Janusz Marian},
+url = {https://ctan.org/pkg/iwona},
+year = 2005,
+urldate = {2023-08-28},
+version = {0.995b},
+}
+
+@book{TLC3,
+ title = "The LaTeX Companion: Parts I \& II, 3rd Edition",
+ author = "Frank Mittelbach and Ulrike Fischer",
+ isbn = "978-01-3816-648-9",
+ library_name = "Calibre Library",
+ year = 2023,
+ month = "May",
+ publisher = "Addison-Wesley Professional",
+}
+@manual{lato,
+title = {The lato package},
+subtitle = {Lato font family and \LaTeX\ support},
+author = {Dziedzic, Ɓukasz and El Morabity, Mohamed},
+url = {http://www.latofonts.com/},
+urldate = {2023-08-31},
+year = 2019,
+version = {3.3},
+}
+
diff --git a/macros/latex/contrib/iwonamath/iwonamath.dtx b/macros/latex/contrib/iwonamath/iwonamath.dtx
new file mode 100644
index 0000000000..020c8d6ad0
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/iwonamath.dtx
@@ -0,0 +1,451 @@
+% \iffalse meta-comment
+%
+% File: iwonamath.dtx
+% Copyright 2023 by Boris Veytsman
+%
+% It may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License (LPPL), either version 1.3c of this
+% license or (at your option) any later version. The latest version
+% of this license is in the file
+%
+% https://www.latex-project.org/lppl.txt
+%
+%<*driver>
+\documentclass{l3doc}
+\usepackage{iwonamath}
+\usepackage{natbib, booktabs}
+\usepackage[tableposition=top]{caption}
+\begin{document}
+ \DocInput{\jobname.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \GetFileInfo{iwonamath.sty}
+% \title{\pkg{iwonamath}---a scaled version of Iwona math fonts}
+% \date{\fileversion, \filedate}
+% \author{Boris
+% Veytsman\thanks{\href{mailto:borisv@lk.net}{borisv@lk.net},
+% \href{mailto:boris@varphi.com}{boris@varphi.com}}}
+% \maketitle
+% \begin{abstract}
+% \LaTeX\ support for scaled Iwona math fonts for mixing with sans
+% serif text fonts.
+% \end{abstract}
+% \begin{documentation}
+%
+%\section{User manual}
+%\label{sec:ug}
+%
+%
+% Iwona is a sans serif typeface by Janusz Marian Nowacki. It has a
+% very good math support~\citep{iwona}. Package \pkg{iwona} integrates
+% text and math fonts. However, the math fonts may provide
+% interesting companions for other text fonts. To enable the
+% combination, this package separates math fonts and provides tools
+% for the package writers to mix and match them with text.
+%
+% \begin{variable}{
+% options/light,
+% options/condensed,
+% options/scale,
+% options/Scale,
+% options/delimitershack,
+% options/standardversion}
+% The package has the following options:
+% \begin{description}
+% \item[light] whether the math fonts use the light version of Iwona,
+% either |true| or |false| (default)
+% \item[condensed] whether the math fonts use the condensed version of
+% Iwona, either |true| or |false| (default).
+% \item[scale] the scale of the fonts, a number (by default 1). The
+% title cased |Scale| is the synonym for this key.
+% \item[delimitershack] whether to use the hack to get \cs{lVert} and
+% \cs{rVert} delimiters, absent in the original font (see
+% \citep[\S~12.5.5]{TLC3}), either |true| (default) or |false|.
+% \item[standardversions] whether to define standard versions |normal|
+% and |bold|, either |true| (default) or |false|. If |false|, then
+% the package does not define any math fonts, and it is up to the user
+% to deploy \cmd{\DefineIwonaMathVersion} do define them.
+% \end{description}
+% \end{variable}
+%
+%
+% \begin{function}{\DefineIwonaMathVersion}
+% \begin{syntax}
+% \cs{DefineIwonaMathVersion}\Arg{key/value pairs}
+% \end{syntax}
+% The main function of the package,
+% \cmd{\DefineIwonaMathVersion} defines a new
+% math version based on Iwona fonts.
+% \end{function}
+% The keys are the following (the defaults, where applicable,
+% correspond to the package options):
+% \begin{variable}{main/name,
+% main/light,
+% main/condensed,
+% main/bold}
+% \begin{description}
+% \item[name] the name of the version. By default, either |normal|
+% or |bold| depending on the |bold| key described below.
+% \item[light] whether the math fonts use the light version of
+% Iwona, either |true| or |false|
+% \item[condensed] whether the math fonts use the condensed version of
+% Iwona, either |true| or |false|.
+% \item[bold] whether we define a bold version, either |true| or
+% |false| (default)
+% \end{description}
+% \end{variable}
+%
+% For the boolean keys the setting |=true| can be omitted, so
+% |\DefineIwonaMathVersion{light=true}| and
+% |\DefineIwonaMathVersion{light}| are equivalent
+%
+% Note that in the current implementation the parameters |scale| and
+% |delimitershack| are the same for all versions defined.
+%
+% For example, the following invocation defines four math versions,
+% |normal|, |bold|, |condensed| and |boldcondensed|, based on Iwona
+% light, scaled 1.2:
+% \begin{verbatim}
+% \usepackage[scale=1.2, light]{iwonamath}
+% \DefineIwonaMathVersion{name=condensed,
+% condensed=true}
+% \DefineIwonaMathVersion{name=boldcondensed,
+% bold=true, condensed=true}
+% \end{verbatim}
+%
+%
+% \end{documentation}
+%
+% \begin{implementation}
+%
+% \section{Implementation}
+% \label{sec:impl}
+%
+%
+%
+%\subsection{Setting up}
+%\label{sec:settingup}
+%
+%
+%
+% First, we declare who we are:
+% \begin{macrocode}
+%<@@=iwonamath>
+%<package>\ProvidesExplPackage {iwonamath}
+%<fd>\ProvidesExplFile
+%<ot1m>{ot1_FAMILY_m.fd}
+%<ot1>{ot1_FAMILY_.fd}
+%<oml>{oml_FAMILY_.fd}
+%<oms>{oms_FAMILY_.fd}
+%<omx>{omx_FAMILY_.fd}
+%<cmsy>{omsiwonamathcmsy.fd}
+%<package|fd>{2023-08-31} {1.0}
+%<package|fd>{Scaled Iwona math fonts}
+%<*package>
+% \end{macrocode}
+%
+%
+%
+%
+%\subsection{Options}
+%\label{sec:optionSetting}
+%
+%
+%
+% \begin{variable}{\l_@@_scale_tl,
+% \l_@@_mainlight_bool,
+% \l_@@_maincondensed_bool,
+% \l_@@_delimitershack_bool,
+% \l_@@_standardversions_bool,
+% options/light,
+% options/condensed,
+% options/scale,
+% options/Scale,
+% options/delimitershack,
+% options/standardversion}
+% \begin{macrocode}
+\keys_define:nn { iwonamath/options }
+{
+ scale .tl_set:N = \l_@@_scale_tl,
+ Scale .tl_set:N = \l_@@_scale_tl,
+ light .bool_set:N = \l_@@_mainlight_bool,
+ light .default:n = true,
+ condensed .bool_set:N = \l_@@_maincondensed_bool,
+ condensed .default:n = true,
+ delimitershack .bool_set:N = \l_@@_delimitershack_bool,
+ delimitershack .default:n = true,
+ standardversions .bool_set:N = \l_@@_standardversions_bool,
+ standardversions .default:n = true,
+}
+
+\keys_set:nn {iwonamath/options }
+{
+ scale = 1,
+ light = false,
+ condensed = false,
+ delimitershack = true,
+ standardversions = true,
+}
+% \end{macrocode}
+%
+% \end{variable}
+%
+%
+% Options processing
+% \begin{macrocode}
+\IfFormatAtLeastTF { 2022-06-01 }
+ { \ProcessKeyOptions [ iwonamath/options ] }
+ {
+ \RequirePackage { l3keys2e }
+ \ProcessKeysOptions { iwonamath/options }
+ }
+% \end{macrocode}%
+%
+% \begin{variable}{\l_@@_versionname_tl,
+% \l_@@_light_bool,
+% \l_@@_condensed_bool,
+% \l_@@_bold_bool,
+% main/name,
+% main/light,
+% main/condensed,
+% main/bold}
+% Now the options for the main command
+% \begin{macrocode}
+\keys_define:nn { iwonamath/main }
+{
+ name .tl_set:N = \l_@@_versionname_tl,
+ light .bool_set:N = \l_@@_light_bool,
+ light .default:n = true,
+ condensed .bool_set:N = \l_@@_condensed_bool,
+ condensed .default:n = true,
+ bold .bool_set:N = \l_@@_bold_bool,
+ bold .default:n = true,
+}
+% \end{macrocode}
+%
+% \end{variable}
+%
+%
+%\subsection{Delimiters hack}
+%\label{sec:delimiters}
+%
+% We add delimiters from |cmsy|, as discussed in
+% \citep[\S~12.5.5]{TLC3}). We predefine the symbols for the standard
+% versions just in case.
+% \begin{macrocode}
+\bool_if:NTF \l_@@_delimitershack_bool
+{
+ \DeclareSymbolFont{symbols2}{OMS}{iwonamathcmsy}{m}{n}
+ \SetSymbolFont{symbols2} {bold}{OMS}{cmsy}{b}{n}
+ \DeclareMathDelimiter{\lVert}{\mathopen} {symbols2}{"6B}{largesymbols}{"0D}
+ \DeclareMathDelimiter{\rVert}{\mathclose}{symbols2}{"6B}{largesymbols}{"0D}
+}
+{}
+% \end{macrocode}
+%
+%
+%\subsection{The main function}
+%\label{sec:main}
+%
+%
+% \begin{macro}{\DefineIwonaMathVersion}
+% \begin{macrocode}
+\DeclareDocumentCommand \DefineIwonaMathVersion { m }
+{
+ \tl_clear:N \l_@@_versionname_tl
+ \bool_set_eq:NN \l_@@_light_bool \l_@@_mainlight_bool
+ \bool_set_eq:NN \l_@@_condensed_bool \l_@@_maincondensed_bool
+ \bool_set_false:N \l_@@_bold_bool
+ \keys_set:nn { iwonamath/main }
+ {
+ #1
+ }
+
+ \tl_if_empty:NTF \l_@@_versionname_tl
+ {
+ \bool_if:NTF \l_@@_bold_bool
+ {
+ \tl_set:Nn \l_@@_versionname_tl {bold}
+ }
+ {
+ \tl_set:Nn \l_@@_versionname_tl {normal}
+ }
+ }
+ {}
+
+ \tl_set:Nn \l_tmpa_tl {iwonamath}
+
+
+ \bool_if:NTF \l_@@_light_bool
+ {
+ \tl_set:Ne \l_tmpa_tl {\l_tmpa_tl l}
+ }
+ {}
+
+ \bool_if:NTF \l_@@_condensed_bool
+ {
+ \tl_set:Ne \l_tmpa_tl {\l_tmpa_tl c}
+ }
+ {}
+
+ \DeclareMathVersion{\l_@@_versionname_tl}
+ \bool_if:NTF \l_@@_bold_bool
+ {
+ \SetSymbolFont{operators}{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl m} {b}{n}
+ \SetSymbolFont{letters} {\l_@@_versionname_tl}{OML}{\l_tmpa_tl} {b}{it}
+ \SetSymbolFont{symbols} {\l_@@_versionname_tl}{OMS}{\l_tmpa_tl}{b}{n}
+ \SetSymbolFont{largesymbols}{\l_@@_versionname_tl}{OMX}{\l_tmpa_tl}{b}{n}
+ \SetMathAlphabet\mathsf{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl}{bx}{n}
+ \SetMathAlphabet\mathit{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl}{bx}{it}
+ \SetSymbolFont{symbols2} {\l_@@_versionname_tl}{OMS}{iwonamathcmsy}{b}{n}
+ }
+ {
+ \SetSymbolFont{operators}{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl m}{m}{n}
+ \SetSymbolFont{letters}{\l_@@_versionname_tl}{OML}{\l_tmpa_tl} {m}{it}
+ \SetSymbolFont{symbols}{\l_@@_versionname_tl}{OMS}{\l_tmpa_tl}{m}{n}
+ \SetSymbolFont{largesymbols}{\l_@@_versionname_tl}{OMX}{\l_tmpa_tl}{m}{n}
+ \SetMathAlphabet{\mathbf}{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl}{bx}{n}
+ \SetMathAlphabet{\mathsf}{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl}{m}{n}
+ \SetMathAlphabet{\mathit}{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl}{m}{it}
+ \SetMathAlphabet{\mathtt}{\l_@@_versionname_tl}{OT1}{\l_tmpa_tl}{m}{n}
+ \SetSymbolFont{symbols2} {\l_@@_versionname_tl}{OMS}{iwonamathcmsy}{m}{n}
+ }
+
+ \bool_if:NTF \l_@@_delimitershack_bool
+ {
+
+ }
+ {}
+
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+%\subsection{Default versions}
+%\label{sec:defaults}
+%
+% If standard versions are requested, we define them
+% \begin{macrocode}
+\bool_if:NTF \l_@@_standardversions_bool
+{
+ \DefineIwonaMathVersion{}
+ \DefineIwonaMathVersion{bold}
+}
+{}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+%\subsection{Font definition files}
+%\label{sec:fd}
+%
+%
+%
+% Now, the fd files. Sometimes they are defined in special |fdd|
+% files; here we use the main |dtx| for this.
+%
+% First, we check if the size is defined. If not,
+% we define it.
+% \begin{macrocode}
+%<*fd>
+\tl_if_exist:NTF \l_@@_scale_tl
+{}
+{
+ \tl_new:N \l_@@_scale_tl
+ \tl_set:Nn \l_@@_scale_tl {1}
+}
+%</fd>
+% \end{macrocode}
+%
+% Our version of |cmsy| just scales the font. Note that right now the
+% scaling is exactly the same as for other iwona math
+% characters---maybe we need to fine tune this.
+% \begin{macrocode}
+%<*cmsy>
+\DeclareFontFamily{OMS}{iwonamathcmsy}{\skewchar\font48 }
+\DeclareFontShape{OMS}{iwonamathcmsy}{m}{n}{%
+ <-> [\l_@@_scale_tl] cmsy10%
+ }{}
+\DeclareFontShape{OMS}{iwonamathcmsy}{b}{n}{%
+ <-> [\l_@@_scale_tl] cmbsy10%
+ }{}
+%</cmsy>
+% \end{macrocode}
+%
+% \begin{table}
+% \centering
+% \caption{Naming scheme for iwona fonts}
+% \label{tab:naming}
+% \begin{tabular}{lllll}
+% \toprule
+% Weight/Shape & \multicolumn{4}{c}{Base}\\
+% \cmidrule{2-5}\\
+% & Regular & Condensed & Light & Light Condensed \\
+% \midrule
+% m/n & iwonar & iwonacr & iwonal & iwonacl \\
+% m/it & iwonari & iwonacri & iwonali & iwonacli \\
+% b/n & iwonab & iwonacb & iwonam & iwonacm \\
+% b/it & iwonabi & iwonacb & iwonami & iwonacmi \\
+% \bottomrule
+% \end{tabular}
+% \end{table}
+%
+% Now, we need many files in the different weights and
+% condensed/regular status. It would be too tedious to write all
+% them. So we create a template with the special marks and a bash
+% script to generate all |fd| files. Of course, \TeX\ with enough
+% trickery can be used instead of bash, but why bother: we employ
+% Makefiles anyways\ldots
+%
+% The naming scheme for Iwona fonts is shown in
+% Table~\ref{tab:naming}. From this table we see we need three marks:
+% |_FAMILY_| for the base family, |_MEDIUM_| for medium font and
+% |_BOLD_| for bold font.
+%
+% We have two |OT1| files: one for default letters, one for |\math...|
+% commands.
+% \begin{macrocode}
+%<*ot1m>
+\DeclareFontFamily{OT1}{_FAMILY_m}{}
+\DeclareFontShape{OT1}{_FAMILY_m}{m}{n}{<-> [\l_@@_scale_tl] rm-_MEDIUM_}{}
+\DeclareFontShape{OT1}{_FAMILY_m}{b}{n}{<-> [\l_@@_scale_tl] rm-_BOLD_}{}
+%</ot1m>
+%<*ot1>
+\DeclareFontFamily{OT1}{_FAMILY_}{}
+\DeclareFontShape{OT1}{_FAMILY_}{m}{n}{<-> [\l_@@_scale_tl] rm-_MEDIUM_}{}
+\DeclareFontShape{OT1}{_FAMILY_}{m}{it}{<-> [\l_@@_scale_tl] rm-_MEDIUM_i}{}
+\DeclareFontShape{OT1}{_FAMILY_}{b}{n}{<-> [\l_@@_scale_tl] rm-_BOLD_}{}
+\DeclareFontShape{OT1}{_FAMILY_}{bx}{n}{<-> [\l_@@_scale_tl] rm-_BOLD_}{}
+%</ot1>
+%<*oml>
+\DeclareFontFamily{OML}{_FAMILY_}{}
+\DeclareFontShape{OML}{_FAMILY_}{m}{it}{<-> [\l_@@_scale_tl] mi-_MEDIUM_i}{}
+\DeclareFontShape{OML}{_FAMILY_}{b}{it}{<-> [\l_@@_scale_tl] mi-_BOLD_i}{}
+\DeclareFontShape{OML}{_FAMILY_}{bx}{it}{<-> [\l_@@_scale_tl] mi-_BOLD_i}{}
+%</oml>
+%<*oms>
+\DeclareFontFamily{OMS}{_FAMILY_}{}
+\DeclareFontShape{OMS}{_FAMILY_}{m}{n}{<-> [\l_@@_scale_tl] sy-_MEDIUM_z}{}
+\DeclareFontShape{OMS}{_FAMILY_}{b}{n}{<-> [\l_@@_scale_tl] sy-_BOLD_z}{}
+\DeclareFontShape{OMS}{_FAMILY_}{bx}{n}{<-> [\l_@@_scale_tl] sy-_BOLD_z}{}
+%</oms>
+%<*omx>
+\DeclareFontFamily{OMX}{_FAMILY_}{}
+\DeclareFontShape{OMX}{_FAMILY_}{m}{n}{<-> [\l_@@_scale_tl] ex-_MEDIUM_}{}
+\DeclareFontShape{OMX}{_FAMILY_}{b}{n}{<-> [\l_@@_scale_tl] ex-_BOLD_}{}
+\DeclareFontShape{OMX}{_FAMILY_}{bx}{n}{<-> [\l_@@_scale_tl] ex-_BOLD_}{}
+%</omx>
+% \end{macrocode}
+%
+% \end{implementation}
+%
+% \bibliography{iwonamath}
+% \bibliographystyle{plainnat}
+%
+% \PrintIndex \ No newline at end of file
diff --git a/macros/latex/contrib/iwonamath/iwonamath.ins b/macros/latex/contrib/iwonamath/iwonamath.ins
new file mode 100644
index 0000000000..fe0249d16a
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/iwonamath.ins
@@ -0,0 +1,13 @@
+\input l3docstrip.tex
+\askforoverwritefalse
+\generate
+{%
+ \file{iwonamath.sty}{\from{iwonamath.dtx}{package}}%
+ \file{ot1_FAMILY_m.fd}{\from{iwonamath.dtx}{fd,ot1m}}%
+ \file{ot1_FAMILY_.fd}{\from{iwonamath.dtx}{fd,ot1}}%
+ \file{oml_FAMILY_.fd}{\from{iwonamath.dtx}{fd,oml}}%
+ \file{oms_FAMILY_.fd}{\from{iwonamath.dtx}{fd,oms}}%
+ \file{omx_FAMILY_.fd}{\from{iwonamath.dtx}{fd,omx}}%
+ \file{omsiwonamathcmsy.fd}{\from{iwonamath.dtx}{fd,cmsy}}%
+}
+\endbatchfile
diff --git a/macros/latex/contrib/iwonamath/iwonamath.pdf b/macros/latex/contrib/iwonamath/iwonamath.pdf
new file mode 100644
index 0000000000..fc0b5e6e2c
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/iwonamath.pdf
Binary files differ
diff --git a/macros/latex/contrib/iwonamath/makeiwonamathfd.sh b/macros/latex/contrib/iwonamath/makeiwonamathfd.sh
new file mode 100755
index 0000000000..3e8634f030
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/makeiwonamathfd.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+# A simple script to create Iwona Math fds from template.
+# Public domain
+family=( iwonamath iwonamathc iwonamathl iwonamathlc )
+medium=( iwonar iwonacr iwonal iwonacl )
+bold=( iwonab iwonacb iwonam iwonacm )
+tmpl=( oml_FAMILY_.fd oms_FAMILY_.fd omx_FAMILY_.fd ot1_FAMILY_.fd ot1_FAMILY_m.fd )
+for i in 0 1 2 3; do
+ for template in ${tmpl[@]}; do
+ file=$(echo $template | sed "s/_FAMILY_/${family[$i]}/")
+ cat $template | \
+ sed "s/_FAMILY_/${family[$i]}/" | sed "s/_MEDIUM_/${medium[$i]}/" | \
+ sed "s/_BOLD_/${bold[$i]}/" > $file
+ done
+done
diff --git a/macros/latex/contrib/iwonamath/omliwonamath.fd b/macros/latex/contrib/iwonamath/omliwonamath.fd
new file mode 100644
index 0000000000..eca19657e2
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omliwonamath.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omliwonamath.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oml')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omliwonamath.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omliwonamath.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OML}{iwonamath}{}
+\DeclareFontShape{OML}{iwonamath}{m}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonari}{}
+\DeclareFontShape{OML}{iwonamath}{b}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonabi}{}
+\DeclareFontShape{OML}{iwonamath}{bx}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonabi}{}
+\endinput
+%%
+%% End of file `omliwonamath.fd'.
diff --git a/macros/latex/contrib/iwonamath/omliwonamathc.fd b/macros/latex/contrib/iwonamath/omliwonamathc.fd
new file mode 100644
index 0000000000..452341075f
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omliwonamathc.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omliwonamathc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oml')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omliwonamathc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omliwonamathc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OML}{iwonamathc}{}
+\DeclareFontShape{OML}{iwonamathc}{m}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonacri}{}
+\DeclareFontShape{OML}{iwonamathc}{b}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonacbi}{}
+\DeclareFontShape{OML}{iwonamathc}{bx}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonacbi}{}
+\endinput
+%%
+%% End of file `omliwonamathc.fd'.
diff --git a/macros/latex/contrib/iwonamath/omliwonamathl.fd b/macros/latex/contrib/iwonamath/omliwonamathl.fd
new file mode 100644
index 0000000000..a0dba2a829
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omliwonamathl.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omliwonamathl.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oml')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omliwonamathl.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omliwonamathl.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OML}{iwonamathl}{}
+\DeclareFontShape{OML}{iwonamathl}{m}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonali}{}
+\DeclareFontShape{OML}{iwonamathl}{b}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonami}{}
+\DeclareFontShape{OML}{iwonamathl}{bx}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonami}{}
+\endinput
+%%
+%% End of file `omliwonamathl.fd'.
diff --git a/macros/latex/contrib/iwonamath/omliwonamathlc.fd b/macros/latex/contrib/iwonamath/omliwonamathlc.fd
new file mode 100644
index 0000000000..90d147d1ee
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omliwonamathlc.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omliwonamathlc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oml')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omliwonamathlc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omliwonamathlc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OML}{iwonamathlc}{}
+\DeclareFontShape{OML}{iwonamathlc}{m}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonacli}{}
+\DeclareFontShape{OML}{iwonamathlc}{b}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonacmi}{}
+\DeclareFontShape{OML}{iwonamathlc}{bx}{it}{<-> [\l__iwonamath_scale_tl] mi-iwonacmi}{}
+\endinput
+%%
+%% End of file `omliwonamathlc.fd'.
diff --git a/macros/latex/contrib/iwonamath/omsiwonamath.fd b/macros/latex/contrib/iwonamath/omsiwonamath.fd
new file mode 100644
index 0000000000..958053cd49
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omsiwonamath.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omsiwonamath.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oms')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omsiwonamath.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omsiwonamath.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMS}{iwonamath}{}
+\DeclareFontShape{OMS}{iwonamath}{m}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonarz}{}
+\DeclareFontShape{OMS}{iwonamath}{b}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonabz}{}
+\DeclareFontShape{OMS}{iwonamath}{bx}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonabz}{}
+\endinput
+%%
+%% End of file `omsiwonamath.fd'.
diff --git a/macros/latex/contrib/iwonamath/omsiwonamathc.fd b/macros/latex/contrib/iwonamath/omsiwonamathc.fd
new file mode 100644
index 0000000000..02b892ffc5
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omsiwonamathc.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omsiwonamathc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oms')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omsiwonamathc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omsiwonamathc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMS}{iwonamathc}{}
+\DeclareFontShape{OMS}{iwonamathc}{m}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonacrz}{}
+\DeclareFontShape{OMS}{iwonamathc}{b}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonacbz}{}
+\DeclareFontShape{OMS}{iwonamathc}{bx}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonacbz}{}
+\endinput
+%%
+%% End of file `omsiwonamathc.fd'.
diff --git a/macros/latex/contrib/iwonamath/omsiwonamathl.fd b/macros/latex/contrib/iwonamath/omsiwonamathl.fd
new file mode 100644
index 0000000000..d291ba7eb0
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omsiwonamathl.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omsiwonamathl.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oms')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omsiwonamathl.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omsiwonamathl.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMS}{iwonamathl}{}
+\DeclareFontShape{OMS}{iwonamathl}{m}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonalz}{}
+\DeclareFontShape{OMS}{iwonamathl}{b}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonamz}{}
+\DeclareFontShape{OMS}{iwonamathl}{bx}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonamz}{}
+\endinput
+%%
+%% End of file `omsiwonamathl.fd'.
diff --git a/macros/latex/contrib/iwonamath/omsiwonamathlc.fd b/macros/latex/contrib/iwonamath/omsiwonamathlc.fd
new file mode 100644
index 0000000000..55a040e93e
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omsiwonamathlc.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omsiwonamathlc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,oms')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omsiwonamathlc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omsiwonamathlc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMS}{iwonamathlc}{}
+\DeclareFontShape{OMS}{iwonamathlc}{m}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonaclz}{}
+\DeclareFontShape{OMS}{iwonamathlc}{b}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonacmz}{}
+\DeclareFontShape{OMS}{iwonamathlc}{bx}{n}{<-> [\l__iwonamath_scale_tl] sy-iwonacmz}{}
+\endinput
+%%
+%% End of file `omsiwonamathlc.fd'.
diff --git a/macros/latex/contrib/iwonamath/omxiwonamath.fd b/macros/latex/contrib/iwonamath/omxiwonamath.fd
new file mode 100644
index 0000000000..662121a6be
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omxiwonamath.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omxiwonamath.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,omx')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omxiwonamath.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omxiwonamath.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMX}{iwonamath}{}
+\DeclareFontShape{OMX}{iwonamath}{m}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonar}{}
+\DeclareFontShape{OMX}{iwonamath}{b}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonab}{}
+\DeclareFontShape{OMX}{iwonamath}{bx}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonab}{}
+\endinput
+%%
+%% End of file `omxiwonamath.fd'.
diff --git a/macros/latex/contrib/iwonamath/omxiwonamathc.fd b/macros/latex/contrib/iwonamath/omxiwonamathc.fd
new file mode 100644
index 0000000000..fce676f1e8
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omxiwonamathc.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omxiwonamathc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,omx')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omxiwonamathc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omxiwonamathc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMX}{iwonamathc}{}
+\DeclareFontShape{OMX}{iwonamathc}{m}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonacr}{}
+\DeclareFontShape{OMX}{iwonamathc}{b}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonacb}{}
+\DeclareFontShape{OMX}{iwonamathc}{bx}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonacb}{}
+\endinput
+%%
+%% End of file `omxiwonamathc.fd'.
diff --git a/macros/latex/contrib/iwonamath/omxiwonamathl.fd b/macros/latex/contrib/iwonamath/omxiwonamathl.fd
new file mode 100644
index 0000000000..895f359e35
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omxiwonamathl.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omxiwonamathl.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,omx')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omxiwonamathl.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omxiwonamathl.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMX}{iwonamathl}{}
+\DeclareFontShape{OMX}{iwonamathl}{m}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonal}{}
+\DeclareFontShape{OMX}{iwonamathl}{b}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonam}{}
+\DeclareFontShape{OMX}{iwonamathl}{bx}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonam}{}
+\endinput
+%%
+%% End of file `omxiwonamathl.fd'.
diff --git a/macros/latex/contrib/iwonamath/omxiwonamathlc.fd b/macros/latex/contrib/iwonamath/omxiwonamathlc.fd
new file mode 100644
index 0000000000..85f60415e3
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/omxiwonamathlc.fd
@@ -0,0 +1,39 @@
+%%
+%% This is file `omxiwonamathlc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,omx')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from omxiwonamathlc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{omxiwonamathlc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OMX}{iwonamathlc}{}
+\DeclareFontShape{OMX}{iwonamathlc}{m}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonacl}{}
+\DeclareFontShape{OMX}{iwonamathlc}{b}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonacm}{}
+\DeclareFontShape{OMX}{iwonamathlc}{bx}{n}{<-> [\l__iwonamath_scale_tl] ex-iwonacm}{}
+\endinput
+%%
+%% End of file `omxiwonamathlc.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamath.fd b/macros/latex/contrib/iwonamath/ot1iwonamath.fd
new file mode 100644
index 0000000000..20be53c3af
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamath.fd
@@ -0,0 +1,40 @@
+%%
+%% This is file `ot1iwonamath.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamath.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamath.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamath}{}
+\DeclareFontShape{OT1}{iwonamath}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonar}{}
+\DeclareFontShape{OT1}{iwonamath}{m}{it}{<-> [\l__iwonamath_scale_tl] rm-iwonari}{}
+\DeclareFontShape{OT1}{iwonamath}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonab}{}
+\DeclareFontShape{OT1}{iwonamath}{bx}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonab}{}
+\endinput
+%%
+%% End of file `ot1iwonamath.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathc.fd b/macros/latex/contrib/iwonamath/ot1iwonamathc.fd
new file mode 100644
index 0000000000..a0b92a2b37
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathc.fd
@@ -0,0 +1,40 @@
+%%
+%% This is file `ot1iwonamathc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathc}{}
+\DeclareFontShape{OT1}{iwonamathc}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacr}{}
+\DeclareFontShape{OT1}{iwonamathc}{m}{it}{<-> [\l__iwonamath_scale_tl] rm-iwonacri}{}
+\DeclareFontShape{OT1}{iwonamathc}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacb}{}
+\DeclareFontShape{OT1}{iwonamathc}{bx}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacb}{}
+\endinput
+%%
+%% End of file `ot1iwonamathc.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathcm.fd b/macros/latex/contrib/iwonamath/ot1iwonamathcm.fd
new file mode 100644
index 0000000000..a5e69e07ad
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathcm.fd
@@ -0,0 +1,38 @@
+%%
+%% This is file `ot1iwonamathcm.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1m')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathcm.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathcm.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathcm}{}
+\DeclareFontShape{OT1}{iwonamathcm}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacr}{}
+\DeclareFontShape{OT1}{iwonamathcm}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacb}{}
+\endinput
+%%
+%% End of file `ot1iwonamathcm.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathl.fd b/macros/latex/contrib/iwonamath/ot1iwonamathl.fd
new file mode 100644
index 0000000000..82060b21d1
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathl.fd
@@ -0,0 +1,40 @@
+%%
+%% This is file `ot1iwonamathl.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathl.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathl.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathl}{}
+\DeclareFontShape{OT1}{iwonamathl}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonal}{}
+\DeclareFontShape{OT1}{iwonamathl}{m}{it}{<-> [\l__iwonamath_scale_tl] rm-iwonali}{}
+\DeclareFontShape{OT1}{iwonamathl}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonam}{}
+\DeclareFontShape{OT1}{iwonamathl}{bx}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonam}{}
+\endinput
+%%
+%% End of file `ot1iwonamathl.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathlc.fd b/macros/latex/contrib/iwonamath/ot1iwonamathlc.fd
new file mode 100644
index 0000000000..c5b2f0024b
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathlc.fd
@@ -0,0 +1,40 @@
+%%
+%% This is file `ot1iwonamathlc.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathlc.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathlc.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathlc}{}
+\DeclareFontShape{OT1}{iwonamathlc}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacl}{}
+\DeclareFontShape{OT1}{iwonamathlc}{m}{it}{<-> [\l__iwonamath_scale_tl] rm-iwonacli}{}
+\DeclareFontShape{OT1}{iwonamathlc}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacm}{}
+\DeclareFontShape{OT1}{iwonamathlc}{bx}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacm}{}
+\endinput
+%%
+%% End of file `ot1iwonamathlc.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathlcm.fd b/macros/latex/contrib/iwonamath/ot1iwonamathlcm.fd
new file mode 100644
index 0000000000..130c63822e
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathlcm.fd
@@ -0,0 +1,38 @@
+%%
+%% This is file `ot1iwonamathlcm.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1m')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathlcm.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathlcm.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathlcm}{}
+\DeclareFontShape{OT1}{iwonamathlcm}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacl}{}
+\DeclareFontShape{OT1}{iwonamathlcm}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonacm}{}
+\endinput
+%%
+%% End of file `ot1iwonamathlcm.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathlm.fd b/macros/latex/contrib/iwonamath/ot1iwonamathlm.fd
new file mode 100644
index 0000000000..ab72419cd8
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathlm.fd
@@ -0,0 +1,38 @@
+%%
+%% This is file `ot1iwonamathlm.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1m')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathlm.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathlm.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathlm}{}
+\DeclareFontShape{OT1}{iwonamathlm}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonal}{}
+\DeclareFontShape{OT1}{iwonamathlm}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonam}{}
+\endinput
+%%
+%% End of file `ot1iwonamathlm.fd'.
diff --git a/macros/latex/contrib/iwonamath/ot1iwonamathm.fd b/macros/latex/contrib/iwonamath/ot1iwonamathm.fd
new file mode 100644
index 0000000000..7a103a029b
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/ot1iwonamathm.fd
@@ -0,0 +1,38 @@
+%%
+%% This is file `ot1iwonamathm.fd',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% iwonamath.dtx (with options: `fd,ot1m')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from ot1iwonamathm.fd.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iwonamath.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.)
+\ProvidesExplFile
+{ot1iwonamathm.fd}
+{2023-08-31} {1.0}
+{Scaled Iwona math fonts}
+\tl_if_exist:NTF \l__iwonamath_scale_tl
+{}
+{
+ \tl_new:N \l__iwonamath_scale_tl
+ \tl_set:Nn \l__iwonamath_scale_tl {1}
+}
+\DeclareFontFamily{OT1}{iwonamathm}{}
+\DeclareFontShape{OT1}{iwonamathm}{m}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonar}{}
+\DeclareFontShape{OT1}{iwonamathm}{b}{n}{<-> [\l__iwonamath_scale_tl] rm-iwonab}{}
+\endinput
+%%
+%% End of file `ot1iwonamathm.fd'.
diff --git a/macros/latex/contrib/iwonamath/sample.pdf b/macros/latex/contrib/iwonamath/sample.pdf
new file mode 100644
index 0000000000..c64d5e078d
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/sample.pdf
Binary files differ
diff --git a/macros/latex/contrib/iwonamath/sample.tex b/macros/latex/contrib/iwonamath/sample.tex
new file mode 100644
index 0000000000..d6c88f3d22
--- /dev/null
+++ b/macros/latex/contrib/iwonamath/sample.tex
@@ -0,0 +1,79 @@
+\documentclass{article}
+\usepackage[default]{lato}
+\usepackage{natbib}
+\usepackage {amsmath,amssymb,bm}
+\usepackage[scale=1.15]{iwonamath}
+\DefineIwonaMathVersion{name=iwonacondensed, condensed}
+\DefineIwonaMathVersion{name=iwonalight, light}
+\DefineIwonaMathVersion{name=iwonalightcondensed, light, condensed}
+\newcommand\ibinom[2]{\genfrac\lbrace\rbrace{0pt}{}{#1}{#2}}
+\long\def\sample{%
+ First some large operators both in text:
+\smash{$ \iiint\limits_{\mathcal{Q}} f(x,y,z)\,dx\,dy\,dz $}
+and
+$\prod_{\gamma\in\Gamma_{\widetilde{C}}} \partial(\widetilde{X}_\gamma)$;
+and also on display:
+
+\begin{equation}
+\begin{split}
+\iiiint\limits_{\mathbf{Q}} f(w,x,y,z)\,dw\,dx\,dy\,dz &\leq
+\oint_{\bm{\partial Q}} f' \left( \max \left\lbrace
+\frac{\lVert w \rVert}{\lvert w^2 + x^2 \rvert} ;
+\frac{\lVert z \rVert}{\lvert y^2 + z^2 \rvert} ;
+\frac{\lVert w \oplus z \rVert}{\lVert x \oplus y \rVert}
+\right\rbrace\right)
+\\
+&\precapprox \biguplus_{\mathbb{Q} \Subset \bar{\mathbf{Q}}}
+ \left[ f^{\ast} \left(
+ \frac{\left\lmoustache\mathbb{Q}(t)\right\rmoustache}
+ {\sqrt {1 - t^2}}
+ \right)\right]_{t=\alpha}^{t=\vartheta}
+ - ( \Delta + \nu - v )^3
+\end{split}
+\end{equation}
+
+For $x$ in the open interval $ \left] -1, 1 \right[ $
+the infinite sum in Equation~\eqref{eq:binom1} is convergent;
+however, this does not hold
+throughout the closed interval $ \left[ -1, 1 \right] $.
+\begin{align}
+ (1 - x)^{-k} &=
+ 1 + \sum_{j=1}^{\infty} (-1)^j \ibinom{k}{j} x^j
+ \text{\quad for $k \in \mathbb{N}$; $k \neq 0$.}
+ \label{eq:binom1}
+\end{align}}
+
+
+\begin{document}
+
+In this sample we use Lato font~\citep{lato} as the body font. For the math we
+use the same input as in The \LaTeX\ Companion~\citep[\S~12.5]{TLC3}).
+
+
+In all examples we use Iwona scaled 1.15
+
+\section*{Iwona regular}
+
+\sample
+
+\section*{Iwona condensed}
+
+\mathversion{iwonacondensed}
+\sample
+
+\section*{Iwona light}
+
+\mathversion{iwonalight}
+\sample
+
+\section*{Iwona light condensed}
+
+\mathversion{iwonalightcondensed}
+\sample
+
+
+
+\bibliography{iwonamath}
+\bibliographystyle{plainnat}
+
+\end{document}