summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-30 21:19:11 +0000
committerKarl Berry <karl@freefriends.org>2021-06-30 21:19:11 +0000
commit3cd1d85cb7521f6e36b5797788adae39e07b5635 (patch)
tree8fd0061c62d6171a8a82643a5f391e2b2906106d /Master/texmf-dist/tex/latex/simplivre/simplivre.cls
parent985f93b75af495f4d4249b3641248ea34fb5bc03 (diff)
simplivre (30jun21)
git-svn-id: svn://tug.org/texlive/trunk@59781 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/simplivre/simplivre.cls')
-rw-r--r--Master/texmf-dist/tex/latex/simplivre/simplivre.cls30
1 files changed, 21 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/simplivre/simplivre.cls b/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
index 7c1db4ff464..5f253fee234 100644
--- a/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
+++ b/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesClass{simplivre}
- [2021/06/23 A simple and clear book style]
+ [2021/06/30 A simple and clear book style]
\def\minimclass@baseclass{book}
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
@@ -220,7 +220,7 @@
\setmathfont[range={up/{Latin,latin,Greek,greek},
bfup/{Latin,latin,Greek,greek},
cal, bfcal, frak, bffrak,
- `(,`),`[,`],`\{,`\},`:,`=,`/,\backslash,
+ `(,`),`[,`],`\{,`\},`:,`=,\ne,\equiv,`/,\backslash,
\in,\notin,\ni,\subset,\supset,\subseteq,\supseteq,
\rightarrow,\leftarrow,\mapsto,\hookrightarrow,\hookleftarrow,
\sum,\prod,\coprod,
@@ -230,6 +230,9 @@
Scale = 1.05,
]{Neo Euler}
}{}
+\setmathfont[range={\leq,\geq,\ll,\gg,\lll,\ggg,\leqslant,\geqslant},
+ Scale = 0.95,
+ ]{latinmodern-math.otf}
\setmathfont[range={up/num, bfup/num}
]{texgyrepagella-math.otf}
@@ -239,7 +242,7 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [->, baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [->, baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) -- node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
@@ -247,7 +250,7 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [<-, baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [<-, baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) -- node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
@@ -255,7 +258,7 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [<->, baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [<->, baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) -- node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
@@ -263,7 +266,7 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) edge[commutative diagrams/hookrightarrow] node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
@@ -271,7 +274,7 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) edge[commutative diagrams/hookleftarrow] node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
@@ -279,7 +282,7 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) edge[commutative diagrams/mapsto] node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
@@ -287,10 +290,19 @@
\setbox\xratbelow=\hbox{\ensuremath{\scriptstyle #1}}%
\setbox\xratabove=\hbox{\ensuremath{\scriptstyle #2}}%
\pgfmathsetlengthmacro{\xratlen}{max(\wd\xratbelow, \wd\xratabove) + .8em}%
- \mathrel{\tikz [baseline=-.6ex, every node/.style={inner sep=0pt}]
+ \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}]
\draw (0,0) edge[commutative diagrams/equal] node[below=3pt] {\box\xratbelow}
node[above=2pt] {\box\xratabove}
(\xratlen,0) ;}}
+\AtBeginDocument{
+\renewcommand{\twoheadrightarrow}{%
+ \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}]
+ \draw (0,0) edge[commutative diagrams/twoheadrightarrow] (.8em,0) ;}}
+
+\renewcommand{\twoheadleftarrow}{%
+ \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}]
+ \draw (0,0) edge[commutative diagrams/twoheadleftarrow] (.8em,0) ;}}
+}
\fi
\fi