summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/fonts/euler-math/Euler-Math.ltx (renamed from Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.ltx)56
-rw-r--r--Master/texmf-dist/doc/fonts/euler-math/Euler-Math.pdfbin0 -> 157551 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.pdfbin157554 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/euler-math/README.md37
-rw-r--r--Master/texmf-dist/doc/fonts/euler-math/unimath-euler.ltx6
-rw-r--r--Master/texmf-dist/doc/fonts/euler-math/unimath-euler.pdfbin1452175 -> 1452028 bytes
-rw-r--r--Master/texmf-dist/fonts/opentype/public/euler-math/Euler-Math.otf (renamed from Master/texmf-dist/fonts/opentype/public/euler-math/Neo-Euler.otf)bin438348 -> 439804 bytes
-rw-r--r--Master/texmf-dist/tex/latex/euler-math/euler-math.sty127
-rw-r--r--Master/texmf-dist/tex/latex/euler-math/neo-euler.sty134
9 files changed, 190 insertions, 170 deletions
diff --git a/Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.ltx b/Master/texmf-dist/doc/fonts/euler-math/Euler-Math.ltx
index 9851d627b9b..b187c488696 100644
--- a/Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.ltx
+++ b/Master/texmf-dist/doc/fonts/euler-math/Euler-Math.ltx
@@ -5,7 +5,7 @@
\usepackage{amsmath, array, varioref}
\usepackage[british]{babel}
\usepackage{fourier-orns}
-\usepackage{neo-euler}
+\usepackage{euler-math}
\setmainfont{cmunorm.otf}
[BoldFont = cmunobx.otf ,
ItalicFont = cmunoti.otf ,
@@ -18,14 +18,14 @@
\usepackage{realscripts}
\usepackage{microtype}
\usepackage{hyperref}
-\hypersetup{pdftitle={Neo-Euler User’s Guide},
+\hypersetup{pdftitle={Euler-Math User’s Guide},
pdfauthor={Daniel FLIPO},
bookmarksopen,
colorlinks
}
\newcommand*{\hlabel}[1]{\phantomsection\label{#1}}
-\newcommand*{\NEOTF}{Neo-Euler}
+\newcommand*{\NEOTF}{Euler-Math}
\newcommand*{\pkg}[1]{\texttt{#1}}
\newcommand*{\file}[1]{\texttt{#1}}
\newcommand*{\opt}[1]{\texttt{#1}}
@@ -35,10 +35,10 @@
\renewcommand{\labelitemi}{\lefthand}
-\title{Neo Euler maths font, OTF version}
+\title{Euler Math font, OTF version}
\author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}}
-\newcommand*{\version}{0.22}
+\newcommand*{\version}{0.30}
\begin{document}
\maketitle
@@ -48,10 +48,10 @@
\NEOTF{} is a fork of the Euler project initiated by Khaled Hosny in 2009
and abandoned in 2016%
\footnote{See \url{https://github.com/aliftype/euler-otf}}.
-The font name has been kept (Neo Euler) but the file name has been changed
-from \file{euler.otf} to \file{Neo-Euler.otf}.
+The original font name `Neo~Euler’, has been changed to `Euler~Math’, the file
+name is now \file{Euler-Math.otf}.
-\file{Neo-Euler.otf} is an OpenType version of Hermann Zapf’s Euler maths font,
+\file{Euler-Math.otf} is an OpenType version of Hermann Zapf’s Euler maths font,
as the original font it contains three alphabets $Euler Roman$,
$\symscr{SCRIPT}$ and $\symfrak{Euler Fraktur}$ (none of them being suitable
for typesetting text) and has some specificities:
@@ -82,8 +82,8 @@ Comments, suggestions and bug reports are welcome!
A basic call for \NEOTF{} would be:
\begin{verbatim}
\usepackage[math-style=upright]{unicode-math}
-\setmathfont{Neo-Euler.otf} % Call by file name or
-\setmathfont{Neo Euler} % Call by font name or
+\setmathfont{Euler-Math.otf} % Call by file name or
+\setmathfont{Euler Math} % Call by font name or
\end{verbatim}
this loads \NEOTF{} as maths font%
\footnote{Both calls work equally well with LuaTeX; with XeTeX a call by font
@@ -93,17 +93,17 @@ this loads \NEOTF{} as maths font%
Please note that the three sets of text fonts have to be chosen separately.
-\subsection{Calling \pkg{neo-euler.sty} (recommended)}
+\subsection{Calling \pkg{euler-math.sty} (recommended)}
As an alternative to load \NEOTF{} you can type:\\[.5\baselineskip]
-\verb+\usepackage{neo-euler}+\\[.5\baselineskip]
+\verb+\usepackage{euler-math}+\\[.5\baselineskip]
\verb+\usepackage[ +\textit{options}
\footnote{Possible \textit{options} are \opt{Scale=} or any of the options
described in sections \ref{ssection-cv}, \ref{ssection-ss} and
\ref{ssec-other-features}.}%
-\verb+ ]{neo-euler}+\\[.5\baselineskip]
+\verb+ ]{euler-math}+\\[.5\baselineskip]
it loads \pkg{unicode-math} with the \opt{math-style=upright} option and
-sets Neo-Euler as maths font but does a bit more:
+sets Euler-Math as maths font but does a bit more:
\begin{enumerate}
\item it checks at \verb+\begin{document}+ if packages \pkg{amssymb} or
\pkg{latexsym} are loaded and issues warnings in case they are;
@@ -112,7 +112,7 @@ sets Neo-Euler as maths font but does a bit more:
\item it defines some specific maths characters \showmchar{varemptyset}, etc.
\end{enumerate}
-The \pkg{neo-euler.sty} package is meant to replace the \pkg{eulervm.sty}
+The \pkg{euler-math.sty} package is meant to replace the \pkg{eulervm.sty}
package for users switching from pdfLaTeX to LuaLaTeX or XeLaTeX.
It does not interfere with text fonts which have to be chosen separately.
@@ -162,7 +162,7 @@ and $\varphi$ instead of $\epsilon$ and $\phi$ (with matching bold variants
$\symbf{\varepsilon}$ and $\symbf{\varphi}$), you can
add option \verb+CharacterVariant={3,6}+ to the \cmd{setmathfont} call:
\begin{verbatim}
-\setmathfont{Neo-Euler.otf}[CharacterVariant={3,6}]
+\setmathfont{Euler-Math.otf}[CharacterVariant={3,6}]
\end{verbatim}
Please note that curly braces are mandatory whenever more than one
@@ -171,7 +171,7 @@ Please note that curly braces are mandatory whenever more than one
Note about \cmd{hbar}: \pkg{unicode-math} defines \cmd{hbar} as
\cmd{hslash} (U+210F) while \pkg{amsmath} provides two different glyphs
(h with horizontal or diagonal stroke).\\
-\pkg{neo-euler} follows \pkg{unicode-math}; the h with horizontal
+\pkg{euler-math} follows \pkg{unicode-math}; the h with horizontal
stroke can be printed using \cmd{hslash} or \cmd{hbar} together with character
variant \opt{cv01} or with \cmd{muphbar} (replacement for AMS’ command
\cmd{hbar}).
@@ -221,15 +221,15 @@ symbols, see table~\vref{ss06}.
To enable Stylistic Sets 5 and 6 for \NEOTF{}, you should enter
\begin{verbatim}
-\setmathfont{Neo-Euler.otf}[StylisticSet={5,6}] or
-\usepackage[Style={smaller,subsetneq}]{Neo-Euler.otf}
+\setmathfont{Euler-Math.otf}[StylisticSet={5,6}] or
+\usepackage[Style={smaller,subsetneq}]{Euler-Math.otf}
\end{verbatim}
{\samepage then, \verb+\[A \subsetneq B\quad x \in E \quad D \parallel D' \]+
will print as
-\setmathfont{Neo-Euler.otf}[StylisticSet={5,6}]
+\setmathfont{Euler-Math.otf}[StylisticSet={5,6}]
\[A \subsetneq B\quad x \in E \quad D \parallel D' \]
instead of
-\setmathfont{Neo-Euler.otf}
+\setmathfont{Euler-Math.otf}
\[A \subsetneq B\quad x \in E \quad D \parallel D' \]
}
@@ -238,20 +238,20 @@ instead of
To get oldstyle numbers in maths, the feature \opt{+onum} is available:
\begin{verbatim}
-\setmathfont{Neo-Euler.otf}[Numbers=OldStyle] or
-\usepackage[Style={fulloldstyle}]{neo-euler}
+\setmathfont{Euler-Math.otf}[Numbers=OldStyle] or
+\usepackage[Style={fulloldstyle}]{euler-math}
\end{verbatim}
-\setmathfont{Neo-Euler.otf}[Numbers=OldStyle]
+\setmathfont{Euler-Math.otf}[Numbers=OldStyle]
$0123456789, \symbf{0123456789}$
-\setmathfont{Neo-Euler.otf}
+\setmathfont{Euler-Math.otf}
\subsection{Standard \LaTeX{} math commands}
\label{ssec-math-commands}
All standard \LaTeX{} maths commands, all \pkg{amssymb} commands and all
\pkg{latexsym} commands are supported by \NEOTF{}, for some of them loading
-\pkg{neo-euler.sty} is required.
+\pkg{euler-math.sty} is required.
Various wide accents are also supported:
\begin{itemize}
@@ -353,7 +353,7 @@ Various wide accents are also supported:
\]
\item Finally \cmd{widearc} and \cmd{overrightarc} (loading
- \pkg{neo-euler.sty} is required)
+ \pkg{euler-math.sty} is required)
\[\widearc{AMB}\quad \overrightarc{AMB}\]
\end{itemize}
@@ -412,7 +412,7 @@ in the \file{.log} file, for instance:
\setmathfont{STIXTwoMath-Regular.otf}[range={"2964}]
\texttt{Missing character: There is no }$⥤$%
-\texttt{ (U+2964) in font Neo Euler}
+\texttt{ (U+2964) in font Euler Math}
Borrowing them from a more complete font, say \file{Asana-Math},
is a possible workaround:
diff --git a/Master/texmf-dist/doc/fonts/euler-math/Euler-Math.pdf b/Master/texmf-dist/doc/fonts/euler-math/Euler-Math.pdf
new file mode 100644
index 00000000000..781776e0fa7
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/euler-math/Euler-Math.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.pdf b/Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.pdf
deleted file mode 100644
index c74c6144b24..00000000000
--- a/Master/texmf-dist/doc/fonts/euler-math/Neo-Euler.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/euler-math/README.md b/Master/texmf-dist/doc/fonts/euler-math/README.md
index 20545228482..5194e1bf6e0 100644
--- a/Master/texmf-dist/doc/fonts/euler-math/README.md
+++ b/Master/texmf-dist/doc/fonts/euler-math/README.md
@@ -1,22 +1,23 @@
-Neo-Euler package
+Euler-Math package
====================
## Description
-`Neo-Euler.otf’ is an OpenType version of Hermann Zapf’s Euler maths font.
-It is the continuation of the Euler project initiated by Khaled Hosny in
-2009 and abandoned in 2016.
-A style file `neo-euler.sty’ is provided as a replacement of the
-`eulervm.sty’ package for LuaLaTeX and XeLaTeX users.
+'Euler-Math.otf' (formerly named 'Neo-Euler.otf') is an OpenType version of
+Hermann Zapf’s Euler maths font. It is the continuation of the Euler project
+initiated by Khaled Hosny in 2009 and abandoned in 2016.
+A style file 'euler-math.sty' is provided as a replacement of the
+'eulervm.sty' package for LuaLaTeX and XeLaTeX users.
## Contents
-* Neo-Euler.otf OpenType maths font
-* neo-euler.sty LaTeX style file: replaces eulervm.sty for LuaTeX/XeTeX
-* Neo-Euler.pdf Documentation in PDF format
-* Neo-Euler.ltx LaTeX source of Neo-Euler.pdf
+* Euler-Math.otf OpenType maths font
+* euler-math.sty LaTeX style file: replaces eulervm.sty for LuaTeX/XeTeX
+* neo-euler.sty For compatibility with the former name
+* Euler-Math.pdf Documentation in PDF format
+* Euler-Math.ltx LaTeX source of Euler-Math.pdf
* unimath-euler.pdf Modified version of unimath-symbols.pdf
- showing available Neo-Euler symbols compared to
+ showing available Euler-Math symbols compared to
LatinModern, STIXTwo, Erewhon, TeXGyrePagella and Asana.
* unimath-euler.ltx LaTeX source of unimath-concrete.pdf
* README.md (this file)
@@ -25,20 +26,20 @@ A style file `neo-euler.sty’ is provided as a replacement of the
This package is meant to be installed automatically by TeXLive, MikTeX, etc.
Otherwise, the package can be installed under TEXMFHOME or TEXMFLOCAL, f.i.
-Neo-Euler.otf in directory texmf-local/fonts/opentype/public/neo-euler/
-and neo-euler.sty in directory texmf-local/tex/latex/neo-euler/.
+Euler-Math.otf in directory texmf-local/fonts/opentype/public/euler-math/
+and euler-math.sty in directory texmf-local/tex/latex/euler-math/.
Documentation files and their sources can go to directory
-texmf-local/doc/fonts/public/neo-euler/
+texmf-local/doc/fonts/public/euler-math/
Don't forget to rebuild the file database (mktexlsr or so) if you install
under TEXMFLOCAL.
-Finally, make the system font database aware of the Neo-Euler font
+Finally, make the system font database aware of the Euler-Math font
(fontconfig under Linux).
## License
-* The font `Neo-Euler.otf’ is licensed under the SIL Open Font License,
+* The font 'Euler-Math.otf' is licensed under the SIL Open Font License,
Version 1.1. This license is available with a FAQ at:
http://scripts.sil.org/OFL
* The other files are distributed under the terms of the LaTeX Project
@@ -56,6 +57,10 @@ Either version 1.3 or, at your option, any later version.
- Sizes of vertical variants of \lAngle, \rAngle, \langle and
\rangle corrected.
- Added extensible integral for U+222B (usable with luametatex).
+* v0.30:
+ - *Name of the package changed from Neo-Euler to Euler-Math*;
+ the former 'neo-euler.sty' style file has been kept for compatibility,
+ it now loads 'euler-math.sty' and warns about the change.
---
Copyright 2009-2016 Khaled Hosny
diff --git a/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.ltx b/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.ltx
index 7d53cdf3cab..82a349fe38d 100644
--- a/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.ltx
+++ b/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.ltx
@@ -75,7 +75,7 @@
\defmathfont{erewhon}{Erewhon-Math.otf}{AA6666}{E}
\defmathfont{pagella}{texgyrepagella-math.otf}{66CCCC}{P}
\defmathfont{asana}{Asana-Math.otf}{AACC66}{A}
-\defmathupfont{euler}{Neo-Euler.otf}{AA66CC}{N}
+\defmathupfont{euler}{Euler-Math.otf}{AA66CC}{N}
\def\INPUT{\input{unicode-math-table.tex}}
\def\TABLE{%
@@ -181,7 +181,7 @@
\MakeShortVerb\|
\title{Symbols defined by \textsf{unicode-math}}
\author{Will Robertson}
-\date{Modified (df) to show Neo Euler Math symbols}
+\date{Modified (df) to show Euler Math symbols}
\maketitle
This document uses the file \texttt{unicode-math-table.tex}
@@ -196,7 +196,7 @@ The following fonts are shown: (with approximate symbol counts)
\item[\Lerewhon] \mathversion{erewhon} $\mathup{Erewhon\ Math}$ (\ref{count:erewhon})
\item[\Lpagella] \mathversion{pagella} $\mathup{TeX\ Gyre\ Pagella\ Math}$ (\ref{count:pagella})
\item[\Lasana] \mathversion{asana} $\mathup{Asana\ Math}$ (\ref{count:asana})
-\item[\Leuler] \mathversion{euler} $\mathup{Neo\ Euler}$ (\ref{count:euler})
+\item[\Leuler] \mathversion{euler} $\mathup{Euler\ Math}$ (\ref{count:euler})
\end{itemize}
Symbols defined in Plain \TeX\ are indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (p)}} after their macro name.
\LaTeX\ follows Plain \TeX, but defines a handful more, indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (l)}}.
diff --git a/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.pdf b/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.pdf
index 69dccf804ce..5c9c6f7d81a 100644
--- a/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.pdf
+++ b/Master/texmf-dist/doc/fonts/euler-math/unimath-euler.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/opentype/public/euler-math/Neo-Euler.otf b/Master/texmf-dist/fonts/opentype/public/euler-math/Euler-Math.otf
index 2ee45509d16..b540610805a 100644
--- a/Master/texmf-dist/fonts/opentype/public/euler-math/Neo-Euler.otf
+++ b/Master/texmf-dist/fonts/opentype/public/euler-math/Euler-Math.otf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/euler-math/euler-math.sty b/Master/texmf-dist/tex/latex/euler-math/euler-math.sty
new file mode 100644
index 00000000000..cf678d50c0f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/euler-math/euler-math.sty
@@ -0,0 +1,127 @@
+\NeedsTeXFormat{LaTeX2e}[2018/01/01]
+\def\fileversion{0.30}
+\def\filedate{2022-11-06}
+\ProvidesPackage{euler-math}[\filedate\space\fileversion]
+
+% Ensure luatex or xetex engine
+\RequirePackage{iftex}[2019/10/24]
+\RequireTUTeX
+\RequirePackage[math-style=upright]{unicode-math}
+
+\newopentypefeature{Style}{smaller}{+ss05}
+\newopentypefeature{Style}{subsetneq}{+ss06}
+
+% Options: forward them to \setmathfont.
+\RequirePackage{xkeyval}
+\newtoks\NEUtoks
+\newcommand*{\Store@KV@Option}[2]{%
+ \NEUtoks=\expandafter{\the\NEUtoks #1={#2},}}
+
+\DeclareOptionX{CharacterVariant}{\Store@KV@Option{CharacterVariant}{#1}}
+\DeclareOptionX{StylisticSet}{\Store@KV@Option{StylisticSet}{#1}}
+\DeclareOptionX{Style}{\Store@KV@Option{Style}{#1}}
+\DeclareOptionX{Scale}{\Store@KV@Option{Scale}{#1}}
+\DeclareOptionX{Numbers}{\Store@KV@Option{Numbers}{#1}}
+\ProcessOptionsX
+
+% Following Joseph Wright in https://tex.stackexchange.com/questions/451
+\begingroup
+ \edef\temp{%
+ \endgroup
+ \noexpand\setmathfont{Euler-Math.otf}%
+ [\unexpanded\expandafter{\the\NEUtoks}]%
+ }
+ \temp
+
+\AtBeginDocument{%
+ % Euler specific math
+ % \Umathchardef\<cmd> = <math type> <family> <slot>
+ % <math type> : \mathord=0 \mathrel=3 ; <family>=0
+ \Umathchardef\muphbar = 0 0 "0127 \relax
+ \Umathchardef\varemptyset = 0 0 "E021 \relax
+ \Umathchardef\mbfwp = 0 0 "E045 \relax
+ \Umathchardef\mbfdotlessi = 0 0 "E046 \relax
+ \Umathchardef\mbfdotlessj = 0 0 "E047 \relax
+ \Umathchardef\mbfhbar = 0 0 "E048 \relax
+ \let\lesseqslantgtr\lesseqgtr
+ \let\gtreqslantless\gtreqless
+ \let\lesseqqslantgtr\lesseqqgtr
+ \let\gtreqqslantless\gtreqqless
+ \let\nleqqslant\nleqq
+ \let\ngeqqslant\ngeqq
+% \widearc and\overrightarc
+ \newcommand*{\widearc}{\Umathaccent 0 0 "E540 }%
+ \newcommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }%
+ % amssymb
+ \@ifpackageloaded{amssymb}%
+ {\PackageWarning{euler-math}{%
+ Euler-Math provides all AMS symbols.\MessageBreak
+ Loading amssymb.sty is not advisable.\MessageBreak
+ Reported}%
+ }%
+ {% AMS Symbols not referenced in unicode-math-table.tex
+ % \Umathchardef\<cmd> = <math type> <family> <slot>
+ % <math type> : \mathord=0 \mathrel=3 ; <family>=0
+ \Umathchardef\circledR = 0 0 "24C7 \relax
+ \Umathchardef\circledS = 0 0 "24C8 \relax
+ \Umathchardef\diagup = 0 0 "E0A0 \relax
+ \Umathchardef\diagdown = 0 0 "E0A1 \relax
+ \Umathchardef\shortmid = 3 0 "E0A2 \relax
+ \Umathchardef\shortparallel = 3 0 "E0A3 \relax
+ \Umathchardef\nshortmid = 3 0 "E0A4 \relax
+ \Umathchardef\nshortparallel = 3 0 "E0A5 \relax
+ \Umathchardef\lvertneqq = 3 0 "E0A6 \relax
+ \Umathchardef\gvertneqq = 3 0 "E0A7 \relax
+ \Umathchardef\nleqslant = 3 0 "E0A8 \relax
+ \Umathchardef\ngeqslant = 3 0 "E0A9 \relax
+ \Umathchardef\nleqq = 3 0 "E0AA \relax
+ \Umathchardef\ngeqq = 3 0 "E0AB \relax
+ \Umathchardef\varsubsetneq = 3 0 "E0AC \relax
+ \Umathchardef\varsupsetneq = 3 0 "E0AD \relax
+ \Umathchardef\nsubseteqq = 3 0 "E0AE \relax
+ \Umathchardef\nsupseteqq = 3 0 "E0AF \relax
+ \Umathchardef\varsubsetneqq = 3 0 "E09C \relax
+ \Umathchardef\varsupsetneqq = 3 0 "E09D \relax
+ \Umathchardef\npreceq = 3 0 "E09E \relax
+ \Umathchardef\nsucceq = 3 0 "E09F \relax
+ \let\centerdot\cdotp
+ \let\restriction\upharpoonright
+ \let\doteqdot\Doteq
+ \let\doublecup\Cup
+ \let\doublecap\Cap
+ \let\llless\lll
+ \let\gggtr\ggg
+ \let\circlearrowleft\acwopencirclearrow
+ \let\circlearrowright\cwopencirclearrow
+ \let\lozenge\mdlgwhtlozenge
+ \let\blacklozenge\mdlgblklozenge
+ \let\square\mdlgwhtsquare
+ \let\blacksquare\mdlgblksquare
+ \let\dashleftarrow\leftdasharrow
+ \let\dashrightarrow\rightdasharrow
+ \let\ntriangleleft\nvartriangleleft
+ \let\ntriangleright\nvartriangleright
+ \let\varpropto\propto
+ \let\thicksim\sim
+ \let\thickapprox\approx
+ \let\smallsmile\smile
+ \let\smallfrown\frown
+ }%
+ % latexsym
+ \@ifpackageloaded{latexsym}%
+ {\PackageWarning{euler-math}{%
+ Euler-Math provides all LaTeX symbols.\MessageBreak
+ Loading latexsym.sty is not advisable.\MessageBreak
+ Reported}%
+ }%
+ {\let\lhd\vartriangleleft
+ \let\rhd\vartriangleright
+ \let\unlhd\trianglelefteq
+ \let\unrhd\trianglerighteq
+ \let\leadsto\rightcurvedarrow
+ \let\Box\lgwhtsquare
+ \let\Diamond\mdlgwhtdiamond
+ }%
+}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/euler-math/neo-euler.sty b/Master/texmf-dist/tex/latex/euler-math/neo-euler.sty
index 12b97d98491..575b524f9a7 100644
--- a/Master/texmf-dist/tex/latex/euler-math/neo-euler.sty
+++ b/Master/texmf-dist/tex/latex/euler-math/neo-euler.sty
@@ -1,127 +1,15 @@
-\NeedsTeXFormat{LaTeX2e}[2018/01/01]
-\def\fileversion{0.22}
-\def\filedate{2022-11-04}
-\ProvidesPackage{neo-euler}[\filedate\space\fileversion]
+\ProvidesPackage{neo-euler}[2022-11-06 v0.23]
-% Ensure luatex or xetex engine
-\RequirePackage{iftex}[2019/10/24]
-\RequireTUTeX
-\RequirePackage[math-style=upright]{unicode-math}
-
-\newopentypefeature{Style}{smaller}{+ss05}
-\newopentypefeature{Style}{subsetneq}{+ss06}
-
-% Options: forward them to \setmathfont.
-\RequirePackage{xkeyval}
-\newtoks\NEUtoks
-\newcommand*{\Store@KV@Option}[2]{%
- \NEUtoks=\expandafter{\the\NEUtoks #1={#2},}}
-
-\DeclareOptionX{CharacterVariant}{\Store@KV@Option{CharacterVariant}{#1}}
-\DeclareOptionX{StylisticSet}{\Store@KV@Option{StylisticSet}{#1}}
-\DeclareOptionX{Style}{\Store@KV@Option{Style}{#1}}
-\DeclareOptionX{Scale}{\Store@KV@Option{Scale}{#1}}
-\DeclareOptionX{Numbers}{\Store@KV@Option{Numbers}{#1}}
-\ProcessOptionsX
-
-% Following Joseph Wright in https://tex.stackexchange.com/questions/451
-\begingroup
- \edef\temp{%
- \endgroup
- \noexpand\setmathfont{Neo-Euler.otf}%
- [\unexpanded\expandafter{\the\NEUtoks}]%
- }
- \temp
-
-\AtBeginDocument{%
- % Euler specific math
- % \Umathchardef\<cmd> = <math type> <family> <slot>
- % <math type> : \mathord=0 \mathrel=3 ; <family>=0
- \Umathchardef\muphbar = 0 0 "0127 \relax
- \Umathchardef\varemptyset = 0 0 "E021 \relax
- \Umathchardef\mbfwp = 0 0 "E045 \relax
- \Umathchardef\mbfdotlessi = 0 0 "E046 \relax
- \Umathchardef\mbfdotlessj = 0 0 "E047 \relax
- \Umathchardef\mbfhbar = 0 0 "E048 \relax
- \let\lesseqslantgtr\lesseqgtr
- \let\gtreqslantless\gtreqless
- \let\lesseqqslantgtr\lesseqqgtr
- \let\gtreqqslantless\gtreqqless
- \let\nleqqslant\nleqq
- \let\ngeqqslant\ngeqq
-% \widearc and\overrightarc
- \newcommand*{\widearc}{\Umathaccent 0 0 "E540 }%
- \newcommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }%
- % amssymb
- \@ifpackageloaded{amssymb}%
- {\PackageWarning{neo-euler}{%
- Neo-Euler provides all AMS symbols.\MessageBreak
- Loading amssymb.sty is not advisable.\MessageBreak
- Reported}%
- }%
- {% AMS Symbols not referenced in unicode-math-table.tex
- % \Umathchardef\<cmd> = <math type> <family> <slot>
- % <math type> : \mathord=0 \mathrel=3 ; <family>=0
- \Umathchardef\circledR = 0 0 "24C7 \relax
- \Umathchardef\circledS = 0 0 "24C8 \relax
- \Umathchardef\diagup = 0 0 "E0A0 \relax
- \Umathchardef\diagdown = 0 0 "E0A1 \relax
- \Umathchardef\shortmid = 3 0 "E0A2 \relax
- \Umathchardef\shortparallel = 3 0 "E0A3 \relax
- \Umathchardef\nshortmid = 3 0 "E0A4 \relax
- \Umathchardef\nshortparallel = 3 0 "E0A5 \relax
- \Umathchardef\lvertneqq = 3 0 "E0A6 \relax
- \Umathchardef\gvertneqq = 3 0 "E0A7 \relax
- \Umathchardef\nleqslant = 3 0 "E0A8 \relax
- \Umathchardef\ngeqslant = 3 0 "E0A9 \relax
- \Umathchardef\nleqq = 3 0 "E0AA \relax
- \Umathchardef\ngeqq = 3 0 "E0AB \relax
- \Umathchardef\varsubsetneq = 3 0 "E0AC \relax
- \Umathchardef\varsupsetneq = 3 0 "E0AD \relax
- \Umathchardef\nsubseteqq = 3 0 "E0AE \relax
- \Umathchardef\nsupseteqq = 3 0 "E0AF \relax
- \Umathchardef\varsubsetneqq = 3 0 "E09C \relax
- \Umathchardef\varsupsetneqq = 3 0 "E09D \relax
- \Umathchardef\npreceq = 3 0 "E09E \relax
- \Umathchardef\nsucceq = 3 0 "E09F \relax
- \let\centerdot\cdotp
- \let\restriction\upharpoonright
- \let\doteqdot\Doteq
- \let\doublecup\Cup
- \let\doublecap\Cap
- \let\llless\lll
- \let\gggtr\ggg
- \let\circlearrowleft\acwopencirclearrow
- \let\circlearrowright\cwopencirclearrow
- \let\lozenge\mdlgwhtlozenge
- \let\blacklozenge\mdlgblklozenge
- \let\square\mdlgwhtsquare
- \let\blacksquare\mdlgblksquare
- \let\dashleftarrow\leftdasharrow
- \let\dashrightarrow\rightdasharrow
- \let\ntriangleleft\nvartriangleleft
- \let\ntriangleright\nvartriangleright
- \let\varpropto\propto
- \let\thicksim\sim
- \let\thickapprox\approx
- \let\smallsmile\smile
- \let\smallfrown\frown
- }%
- % latexsym
- \@ifpackageloaded{latexsym}%
- {\PackageWarning{neo-euler}{%
- Neo-Euler provides all LaTeX symbols.\MessageBreak
- Loading latexsym.sty is not advisable.\MessageBreak
- Reported}%
- }%
- {\let\lhd\vartriangleleft
- \let\rhd\vartriangleright
- \let\unlhd\trianglelefteq
- \let\unrhd\trianglerighteq
- \let\leadsto\rightcurvedarrow
- \let\Box\lgwhtsquare
- \let\Diamond\mdlgwhtdiamond
- }%
+\PackageError{euler-math}{\MessageBreak
+ Former package `neo-euler’ has been renamed\MessageBreak
+ to `euler-math’. Please use this new name.\MessageBreak
+ The font has been renamed to `Euler-Math.otf’%
+}
+{%
+ I’ll input `euler-math’ instead of `neo-euler’,\MessageBreak
+ but please correct your input file!%
}
+\input{euler-math.sty}
+
\endinput