summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/lebhart
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/lebhart')
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdfbin269110 -> 264079 bytes
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex3
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-en.pdfbin154045 -> 146177 bytes
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-en.tex3
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdfbin160620 -> 150569 bytes
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex3
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart.cls38
7 files changed, 16 insertions, 31 deletions
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf
index 004a24d9c4..fb99a6d618 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
index 48c6aef26f..9b80d1283e 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
@@ -1,6 +1,5 @@
\documentclass[English,Chinese,French,use boldface,simple name]{lebhart}
-
%%================================
%% Import toolkit
%%================================
@@ -92,7 +91,7 @@
%%================================
\begin{document}
-\def\PackageVersion{2022/03/19}
+\def\PackageVersion{2022/03/28}
\title{{\normalfont\bfseries\color{main-text}\lebhart{}}\\以多彩的方式排版你的文章}
\author{许锦文}
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf
index e00a100d4a..41a71f9dea 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex
index d0f713ce91..540f300b0c 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex
@@ -1,6 +1,5 @@
\documentclass[English,Chinese,French,use boldface,simple name]{lebhart}
-
%%================================
%% Import toolkit
%%================================
@@ -92,7 +91,7 @@
%%================================
\begin{document}
-\def\PackageVersion{2022/03/19}
+\def\PackageVersion{2022/03/28}
\title{{\normalfont\bfseries\color{main-text}\lebhart{}}\\write your articles in a colorful way}
\author{Jinwen XU}
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf
index 2a8fc86453..8f5006b150 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex
index ffb3295012..402d05b32c 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex
@@ -1,6 +1,5 @@
\documentclass[English,Chinese,French,use boldface,simple name]{lebhart}
-
%%================================
%% Import toolkit
%%================================
@@ -92,7 +91,7 @@
%%================================
\begin{document}
-\def\PackageVersion{2022/03/19}
+\def\PackageVersion{2022/03/28}
\title{{\normalfont\bfseries\color{main-text}\lebhart{}}\\écrivez vos articles de manière colorée}
\author{Jinwen XU}
diff --git a/macros/unicodetex/latex/lebhart/lebhart.cls b/macros/unicodetex/latex/lebhart/lebhart.cls
index 4c033e6512..956a4a9c43 100644
--- a/macros/unicodetex/latex/lebhart/lebhart.cls
+++ b/macros/unicodetex/latex/lebhart/lebhart.cls
@@ -19,7 +19,7 @@
\RequirePackage{l3keys2e}
\ProvidesExplClass
{lebhart}
- {2022/03/19} {}
+ {2022/03/28} {}
{A colorful article style}
\tl_const:Nn \l__colorclass_base_class_tl { article }
@@ -548,51 +548,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 }
+ ]
\__colorclass_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 } { colorclass }
{
\NewCommandCopy \colorclass_backup_mid: \mid
\RenewDocumentCommand \mid {}
- { \skip_horizontal:n {-.15em} \colorclass_backup_mid: \skip_horizontal:n {-.15em} }
+ { \skip_horizontal:n {-.1em} \colorclass_backup_mid: \skip_horizontal:n {-.1em} }
\NewCommandCopy \colorclass_backup_nmid: \nmid
\RenewDocumentCommand \nmid {}
- { \skip_horizontal:n {-.15em} \colorclass_backup_nmid: \skip_horizontal:n {-.15em} }
+ { \skip_horizontal:n {-.1em} \colorclass_backup_nmid: \skip_horizontal:n {-.1em} }
}
\RequirePackage { tikz-cd }
@@ -607,10 +595,10 @@
\hbox_set:Nn \l__colorclass_xarrows_below_box { \ensuremath { \scriptstyle #1 } }
\hbox_set:Nn \l__colorclass_xarrows_above_box { \ensuremath { \scriptstyle #2 } }
\dim_set:Nn \l__colorclass_xarrows_length_dim
- { \dim_eval:n { \dim_max:nn { \box_wd:N \l__colorclass_xarrows_below_box } { \box_wd:N \l__colorclass_xarrows_above_box } + .8em } }
+ { \dim_eval:n { \dim_max:nn { \box_wd:N \l__colorclass_xarrows_below_box } { \box_wd:N \l__colorclass_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__colorclass_xarrows_below_box }
node [ above = 2pt ] { \box_use:N \l__colorclass_xarrows_above_box }