diff options
Diffstat (limited to 'macros/unicodetex')
32 files changed, 649 insertions, 80 deletions
diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.pdf b/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.pdf Binary files differindex 5a1335922a..9e199dd5e0 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.pdf +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.pdf diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.tex b/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.tex index d33c948560..d44da9d6cb 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.tex +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-cn.tex @@ -8,6 +8,8 @@ \usepackage{hologo} % more TeX logo \usetikzlibrary{calc} +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{Chinese} @@ -91,7 +93,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \frontmatter @@ -99,8 +101,8 @@ { , title = \beaulivre{} , subtitle = { - \textsc{以多彩的方式排版你的图书}\\[10pt] - \tiny 对应版本. \texttt{\beaulivre{} \PackageVersion} + \textsc{以多彩的方式排版你的图书}\\[20pt] + \smaller[3] 对应版本. \texttt{\beaulivre{} \PackageVersion} } , author = 许锦文 , date = {\TheDate{\PackageVersion}[only-year-month],巴黎} diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.pdf b/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.pdf Binary files differindex 8de496a03e..4b939ca03e 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.pdf +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.pdf diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex b/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex index 8b674f7985..bb8b9fcae2 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex @@ -8,6 +8,8 @@ \usepackage{hologo} % more TeX logo \usetikzlibrary{calc} +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{English} @@ -91,7 +93,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \frontmatter @@ -99,8 +101,8 @@ { , title = \beaulivre{} , subtitle = { - \textsc{Write your books in \\a colorful way}\\[10pt] - \tiny Corresponding to: \texttt{\beaulivre{} \PackageVersion} + \textsc{Write your books in \\a colorful way}\\[20pt] + \smaller[3] Corresponding to: \texttt{\beaulivre{} \PackageVersion} } , author = Jinwen XU , date = {\TheDate{\PackageVersion}[only-year-month], in Paris} diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.pdf b/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.pdf Binary files differindex 1bd8eebfd4..4aa7267de0 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.pdf +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.pdf diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.tex b/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.tex index e1b2e630b0..b6fad0dc0b 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.tex +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-fr.tex @@ -8,6 +8,8 @@ \usepackage{hologo} % more TeX logo \usetikzlibrary{calc} +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{French} @@ -91,7 +93,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \frontmatter @@ -99,8 +101,8 @@ { , title = \beaulivre{} , subtitle = { - \textsc{Écrivez vos livres \\de manière colorée}\\[10pt] - \tiny Correspondant à : \texttt{\beaulivre{} \PackageVersion} + \textsc{Écrivez vos livres \\de manière colorée}\\[20pt] + \smaller[3] Correspondant à : \texttt{\beaulivre{} \PackageVersion} } , author = Jinwen XU , date = {\TheDate{\PackageVersion}[only-year-month], à Paris} diff --git a/macros/unicodetex/latex/beaulivre/beaulivre.cls b/macros/unicodetex/latex/beaulivre/beaulivre.cls index 7a7ba60d6d..57a4938e1d 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre.cls +++ b/macros/unicodetex/latex/beaulivre/beaulivre.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {beaulivre} - {2022/04/03} {} + {2022/04/17} {} {A colorful book style} \tl_const:Nn \l__colorclass_base_class_tl { book } @@ -258,7 +258,7 @@ } \setsansfont { SourceSansPro-Regular.otf } [ - Scale = MatchLowercase , + Scale = 1.05 , BoldFont = SourceSansPro-Bold.otf , ItalicFont = SourceSansPro-RegularIt.otf , BoldItalicFont = SourceSansPro-BoldIt.otf , @@ -554,20 +554,15 @@ [ 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 }, - `(, `), `[, `], `\{, `\} - }, - Scale = 1.05, - ] - }{} \setmathfont { latinmodern-math.otf } [ - range = { cal, bfcal, frak, bffrak } + range = { frak, bffrak } + ] + \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} + \setmathfont { texgyrepagella-math.otf } + [ + range = { `(, `) } , + Scale = 1.10 ] \setmathfont { texgyrepagella-math.otf } [ @@ -585,6 +580,7 @@ } \RequirePackage { tikz-cd } + \tikzcdset { arrow~style = tikz, diagrams = { >={Stealth[round,length=3.4pt,width=6.15pt,inset=2.25pt]} } } \box_new:N \l__colorclass_xarrows_above_box \box_new:N \l__colorclass_xarrows_below_box diff --git a/macros/unicodetex/latex/einfart/einfart-doc-cn.pdf b/macros/unicodetex/latex/einfart/einfart-doc-cn.pdf Binary files differindex 248a122a8c..3877b73e5a 100644 --- a/macros/unicodetex/latex/einfart/einfart-doc-cn.pdf +++ b/macros/unicodetex/latex/einfart/einfart-doc-cn.pdf diff --git a/macros/unicodetex/latex/einfart/einfart-doc-cn.tex b/macros/unicodetex/latex/einfart/einfart-doc-cn.tex index 8338f4c417..a3fcb883e0 100644 --- a/macros/unicodetex/latex/einfart/einfart-doc-cn.tex +++ b/macros/unicodetex/latex/einfart/einfart-doc-cn.tex @@ -9,6 +9,8 @@ \usepackage{longtable} % breakable tables \usepackage{hologo} % more TeX logo +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{Chinese} @@ -95,7 +97,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \title{\einfart{},以极简主义风格排版你的文章} \author{许锦文} diff --git a/macros/unicodetex/latex/einfart/einfart-doc-en.pdf b/macros/unicodetex/latex/einfart/einfart-doc-en.pdf Binary files differindex 8a0aa6c4db..b57037cb41 100644 --- a/macros/unicodetex/latex/einfart/einfart-doc-en.pdf +++ b/macros/unicodetex/latex/einfart/einfart-doc-en.pdf diff --git a/macros/unicodetex/latex/einfart/einfart-doc-en.tex b/macros/unicodetex/latex/einfart/einfart-doc-en.tex index 43fc9cebbb..e60c80e7ba 100644 --- a/macros/unicodetex/latex/einfart/einfart-doc-en.tex +++ b/macros/unicodetex/latex/einfart/einfart-doc-en.tex @@ -9,6 +9,8 @@ \usepackage{longtable} % breakable tables \usepackage{hologo} % more TeX logo +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{English} @@ -95,7 +97,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \title{\einfart{}, write your articles in a simple and clear way} \author{Jinwen XU} diff --git a/macros/unicodetex/latex/einfart/einfart-doc-fr.pdf b/macros/unicodetex/latex/einfart/einfart-doc-fr.pdf Binary files differindex f22cd43c74..ddd0cd56b4 100644 --- a/macros/unicodetex/latex/einfart/einfart-doc-fr.pdf +++ b/macros/unicodetex/latex/einfart/einfart-doc-fr.pdf diff --git a/macros/unicodetex/latex/einfart/einfart-doc-fr.tex b/macros/unicodetex/latex/einfart/einfart-doc-fr.tex index ca40ea64b6..44fa5340c3 100644 --- a/macros/unicodetex/latex/einfart/einfart-doc-fr.tex +++ b/macros/unicodetex/latex/einfart/einfart-doc-fr.tex @@ -9,6 +9,8 @@ \usepackage{longtable} % breakable tables \usepackage{hologo} % more TeX logo +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{French} @@ -95,7 +97,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \title{\einfart{}, écrivez vos articles de manière simple et claire} \author{Jinwen XU} diff --git a/macros/unicodetex/latex/einfart/einfart.cls b/macros/unicodetex/latex/einfart/einfart.cls index ab1be42047..b1a2280ebb 100644 --- a/macros/unicodetex/latex/einfart/einfart.cls +++ b/macros/unicodetex/latex/einfart/einfart.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {einfart} - {2022/04/03} {} + {2022/04/17} {} {A simple and clear article style} \tl_const:Nn \l__minimclass_base_class_tl { article } @@ -279,7 +279,7 @@ } \setsansfont { SourceSansPro-Regular.otf } [ - Scale = MatchLowercase , + Scale = 1.05 , BoldFont = SourceSansPro-Bold.otf , ItalicFont = SourceSansPro-RegularIt.otf , BoldItalicFont = SourceSansPro-BoldIt.otf , @@ -577,20 +577,15 @@ [ 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 }, - `(, `), `[, `], `\{, `\} - }, - Scale = 1.05, - ] - }{} \setmathfont { latinmodern-math.otf } [ - range = { cal, bfcal, frak, bffrak } + range = { frak, bffrak } + ] + \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} + \setmathfont { texgyrepagella-math.otf } + [ + range = { `(, `) } , + Scale = 1.10 ] \setmathfont { texgyrepagella-math.otf } [ @@ -608,6 +603,7 @@ } \RequirePackage { tikz-cd } + \tikzcdset { arrow~style = tikz, diagrams = { >={Stealth[round,length=3.4pt,width=6.15pt,inset=2.25pt]} } } \box_new:N \l__minimclass_xarrows_above_box \box_new:N \l__minimclass_xarrows_below_box diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf Binary files differindex fbc8a1cc54..efd8e1b69c 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex index 7b5b014c2e..4cc85f17de 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex @@ -8,6 +8,8 @@ \usepackage{hologo} % more TeX logo \usetikzlibrary{calc} +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{Chinese} @@ -91,7 +93,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \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 Binary files differindex 12dfd4d9cd..7af3bb629c 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex index b9de98ea01..e13c8e65ce 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex @@ -8,6 +8,8 @@ \usepackage{hologo} % more TeX logo \usetikzlibrary{calc} +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{English} @@ -91,7 +93,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \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 Binary files differindex 0d6d5ed374..c6be48c674 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex index fa5a1e40e4..a6e2da39c3 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex @@ -8,6 +8,8 @@ \usepackage{hologo} % more TeX logo \usetikzlibrary{calc} +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{French} @@ -91,7 +93,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \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 314e8dff23..835bceca4a 100644 --- a/macros/unicodetex/latex/lebhart/lebhart.cls +++ b/macros/unicodetex/latex/lebhart/lebhart.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {lebhart} - {2022/04/03} {} + {2022/04/17} {} {A colorful article style} \tl_const:Nn \l__colorclass_base_class_tl { article } @@ -258,7 +258,7 @@ } \setsansfont { SourceSansPro-Regular.otf } [ - Scale = MatchLowercase , + Scale = 1.05 , BoldFont = SourceSansPro-Bold.otf , ItalicFont = SourceSansPro-RegularIt.otf , BoldItalicFont = SourceSansPro-BoldIt.otf , @@ -554,20 +554,15 @@ [ 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 }, - `(, `), `[, `], `\{, `\} - }, - Scale = 1.05, - ] - }{} \setmathfont { latinmodern-math.otf } [ - range = { cal, bfcal, frak, bffrak } + range = { frak, bffrak } + ] + \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} + \setmathfont { texgyrepagella-math.otf } + [ + range = { `(, `) } , + Scale = 1.10 ] \setmathfont { texgyrepagella-math.otf } [ @@ -585,6 +580,7 @@ } \RequirePackage { tikz-cd } + \tikzcdset { arrow~style = tikz, diagrams = { >={Stealth[round,length=3.4pt,width=6.15pt,inset=2.25pt]} } } \box_new:N \l__colorclass_xarrows_above_box \box_new:N \l__colorclass_xarrows_below_box diff --git a/macros/unicodetex/latex/simplivre/simplivre-doc-cn.pdf b/macros/unicodetex/latex/simplivre/simplivre-doc-cn.pdf Binary files differindex 23c6001784..a2293752a4 100644 --- a/macros/unicodetex/latex/simplivre/simplivre-doc-cn.pdf +++ b/macros/unicodetex/latex/simplivre/simplivre-doc-cn.pdf diff --git a/macros/unicodetex/latex/simplivre/simplivre-doc-cn.tex b/macros/unicodetex/latex/simplivre/simplivre-doc-cn.tex index 4121fadf9e..ac8f6322ba 100644 --- a/macros/unicodetex/latex/simplivre/simplivre-doc-cn.tex +++ b/macros/unicodetex/latex/simplivre/simplivre-doc-cn.tex @@ -9,6 +9,8 @@ \usepackage{longtable} % breakable tables \usepackage{hologo} % more TeX logo +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{Chinese} @@ -95,7 +97,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \frontmatter \LocallyStopLineNumbers @@ -104,8 +106,8 @@ { , title = \simplivre{} , subtitle = { - \textsc{以极简主义风格排版你的图书}\\[10pt] - \tiny 对应版本. \texttt{\simplivre{} \PackageVersion} + \textsc{以极简主义风格排版你的图书}\\[20pt] + \smaller[3] 对应版本. \texttt{\simplivre{} \PackageVersion} } , author = 许锦文 , date = {\TheDate{\PackageVersion}[only-year-month],巴黎} diff --git a/macros/unicodetex/latex/simplivre/simplivre-doc-en.pdf b/macros/unicodetex/latex/simplivre/simplivre-doc-en.pdf Binary files differindex 0b2522cc78..55f1f02fa6 100644 --- a/macros/unicodetex/latex/simplivre/simplivre-doc-en.pdf +++ b/macros/unicodetex/latex/simplivre/simplivre-doc-en.pdf diff --git a/macros/unicodetex/latex/simplivre/simplivre-doc-en.tex b/macros/unicodetex/latex/simplivre/simplivre-doc-en.tex index e54d796b84..d0ec9b11e3 100644 --- a/macros/unicodetex/latex/simplivre/simplivre-doc-en.tex +++ b/macros/unicodetex/latex/simplivre/simplivre-doc-en.tex @@ -9,6 +9,8 @@ \usepackage{longtable} % breakable tables \usepackage{hologo} % more TeX logo +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{English} @@ -95,7 +97,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \LocallyStopLineNumbers @@ -105,8 +107,8 @@ { , title = \simplivre{} , subtitle = { - \textsc{Write your books in \\a simple and clear way}\\[10pt] - \tiny Corresponding to: \texttt{\simplivre{} \PackageVersion} + \textsc{Write your books in \\a simple and clear way}\\[20pt] + \smaller[3] Corresponding to: \texttt{\simplivre{} \PackageVersion} } , author = Jinwen XU , date = {\TheDate{\PackageVersion}[only-year-month], in Paris} diff --git a/macros/unicodetex/latex/simplivre/simplivre-doc-fr.pdf b/macros/unicodetex/latex/simplivre/simplivre-doc-fr.pdf Binary files differindex 3e3fe8b650..76a4071843 100644 --- a/macros/unicodetex/latex/simplivre/simplivre-doc-fr.pdf +++ b/macros/unicodetex/latex/simplivre/simplivre-doc-fr.pdf diff --git a/macros/unicodetex/latex/simplivre/simplivre-doc-fr.tex b/macros/unicodetex/latex/simplivre/simplivre-doc-fr.tex index f75a5e8179..5a24f45074 100644 --- a/macros/unicodetex/latex/simplivre/simplivre-doc-fr.tex +++ b/macros/unicodetex/latex/simplivre/simplivre-doc-fr.tex @@ -9,6 +9,8 @@ \usepackage{longtable} % breakable tables \usepackage{hologo} % more TeX logo +\usepackage{relsize} + \usepackage{blindtext} \UseLanguage{French} @@ -95,7 +97,7 @@ %%================================ \begin{document} -\def\PackageVersion{2022/04/03} +\def\PackageVersion{2022/04/17} \frontmatter \LocallyStopLineNumbers @@ -104,8 +106,8 @@ { , title = \simplivre{} , subtitle = { - \textsc{Écrivez vos livres \\de manière simple et claire}\\[10pt] - \tiny Correspondant à : \texttt{\simplivre{} \PackageVersion} + \textsc{Écrivez vos livres \\de manière simple et claire}\\[20pt] + \smaller[3] Correspondant à : \texttt{\simplivre{} \PackageVersion} } , author = Jinwen XU , date = {\TheDate{\PackageVersion}[only-year-month], à Paris} diff --git a/macros/unicodetex/latex/simplivre/simplivre.cls b/macros/unicodetex/latex/simplivre/simplivre.cls index 7dd6f4b592..0e719bb849 100644 --- a/macros/unicodetex/latex/simplivre/simplivre.cls +++ b/macros/unicodetex/latex/simplivre/simplivre.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {simplivre} - {2022/04/03} {} + {2022/04/17} {} {A simple and clear book style} \tl_const:Nn \l__minimclass_base_class_tl { book } @@ -279,7 +279,7 @@ } \setsansfont { SourceSansPro-Regular.otf } [ - Scale = MatchLowercase , + Scale = 1.05 , BoldFont = SourceSansPro-Bold.otf , ItalicFont = SourceSansPro-RegularIt.otf , BoldItalicFont = SourceSansPro-BoldIt.otf , @@ -577,20 +577,15 @@ [ 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 }, - `(, `), `[, `], `\{, `\} - }, - Scale = 1.05, - ] - }{} \setmathfont { latinmodern-math.otf } [ - range = { cal, bfcal, frak, bffrak } + range = { frak, bffrak } + ] + \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} + \setmathfont { texgyrepagella-math.otf } + [ + range = { `(, `) } , + Scale = 1.10 ] \setmathfont { texgyrepagella-math.otf } [ @@ -608,6 +603,7 @@ } \RequirePackage { tikz-cd } + \tikzcdset { arrow~style = tikz, diagrams = { >={Stealth[round,length=3.4pt,width=6.15pt,inset=2.25pt]} } } \box_new:N \l__minimclass_xarrows_above_box \box_new:N \l__minimclass_xarrows_below_box diff --git a/macros/unicodetex/latex/unisc/README.txt b/macros/unicodetex/latex/unisc/README.txt new file mode 100644 index 0000000000..74fb043a2c --- /dev/null +++ b/macros/unicodetex/latex/unisc/README.txt @@ -0,0 +1,10 @@ +------------------------------------------------------- +Package: unisc +Version: v0.1 (21 April, 2022) +Author: निरंजन +Description: Unicode small caps with Xe/LuaLaTeX. +Repository: https://puszcza.gnu.org.ua/projects/unisc +License: GPLv3+, GFDLv1.3+ +------------------------------------------------------- + + diff --git a/macros/unicodetex/latex/unisc/unisc.dtx b/macros/unicodetex/latex/unisc/unisc.dtx new file mode 100644 index 0000000000..676bcf4a2d --- /dev/null +++ b/macros/unicodetex/latex/unisc/unisc.dtx @@ -0,0 +1,496 @@ +% \iffalse meta-comment +% +% File: unisc.dtx +% ------------------------------------------------------- +% Package: unisc +% Version: v0.1 (21 April, 2022) +% Author: निरंजन +% Description: Unicode small caps with Xe/LuaLaTeX. +% Repository: https://puszcza.gnu.org.ua/projects/unisc +% License: GPLv3+, GFDLv1.3+ +% ------------------------------------------------------- +% +% LaTeX Package unisc v0.1 +% Copyright © 2022 निरंजन +% +% This program is free software: you can redistribute it +% and/or modify it under the terms of the GNU General Public +% License as published by the Free Software Foundation, +% either version 3 of the License, or (at your option) any +% later version. +% +% This program is distributed in the hope that it will be +% useful, but WITHOUT ANY WARRANTY; without even the implied +% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +% PURPOSE. See the GNU General Public License for more +% details. +% +% You should have received a copy of the GNU General Public +% License along with this program. If not, see +% <https://www.gnu.org/licenses/>. +% +% The current maintainer of this work is निरंजन. +% +% This work consists of the files unisc.dtx +% unisc.ins +% and the derived file unisc.sty. +% \fi +% \iffalse +%<*internal> +\iffalse +%</internal> +%<*readme> +------------------------------------------------------- +Package: unisc +Version: v0.1 (21 April, 2022) +Author: निरंजन +Description: Unicode small caps with Xe/LuaLaTeX. +Repository: https://puszcza.gnu.org.ua/projects/unisc +License: GPLv3+, GFDLv1.3+ +------------------------------------------------------- +%</readme> +%<*internal> +\fi +%</internal> +%<*driver|package> +\def\uniscname{unisc} +\def\uniscversion{0.1} +\def\uniscdate{2022-04-21} +\def\uniscdescription{% + Unicode small caps with Xe/LuaLaTeX.% +} +%</driver|package> +%<*driver> +\documentclass{l3doc} +\usepackage{xcolor} +\usepackage{fontawesome5} +\usepackage{hologo} +\DeclareRobustCommand\XeLaTeX{\hologo{XeLaTeX}} +\usepackage{unisc} +\usepackage{hyperref} +\hypersetup{% + unicode,% + colorlinks,% + urlcolor=blue!60!black,% + linkcolor=red!60!black,% + citecolor=green!60!black,% + pdftitle={The unisc package},% + pdfauthor={निरंजन},% + pdfsubject={\uniscdescription} +}% +\usepackage{mdframed} +\usepackage{fontspec} +\newfontfamily\charissil{CharisSIL} +\newfontfamily\devanagari[% + Script=Devanagari,% + Scale=0.8% +]% +{Shobhika} +\NewCommandCopy\oldamp\& +\def\&{\textit{\oldamp}} + +\begin{document} + \DocInput{\uniscname.dtx} +\end{document} +%</driver> +% \fi +% \title{The \pkg{\uniscname} package} +% \author{^^A +% {\devanagari निरंजन}\thanks{^^A +% \href{mailto:hi.niranjan@pm.me}^^A +% {\faIcon{envelope} \texttt{hi.niranjan@pm.me}}^^A +% }^^A +% } +% \date{^^A +% Version \uniscversion\ --- \uniscdate\\[1ex]^^A +% {^^A +% \small +% \faIcon{globe}^^A +% \quad +% \url{https://puszcza.gnu.org.ua/projects/unisc}\\[0.5ex]^^A +% \faIcon{bug}^^A +% \quad +% \url{https://puszcza.gnu.org.ua/bugs/?group=unisc}^^A +% }^^A +% } +% +% \maketitle +% +% \begin{documentation} +% \begin{abstract} +% \LaTeX\ produces small caps with +% \cs{textsc}\marg{text} or \cs{scshape}. Both of these +% commands don't produce small caps in Unicode. If the +% output text is copied and pasted somewhere it shows +% the same characters used in the input. This package +% aims to internally convert all the characters provided +% to the commands mentioned above. It assumes that the +% file using this package is compiled with Lua/\XeLaTeX\ +% \& a good Unicode font which has the small caps +% characters, e.g., +% \href{https://ctan.org/pkg/charissil}{Charis +% SIL}. Please note that as there are no Unicode slots +% allotted to upper case small caps, both the lower case +% and upper case input will be converted to only one +% relevant Unicode character in the output, e.g., +% \verb|\textsc{Hh}| will produce the same character +% twice unlike \verb|\oldtextsc{Hh}|. +% \end{abstract} +% +% \tableofcontents +% +% \vfill +% +% {^^A +% \setlength{\parindent}{0pt} +% \LaTeX\ package \pkg{unisc} +% +% Copyright © 2022 {\devanagari निरंजन} +% +% Permission is granted to copy, distribute and/or +% modify this document under the terms of the GNU Free +% Documentation License, Version 1.3 or any later +% version published by the Free Software Foundation; +% with no Invariant Sections, no Front-Cover Texts, and +% no Back-Cover Texts. A copy of the license is included +% in the section entitled ``GNU Free Documentation +% License''.^^A +% }^^A +% +% \newpage +% +% \section{Documentation} +% +% This package provides the following two macros. +% +% \subsection{Macros} +% +% This package renews two basic \LaTeX\ commands, i.e., +% \cs{scshape} \& \cs{textsc}. To keep the original +% definitions available for the users, I have copied the +% old commands \& provided two of the following macros +% which behave exactly like their old variants. +% +% \begin{function}{\oldscshape} +% \begin{syntax} +% \{\cs{oldscshape} \meta{text}\} +% \end{syntax} +% \end{function} +% +% \begin{function}{\oldtextsc} +% \begin{syntax} +% \cs{oldtextsc}\marg{text} +% \end{syntax} +% \end{function} +% +% \subsection{The \enquote*{x} factor} +% +% This package doesn't support the small capital shape +% of the character \enquote*{x} as there is no Unicode +% number allotted for a \enquote*{small capital x} as of +% now. The package simply prints the small x (for both +% \verb|\textsc{x}| \& \verb|\textsc{X}|) as it is of +% the same height of the other small capital letters +% along with a warning message that warns the users +% about this deviation. +% +% \subsection{Example} +% +% \begin{mdframed} +% \begin{verbatim} +% \documentclass{article} +% \usepackage{unisc} +% \usepackage{fontspec} +% \setmainfont{CharisSIL}% https://ctan.org/pkg/charissil + +% \begin{document} +% \noindent\textbf{Fake small caps:} +% {\oldscshape hello world} \oldtextsc{hello world}. + +% \noindent\textbf{Unicode small caps:} +% {\scshape hello world} \textsc{hello world}. +% \end{document} +% \end{verbatim} +% \end{mdframed} +% +% This produces the following: +% +% \begin{mdframed} +% \charissil +% \noindent\textbf{Fake small caps:} +% {\oldscshape hello world} \oldtextsc{hello world}. +% +% \noindent\textbf{Unicode small caps:} +% {\scshape hello world} \textsc{hello world}. +% \end{mdframed} +% \end{documentation} +% +% \newpage +% +% \begin{implementation} +% \section{Implementation} +% Provide package with its basic information. +% \begin{macrocode} +%<@@=unisc> +%<*package> +\ProvidesPackage{unisc}[2022/04/21 v0.1 +Unicode small caps with Lua/XeLaTeX.] +% \end{macrocode} +% Load the necessary packages. +% \begin{macrocode} +\RequirePackage{pgfparser} +\RequirePackage{xpatch} +% \end{macrocode} +% Make copies of old commands. +% \begin{macrocode} +\NewCommandCopy\oldtextsc\textsc +\NewCommandCopy\oldscshape\scshape +% \end{macrocode} +% As pointed out by Florent Rougon in +% \href{https://topanswers.xyz/transcript?room=2050&id=138859#c138859}% +% {this} comment; the definition of \cs{oldtextsc} uses +% \cs{scshape} twice which needs to be replaced with +% \cs{oldscshape}. For that the following patching is done +% \& the old definition is retained. +% \begin{macrocode} +\xpatchcmd{\oldtextsc}{\scshape}{\oldscshape}{}{\ERROR} +\xpatchcmd{\oldtextsc}{\scshape}{\oldscshape}{}{\ERROR} +% \end{macrocode} +% The following code is kindly provided by Jonathan P.\ +% Spratte on the following thread: +% \url{https://topanswers.xyz/tex?q=2005}. I have modified +% it a bit as per my needs and my indentation style. +% \begin{macrocode} +\protected\long\def\unisc@output#1{% + \xdef\unisc@outputcontainer{% + \unexpanded\expandafter{% + \unisc@outputcontainer\unexpanded{#1}% + }% + }% +} +\protected\long\def\unisc@outputexpanded#1{% + \xdef\unisc@outputcontainer{% + \unexpanded\expandafter{\unisc@outputcontainer#1% + }% + }% +} +\providecommand\@gobbletwo[2]{} +\pgfparserdefunknown{scparser}{initial}{% + \let\unisc@initiated\@empty + \pgfparserswitch{initiated}% + \pgfparserreinsert +} +\pgfparserset{scparser/silent=true} +\pgfparserdefunknown{scparser}{all}{% + \expandafter\unisc@output\expandafter{\pgfparserletter}% +} +\newcommand*\unisc@bgroup{\expandafter{\iffalse}\fi} +\newcommand*\unisc@egroup{\iffalse{\fi}} +\pgfparserdef{scparser}{all}\begingroup + {\begingroup\unisc@outputexpanded\begingroup} +\pgfparserdef{scparser}{all}\endgroup + {\unisc@checkend\endgroup} +\pgfparserdef{scparser}{all}{\meaning\bgroup}{% + \unisc@bgroup\unisc@outputexpanded\unisc@bgroup +} +\pgfparserdef{scparser}{all}{\meaning\egroup} + {\unisc@checkend\unisc@egroup} +\newcommand\unisc@savedefinition[1] + {\unexpanded{\def#1}{\unexpanded\expandafter{#1}}} +\protected\def\unisc@checkend#1{% + \expanded{% + \unexpanded{#1}% + \unexpanded{\ifdefined\unisc@initiated}% + \unisc@savedefinition\pgfparserstate + \unexpanded{\unisc@outputexpanded#1}% + \unexpanded{\else}% + \unexpanded{\pgfparserswitch{final}}% + \unisc@savedefinition\pgfparser@current + \unisc@savedefinition\pgfparser@usersname + \unexpanded{\fi}% + }% +} +% \end{macrocode} +% Following is the code for the replacements of the +% regular characters with the Unicode ones. +% \begin{macrocode} +%% LATIN LETTER SMALL CAPITAL A +\pgfparserdef{scparser}{initiated}a% + {\unisc@outputexpanded{\symbol{"1D00}}} +\pgfparserdef{scparser}{initiated}A% + {\unisc@outputexpanded{\symbol{"1D00}}} +%% LATIN LETTER SMALL CAPITAL B +\pgfparserdef{scparser}{initiated}b% + {\unisc@outputexpanded{\symbol{"0299}}} +\pgfparserdef{scparser}{initiated}B% + {\unisc@outputexpanded{\symbol{"0299}}} +%% LATIN LETTER SMALL CAPITAL C +\pgfparserdef{scparser}{initiated}c% + {\unisc@outputexpanded{\symbol{"1D04}}} +\pgfparserdef{scparser}{initiated}C% + {\unisc@outputexpanded{\symbol{"1D04}}} +%% LATIN LETTER SMALL CAPITAL D +\pgfparserdef{scparser}{initiated}d% + {\unisc@outputexpanded{\symbol{"1D05}}} +\pgfparserdef{scparser}{initiated}D% + {\unisc@outputexpanded{\symbol{"1D05}}} +%% LATIN LETTER SMALL CAPITAL E +\pgfparserdef{scparser}{initiated}e% + {\unisc@outputexpanded{\symbol{"1D07}}} +\pgfparserdef{scparser}{initiated}E% + {\unisc@outputexpanded{\symbol{"1D07}}} +%% LATIN LETTER SMALL CAPITAL F +\pgfparserdef{scparser}{initiated}f% + {\unisc@outputexpanded{\symbol{"A730}}} +\pgfparserdef{scparser}{initiated}F% + {\unisc@outputexpanded{\symbol{"A730}}} +%% LATIN LETTER SMALL CAPITAL G +\pgfparserdef{scparser}{initiated}g% + {\unisc@outputexpanded{\symbol{"0262}}} +\pgfparserdef{scparser}{initiated}G% + {\unisc@outputexpanded{\symbol{"0262}}} +%% LATIN LETTER SMALL CAPITAL H +\pgfparserdef{scparser}{initiated}h% + {\unisc@outputexpanded{\symbol{"029C}}} +\pgfparserdef{scparser}{initiated}H% + {\unisc@outputexpanded{\symbol{"029C}}} +%% LATIN LETTER SMALL CAPITAL I +\pgfparserdef{scparser}{initiated}i% + {\unisc@outputexpanded{\symbol{"026A}}} +\pgfparserdef{scparser}{initiated}I% + {\unisc@outputexpanded{\symbol{"026A}}} +%% LATIN LETTER SMALL CAPITAL J +\pgfparserdef{scparser}{initiated}j% + {\unisc@outputexpanded{\symbol{"1D0A}}} +\pgfparserdef{scparser}{initiated}J% + {\unisc@outputexpanded{\symbol{"1D0A}}} +%% LATIN LETTER SMALL CAPITAL K +\pgfparserdef{scparser}{initiated}k% + {\unisc@outputexpanded{\symbol{"1D0B}}} +\pgfparserdef{scparser}{initiated}K% + {\unisc@outputexpanded{\symbol{"1D0B}}} +%% LATIN LETTER SMALL CAPITAL L +\pgfparserdef{scparser}{initiated}l% + {\unisc@outputexpanded{\symbol{"029F}}} +\pgfparserdef{scparser}{initiated}L% + {\unisc@outputexpanded{\symbol{"029F}}} +%% LATIN LETTER SMALL CAPITAL M +\pgfparserdef{scparser}{initiated}m% + {\unisc@outputexpanded{\symbol{"1D0D}}} +\pgfparserdef{scparser}{initiated}M% + {\unisc@outputexpanded{\symbol{"1D0D}}} +%% LATIN LETTER SMALL CAPITAL N +\pgfparserdef{scparser}{initiated}n% + {\unisc@outputexpanded{\symbol{"0274}}} +\pgfparserdef{scparser}{initiated}N% + {\unisc@outputexpanded{\symbol{"0274}}} +%% LATIN LETTER SMALL CAPITAL O +\pgfparserdef{scparser}{initiated}o% + {\unisc@outputexpanded{\symbol{"1D0F}}} +\pgfparserdef{scparser}{initiated}O% + {\unisc@outputexpanded{\symbol{"1D0F}}} +%% LATIN LETTER SMALL CAPITAL P +\pgfparserdef{scparser}{initiated}p% + {\unisc@outputexpanded{\symbol{"1D18}}} +\pgfparserdef{scparser}{initiated}P% + {\unisc@outputexpanded{\symbol{"1D18}}} +%% LATIN LETTER SMALL CAPITAL Q +\pgfparserdef{scparser}{initiated}q% + {\unisc@outputexpanded{\symbol{"A7AF}}} +\pgfparserdef{scparser}{initiated}Q% + {\unisc@outputexpanded{\symbol{"A7AF}}} +%% LATIN LETTER SMALL CAPITAL R +\pgfparserdef{scparser}{initiated}r% + {\unisc@outputexpanded{\symbol{"0280}}} +\pgfparserdef{scparser}{initiated}R% + {\unisc@outputexpanded{\symbol{"0280}}} +%% LATIN LETTER SMALL CAPITAL S +\pgfparserdef{scparser}{initiated}s% + {\unisc@outputexpanded{\symbol{"A731}}} +\pgfparserdef{scparser}{initiated}S% + {\unisc@outputexpanded{\symbol{"A731}}} +%% LATIN LETTER SMALL CAPITAL T +\pgfparserdef{scparser}{initiated}t% + {\unisc@outputexpanded{\symbol{"1D1B}}} +\pgfparserdef{scparser}{initiated}T% + {\unisc@outputexpanded{\symbol{"1D1B}}} +%% LATIN LETTER SMALL CAPITAL U +\pgfparserdef{scparser}{initiated}u% + {\unisc@outputexpanded{\symbol{"1D1C}}} +\pgfparserdef{scparser}{initiated}U% + {\unisc@outputexpanded{\symbol{"1D1C}}} +%% LATIN LETTER SMALL CAPITAL V +\pgfparserdef{scparser}{initiated}v% + {\unisc@outputexpanded{\symbol{"1D20}}} +\pgfparserdef{scparser}{initiated}V% + {\unisc@outputexpanded{\symbol{"1D20}}} +%% LATIN LETTER SMALL CAPITAL W +\pgfparserdef{scparser}{initiated}w% + {\unisc@outputexpanded{\symbol{"1D21}}} +\pgfparserdef{scparser}{initiated}W% + {\unisc@outputexpanded{\symbol{"1D21}}} +%% LATIN LETTER X +\pgfparserdef{scparser}{initiated}x{% + \unisc@outputexpanded{\symbol{"0078}}% + \PackageWarning{unisc}{% + You have used the unsupported character `x' in the\MessageBreak + argument of \string\textsc + }% +} +\pgfparserdef{scparser}{initiated}X{% + \unisc@outputexpanded{\symbol{"0078}}% + \PackageWarning{unisc}{% + You have used the unsupported character `X' in the\MessageBreak + argument of \string\textsc + }% +} +%% No Unicode number for small capital x as of now. +%% \textsc{X} == \textsc{x} for size-consistency. +%% LATIN LETTER SMALL CAPITAL Y +\pgfparserdef{scparser}{initiated}y% + {\unisc@outputexpanded{\symbol{"028F}}} +\pgfparserdef{scparser}{initiated}Y% + {\unisc@outputexpanded{\symbol{"028F}}} +%% LATIN LETTER SMALL CAPITAL Z +\pgfparserdef{scparser}{initiated}z% + {\unisc@outputexpanded{\symbol{"1D22}}} +\pgfparserdef{scparser}{initiated}Z% + {\unisc@outputexpanded{\symbol{"1D22}}} +%% BLANK SPACE +\pgfparserdef{scparser}{initiated}{blank space}% + {\unisc@outputexpanded{ }} +%% END OF INPUT CHARACTERS +\pgfparserdeffinal{scparser}% + {\expanded{\unisc@outputcontainer}} +% \end{macrocode} +% Renew the definitions of \cs{textsc} \& \cs{scshape} +% commands. +% \begin{macrocode} +\AddToHook{begindocument/end}{% + \RenewDocumentCommand\scshape{ }{% + \ifdefined\unisc@initiated + \PackageError{unisc}{Nested use not allowed}{% + You somehow made \string\nirshape\space expand inside + the parser. This isn't supported.% + }% + \expandafter\@gobbletwo + \else + \global\let\unisc@outputcontainer\@empty + \fi + \pgfparserparse{scparser}% + } + \RenewDocumentCommand\textsc{ m }{% + \begingroup\scshape #1\endgroup + }% +} +% \end{macrocode} +% \begin{macrocode} +%</package> +% \end{macrocode} +% \end{implementation} +% \newpage +% \addcontentsline{toc}{section}{^^A +% GNU Free Documentation License^^A +% } +% \include{gfdl-tex.tex} +% \Finale diff --git a/macros/unicodetex/latex/unisc/unisc.ins b/macros/unicodetex/latex/unisc/unisc.ins new file mode 100644 index 0000000000..f9024a665b --- /dev/null +++ b/macros/unicodetex/latex/unisc/unisc.ins @@ -0,0 +1,55 @@ +% File: unisc.ins +\input l3docstrip.tex + +\keepsilent +\askforoverwritefalse + +\preamble +---------------------------------------------------------- +Package: unisc +Version: v0.1 (21 April, 2022) +Author: निरंजन +Description: Unicode small caps with Lua/XeLaTeX. +Repository: https://puszcza.gnu.org.ua/projects/unisc +License: GPLv3+, GFDLv1.3+ +---------------------------------------------------------- + +LaTeX Package unisc v0.1 +Copyright © 2022 निरंजन + +This program is free software: you can redistribute it +and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation, either +version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be +useful, but WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public +License along with this program. If not, see +<https://www.gnu.org/licenses/>. + +The current maintainer of this work is निरंजन. + +This work consists of the files unisc.dtx + unisc.ins +and the derived file unisc.sty. +---------------------------------------------------------- +\endpreamble + +\usedir{tex/latex/\jobname} +\generate{ + \file{\jobname.sty}{\from{\jobname.dtx}{package}} +} + +\nopreamble\nopostamble +\usedir{doc/latex/\jobname} +\generate{ + \file{README.txt}{\from{\jobname.dtx}{readme}} +} + +\endbatchfile diff --git a/macros/unicodetex/latex/unisc/unisc.pdf b/macros/unicodetex/latex/unisc/unisc.pdf Binary files differnew file mode 100644 index 0000000000..97b1df006c --- /dev/null +++ b/macros/unicodetex/latex/unisc/unisc.pdf |