diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-04 20:54:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-04 20:54:49 +0000 |
commit | 656055251bead88e4d7e7d685722255033367f49 (patch) | |
tree | 6c5f28eb221ee4213fc5ef8b6211eb464f5992a2 /Master/texmf-dist/tex/latex/einfart | |
parent | 4ca1cb3da46997c41eff1ae88aad0d090f717b3c (diff) |
jxu (4apr22)
git-svn-id: svn://tug.org/texlive/trunk@62900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/einfart')
-rw-r--r-- | Master/texmf-dist/tex/latex/einfart/einfart.cls | 42 |
1 files changed, 17 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/einfart/einfart.cls b/Master/texmf-dist/tex/latex/einfart/einfart.cls index 1700e3a245a..ab1be420473 100644 --- a/Master/texmf-dist/tex/latex/einfart/einfart.cls +++ b/Master/texmf-dist/tex/latex/einfart/einfart.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {einfart} - {2022/03/19} {} + {2022/04/03} {} {A simple and clear article style} \tl_const:Nn \l__minimclass_base_class_tl { article } @@ -201,6 +201,10 @@ \RequirePackage { minimalist } +\raggedbottom +\hfuzz=2pt +\vfuzz=2pt + %%================================ %% Fonts %%================================ @@ -568,51 +572,39 @@ \PassOptionsToPackage { warnings-off = { mathtools-colon, mathtools-overbracket } } { unicode-math } \RequirePackage { unicode-math } \unimathsetup { math-style = ISO, partial = upright, nabla = upright } - \setmathfont { Asana-Math.otf } + \setmathfont { KpMath-Regular.otf } + \setmathfont { KpMath-Sans.otf } + [ + range = { \sum, \prod, \coprod } + ] \__minimclass_if_font_exist:nnn { Neo~Euler } { \setmathfont { Neo~Euler } [ range = { up / { Latin, latin, Greek, greek }, bfup / { Latin, latin, Greek, greek }, - cal, bfcal, frak, bffrak, - `(, `), `[, `], `\{, `\}, `:, `=, \ne, \equiv, `/, \backslash, - \in, \notin, \ni, \subset, \supset, \subseteq, \supseteq, - \rightarrow, \leftarrow, \leftrightarrow, - \longleftarrow, \longrightarrow, \longleftrightarrow, - \Leftarrow, \Rightarrow, \Leftrightarrow, - \Longleftarrow, \Longrightarrow, \Longleftrightarrow, - \nrightarrow, \nleftarrow, \nleftrightarrow, - \nLeftarrow, \nRightarrow, \nLeftrightarrow, - \mapsto, \hookrightarrow, \hookleftarrow, - \leftharpoonup, \rightharpoonup, \leftharpoondown, \rightharpoondown, - \rightleftharpoons, \leftrightharpoons, - \sum, \prod, \coprod, - \sqrt, \int, \iint, \iiint, \oint + `(, `), `[, `], `\{, `\} }, - script-features = {}, - sscript-features = {}, Scale = 1.05, ] }{} \setmathfont { latinmodern-math.otf } [ - range = { \leq, \geq, \ll, \gg, \lll, \ggg, \leqslant, \geqslant }, - Scale = 0.95, + range = { cal, bfcal, frak, bffrak } ] \setmathfont { texgyrepagella-math.otf } [ - range = { up / num, bfup / num } + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } ] \hook_gput_code:nnn { begindocument } { minimclass } { \NewCommandCopy \minimclass_backup_mid: \mid \RenewDocumentCommand \mid {} - { \skip_horizontal:n {-.15em} \minimclass_backup_mid: \skip_horizontal:n {-.15em} } + { \skip_horizontal:n {-.1em} \minimclass_backup_mid: \skip_horizontal:n {-.1em} } \NewCommandCopy \minimclass_backup_nmid: \nmid \RenewDocumentCommand \nmid {} - { \skip_horizontal:n {-.15em} \minimclass_backup_nmid: \skip_horizontal:n {-.15em} } + { \skip_horizontal:n {-.1em} \minimclass_backup_nmid: \skip_horizontal:n {-.1em} } } \RequirePackage { tikz-cd } @@ -627,10 +619,10 @@ \hbox_set:Nn \l__minimclass_xarrows_below_box { \ensuremath { \scriptstyle #1 } } \hbox_set:Nn \l__minimclass_xarrows_above_box { \ensuremath { \scriptstyle #2 } } \dim_set:Nn \l__minimclass_xarrows_length_dim - { \dim_eval:n { \dim_max:nn { \box_wd:N \l__minimclass_xarrows_below_box } { \box_wd:N \l__minimclass_xarrows_above_box } + .8em } } + { \dim_eval:n { \dim_max:nn { \box_wd:N \l__minimclass_xarrows_below_box } { \box_wd:N \l__minimclass_xarrows_above_box } + 1em } } \mathrel { - \tikz [ #3, baseline = -.55ex, every~node/.style = { inner~sep = 0pt } ] + \tikz [ #3, line~width = .6pt, baseline = -.5ex, every~node/.style = { inner~sep = 0pt }, >={Stealth[round,length=3.4pt,width=6.15pt,inset=2.25pt]} ] \draw (0,0) #4 node [ below = 3pt ] { \box_use:N \l__minimclass_xarrows_below_box } node [ above = 2pt ] { \box_use:N \l__minimclass_xarrows_above_box } |