diff options
author | Karl Berry <karl@freefriends.org> | 2023-09-26 20:06:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-09-26 20:06:09 +0000 |
commit | c1b2f7cc37f5bf1c8704ba4b37df8e0d61a97750 (patch) | |
tree | 4c3f6f637c38d910e0d2c1541b844fad55caf497 /Master/texmf-dist | |
parent | c235a19b87bb41ec8d503d64173dfacfdea43c6e (diff) |
jxu (26sep23)
git-svn-id: svn://tug.org/texlive/trunk@68376 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
21 files changed, 807 insertions, 81 deletions
diff --git a/Master/texmf-dist/doc/latex/beaulivre/README.md b/Master/texmf-dist/doc/latex/beaulivre/README.md index 7ae628f855e..243c0ec3fea 100644 --- a/Master/texmf-dist/doc/latex/beaulivre/README.md +++ b/Master/texmf-dist/doc/latex/beaulivre/README.md @@ -14,11 +14,175 @@ This is part of the `colorist` class series. Compared with usual document classes, it has the following features: -- Several carefully designed styles -- Native multi-language support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish - > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched -- Ready-to-use theorem-like environments, with clever referencing support -- ... and so much more... +- Several carefully designed styles. +- Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish. + > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched. +- Ready-to-use theorem-type environments, with clever referencing supported. +- Support both the standard and the AMS writing fashion. +- ... and much more... + +## Required fonts + +The current document class requires the following open-source fonts that are not included in the standard TeX collection: + +- The Source Han font series at [Adobe Fonts](https://github.com/adobe-fonts). More specifically: + - Source Han Serif, [go to its Release page](https://github.com/adobe-fonts/source-han-serif/releases). + - Source Han Sans, [go to its Release page](https://github.com/adobe-fonts/source-han-sans/releases). + - Source Han Mono, [go to its Release page](https://github.com/adobe-fonts/source-han-mono/releases). + > It is recommended to download the Super-OTC version, so that the download size would be smaller. + +## Improvements to the current font configuration + +> The code in this section is rather experimental and may constantly get changed. The author uses these lines of code in his daily documents, but since it involves non-free fonts and/or uses complex Lua patches, the code below cannot be integrated into the published version. + +If you are willing to use LuaLaTeX, then the following aspects may help you further improve the current font configuration. + +- If you have the font `Palatino Linotype` installed, then replacing the default `TeXGyrePagellaX` using the following code gives you slightly better result: + ```latex + \directlua + { + fonts.handlers.otf.addfeature + { + name = "palatino-linotype-fix", + type = "kern", + data = + { + ["r"] = { ["ê"] = 120 }, + ["v"] = { ["ê"] = 180 }, + ["w"] = { ["ê"] = 180 }, + ["y"] = { ["ê"] = 180 }, + }, + } + } + \setmainfont{Palatino Linotype} + [ + Numbers = OldStyle , + RawFeature = +palatino-linotype-fix + ] + ``` +- If you have the font `Palatino Sans LT Pro` installed, then replacing the default `mathsf` font with this gives more pleasant visual effect: + ```latex + \setmathsf{Palatino Sans LT Pro} + \setmathfont{PalatinoSansLTPro-LightIta}[range=sfit] + ``` +- The default configuration for math fonts has some imperfections. The following code helps to improve it. But for this you need to modify the `.cls` file itself and then maintain your local version of it. Here is how: + - First, add this definition at the beginning of the font configuration. + ```latex + \ExplSyntaxOff + % https://tex.stackexchange.com/a/505003 + \def\mathkern@fix@for@lua + { + \directlua + { + local mathkerns = { + ["Asana-Math"] = { + [0x1D447] = {% T + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D449] = {% V + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D44A] = {% W + bottomright = { + {height=0,kern=-30}, + }, + }, + [0x1D453] = {% f + bottomright = { + {height=0,kern=-135}, + }, + }, + [0x1D44F] = {% b + topright = { + {height=0,kern=75}, + }, + }, + }, + ["KpMath-Regular"] = { + [0x1D6FD] = {% \beta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D6FF] = {% \delta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D702] = {% \eta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D703] = {% \theta + bottomright = { + {height=0,kern=10}, + }, + }, + [0x1D714] = {% \omega + bottomright = { + {height=0,kern=30}, + }, + }, + }, + } + local function initmathkern(tfmdata) + local values = mathkerns[tfmdata.properties.psname] + if not values then return end + for cp, value in next, values do + local tcp = type(cp) + if tcp == 'string' then + cp = tfmdata.resources.unicodes[cp] + end + local char = tfmdata.characters[cp] + if char then + local mathkern = char.mathkerns + if not mathkern then + mathkern = {} + char.mathkerns = mathkern + end + for corner, v in next, value do + mathkern[corner] = v + end + end + end + end + fonts.constructors.newfeatures'otf'.register{ + name = 'mathkern', + description = 'Overwrite mathkern values', + initializers = { + base = initmathkern, + }, + } + } + } + \ExplSyntaxOn + ``` + - Then, just before `\RequirePackage { unicode-math }`, add these lines: + ```latex + \sys_if_engine_luatex:T + { + \mathkern@fix@for@lua + } + ``` + - Finally, replace `\setmathfont { KpMath-Regular.otf }` with `\setmathfont [ RawFeature = mathkern ] { KpMath-Regular.otf }`, and replace + ```latex + \setmathfont { texgyrepagella-math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` + with + ```latex + \setmathfont [ RawFeature = mathkern ] { Asana-Math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` # License diff --git a/Master/texmf-dist/doc/latex/colorist/README.md b/Master/texmf-dist/doc/latex/colorist/README.md index c72a30f9fdf..432754821b0 100644 --- a/Master/texmf-dist/doc/latex/colorist/README.md +++ b/Master/texmf-dist/doc/latex/colorist/README.md @@ -49,12 +49,12 @@ latex colorist-doc.ins Compared with usual document classes, it has the following features: -- Several carefully designed styles -- Native multi-language support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish - > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched -- Ready-to-use theorem-like environments, with clever referencing support -- Support both the standard and the AMS writing fashion -- ... and so much more... +- Several carefully designed styles. +- Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish. + > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched. +- Ready-to-use theorem-type environments, with clever referencing supported. +- Support both the standard and the AMS writing fashion. +- ... and much more... # License diff --git a/Master/texmf-dist/doc/latex/einfart/README.md b/Master/texmf-dist/doc/latex/einfart/README.md index a7ac3720e32..9c56ae78a7f 100644 --- a/Master/texmf-dist/doc/latex/einfart/README.md +++ b/Master/texmf-dist/doc/latex/einfart/README.md @@ -14,12 +14,175 @@ This is part of the `minimalist` class series. Compared with usual document classes, it has the following features: -- Several carefully designed styles -- Native multi-language support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish - > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched -- Ready-to-use theorem-like environments, with clever referencing support -- Support both the standard and the AMS writing fashion -- ... and so much more... +- Several carefully designed styles. +- Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish. + > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched. +- Ready-to-use theorem-type environments, with clever referencing supported. +- Support both the standard and the AMS writing fashion. +- ... and much more... + +## Required fonts + +The current document class requires the following open-source fonts that are not included in the standard TeX collection: + +- The Source Han font series at [Adobe Fonts](https://github.com/adobe-fonts). More specifically: + - Source Han Serif, [go to its Release page](https://github.com/adobe-fonts/source-han-serif/releases). + - Source Han Sans, [go to its Release page](https://github.com/adobe-fonts/source-han-sans/releases). + - Source Han Mono, [go to its Release page](https://github.com/adobe-fonts/source-han-mono/releases). + > It is recommended to download the Super-OTC version, so that the download size would be smaller. + +## Improvements to the current font configuration + +> The code in this section is rather experimental and may constantly get changed. The author uses these lines of code in his daily documents, but since it involves non-free fonts and/or uses complex Lua patches, the code below cannot be integrated into the published version. + +If you are willing to use LuaLaTeX, then the following aspects may help you further improve the current font configuration. + +- If you have the font `Palatino Linotype` installed, then replacing the default `TeXGyrePagellaX` using the following code gives you slightly better result: + ```latex + \directlua + { + fonts.handlers.otf.addfeature + { + name = "palatino-linotype-fix", + type = "kern", + data = + { + ["r"] = { ["ê"] = 120 }, + ["v"] = { ["ê"] = 180 }, + ["w"] = { ["ê"] = 180 }, + ["y"] = { ["ê"] = 180 }, + }, + } + } + \setmainfont{Palatino Linotype} + [ + Numbers = OldStyle , + RawFeature = +palatino-linotype-fix + ] + ``` +- If you have the font `Palatino Sans LT Pro` installed, then replacing the default `mathsf` font with this gives more pleasant visual effect: + ```latex + \setmathsf{Palatino Sans LT Pro} + \setmathfont{PalatinoSansLTPro-LightIta}[range=sfit] + ``` +- The default configuration for math fonts has some imperfections. The following code helps to improve it. But for this you need to modify the `.cls` file itself and then maintain your local version of it. Here is how: + - First, add this definition at the beginning of the font configuration. + ```latex + \ExplSyntaxOff + % https://tex.stackexchange.com/a/505003 + \def\mathkern@fix@for@lua + { + \directlua + { + local mathkerns = { + ["Asana-Math"] = { + [0x1D447] = {% T + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D449] = {% V + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D44A] = {% W + bottomright = { + {height=0,kern=-30}, + }, + }, + [0x1D453] = {% f + bottomright = { + {height=0,kern=-135}, + }, + }, + [0x1D44F] = {% b + topright = { + {height=0,kern=75}, + }, + }, + }, + ["KpMath-Regular"] = { + [0x1D6FD] = {% \beta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D6FF] = {% \delta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D702] = {% \eta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D703] = {% \theta + bottomright = { + {height=0,kern=10}, + }, + }, + [0x1D714] = {% \omega + bottomright = { + {height=0,kern=30}, + }, + }, + }, + } + local function initmathkern(tfmdata) + local values = mathkerns[tfmdata.properties.psname] + if not values then return end + for cp, value in next, values do + local tcp = type(cp) + if tcp == 'string' then + cp = tfmdata.resources.unicodes[cp] + end + local char = tfmdata.characters[cp] + if char then + local mathkern = char.mathkerns + if not mathkern then + mathkern = {} + char.mathkerns = mathkern + end + for corner, v in next, value do + mathkern[corner] = v + end + end + end + end + fonts.constructors.newfeatures'otf'.register{ + name = 'mathkern', + description = 'Overwrite mathkern values', + initializers = { + base = initmathkern, + }, + } + } + } + \ExplSyntaxOn + ``` + - Then, just before `\RequirePackage { unicode-math }`, add these lines: + ```latex + \sys_if_engine_luatex:T + { + \mathkern@fix@for@lua + } + ``` + - Finally, replace `\setmathfont { KpMath-Regular.otf }` with `\setmathfont [ RawFeature = mathkern ] { KpMath-Regular.otf }`, and replace + ```latex + \setmathfont { texgyrepagella-math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` + with + ```latex + \setmathfont [ RawFeature = mathkern ] { Asana-Math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` # License diff --git a/Master/texmf-dist/doc/latex/lebhart/README.md b/Master/texmf-dist/doc/latex/lebhart/README.md index 6ede054a38b..ed7bd0e2b17 100644 --- a/Master/texmf-dist/doc/latex/lebhart/README.md +++ b/Master/texmf-dist/doc/latex/lebhart/README.md @@ -14,12 +14,175 @@ This is part of the `colorist` class series. Compared with usual document classes, it has the following features: -- Several carefully designed styles -- Native multi-language support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish - > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched -- Ready-to-use theorem-like environments, with clever referencing support -- Support both the standard and the AMS writing fashion -- ... and so much more... +- Several carefully designed styles. +- Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish. + > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched. +- Ready-to-use theorem-type environments, with clever referencing supported. +- Support both the standard and the AMS writing fashion. +- ... and much more... + +## Required fonts + +The current document class requires the following open-source fonts that are not included in the standard TeX collection: + +- The Source Han font series at [Adobe Fonts](https://github.com/adobe-fonts). More specifically: + - Source Han Serif, [go to its Release page](https://github.com/adobe-fonts/source-han-serif/releases). + - Source Han Sans, [go to its Release page](https://github.com/adobe-fonts/source-han-sans/releases). + - Source Han Mono, [go to its Release page](https://github.com/adobe-fonts/source-han-mono/releases). + > It is recommended to download the Super-OTC version, so that the download size would be smaller. + +## Improvements to the current font configuration + +> The code in this section is rather experimental and may constantly get changed. The author uses these lines of code in his daily documents, but since it involves non-free fonts and/or uses complex Lua patches, the code below cannot be integrated into the published version. + +If you are willing to use LuaLaTeX, then the following aspects may help you further improve the current font configuration. + +- If you have the font `Palatino Linotype` installed, then replacing the default `TeXGyrePagellaX` using the following code gives you slightly better result: + ```latex + \directlua + { + fonts.handlers.otf.addfeature + { + name = "palatino-linotype-fix", + type = "kern", + data = + { + ["r"] = { ["ê"] = 120 }, + ["v"] = { ["ê"] = 180 }, + ["w"] = { ["ê"] = 180 }, + ["y"] = { ["ê"] = 180 }, + }, + } + } + \setmainfont{Palatino Linotype} + [ + Numbers = OldStyle , + RawFeature = +palatino-linotype-fix + ] + ``` +- If you have the font `Palatino Sans LT Pro` installed, then replacing the default `mathsf` font with this gives more pleasant visual effect: + ```latex + \setmathsf{Palatino Sans LT Pro} + \setmathfont{PalatinoSansLTPro-LightIta}[range=sfit] + ``` +- The default configuration for math fonts has some imperfections. The following code helps to improve it. But for this you need to modify the `.cls` file itself and then maintain your local version of it. Here is how: + - First, add this definition at the beginning of the font configuration. + ```latex + \ExplSyntaxOff + % https://tex.stackexchange.com/a/505003 + \def\mathkern@fix@for@lua + { + \directlua + { + local mathkerns = { + ["Asana-Math"] = { + [0x1D447] = {% T + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D449] = {% V + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D44A] = {% W + bottomright = { + {height=0,kern=-30}, + }, + }, + [0x1D453] = {% f + bottomright = { + {height=0,kern=-135}, + }, + }, + [0x1D44F] = {% b + topright = { + {height=0,kern=75}, + }, + }, + }, + ["KpMath-Regular"] = { + [0x1D6FD] = {% \beta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D6FF] = {% \delta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D702] = {% \eta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D703] = {% \theta + bottomright = { + {height=0,kern=10}, + }, + }, + [0x1D714] = {% \omega + bottomright = { + {height=0,kern=30}, + }, + }, + }, + } + local function initmathkern(tfmdata) + local values = mathkerns[tfmdata.properties.psname] + if not values then return end + for cp, value in next, values do + local tcp = type(cp) + if tcp == 'string' then + cp = tfmdata.resources.unicodes[cp] + end + local char = tfmdata.characters[cp] + if char then + local mathkern = char.mathkerns + if not mathkern then + mathkern = {} + char.mathkerns = mathkern + end + for corner, v in next, value do + mathkern[corner] = v + end + end + end + end + fonts.constructors.newfeatures'otf'.register{ + name = 'mathkern', + description = 'Overwrite mathkern values', + initializers = { + base = initmathkern, + }, + } + } + } + \ExplSyntaxOn + ``` + - Then, just before `\RequirePackage { unicode-math }`, add these lines: + ```latex + \sys_if_engine_luatex:T + { + \mathkern@fix@for@lua + } + ``` + - Finally, replace `\setmathfont { KpMath-Regular.otf }` with `\setmathfont [ RawFeature = mathkern ] { KpMath-Regular.otf }`, and replace + ```latex + \setmathfont { texgyrepagella-math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` + with + ```latex + \setmathfont [ RawFeature = mathkern ] { Asana-Math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` # License diff --git a/Master/texmf-dist/doc/latex/minimalist/README.md b/Master/texmf-dist/doc/latex/minimalist/README.md index 06fa31ae8ec..2d12534ec52 100644 --- a/Master/texmf-dist/doc/latex/minimalist/README.md +++ b/Master/texmf-dist/doc/latex/minimalist/README.md @@ -54,12 +54,12 @@ latex minimalist-doc.ins Compared with usual document classes, it has the following features: -- Several carefully designed styles -- Native multi-language support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish - > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched -- Ready-to-use theorem-like environments, with clever referencing support -- Support both the standard and the AMS writing fashion -- ... and so much more... +- Several carefully designed styles. +- Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish. + > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched. +- Ready-to-use theorem-type environments, with clever referencing supported. +- Support both the standard and the AMS writing fashion. +- ... and much more... # License diff --git a/Master/texmf-dist/doc/latex/simplivre/README.md b/Master/texmf-dist/doc/latex/simplivre/README.md index 2b6b50b385a..d4ecf7e9485 100644 --- a/Master/texmf-dist/doc/latex/simplivre/README.md +++ b/Master/texmf-dist/doc/latex/simplivre/README.md @@ -14,11 +14,175 @@ This is part of the `minimalist` class series. Compared with usual document classes, it has the following features: -- Several carefully designed styles -- Native multi-language support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish - > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched -- Ready-to-use theorem-like environments, with clever referencing support -- ... and so much more... +- Several carefully designed styles. +- Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish. + > In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched. +- Ready-to-use theorem-type environments, with clever referencing supported. +- Support both the standard and the AMS writing fashion. +- ... and much more... + +## Required fonts + +The current document class requires the following open-source fonts that are not included in the standard TeX collection: + +- The Source Han font series at [Adobe Fonts](https://github.com/adobe-fonts). More specifically: + - Source Han Serif, [go to its Release page](https://github.com/adobe-fonts/source-han-serif/releases). + - Source Han Sans, [go to its Release page](https://github.com/adobe-fonts/source-han-sans/releases). + - Source Han Mono, [go to its Release page](https://github.com/adobe-fonts/source-han-mono/releases). + > It is recommended to download the Super-OTC version, so that the download size would be smaller. + +## Improvements to the current font configuration + +> The code in this section is rather experimental and may constantly get changed. The author uses these lines of code in his daily documents, but since it involves non-free fonts and/or uses complex Lua patches, the code below cannot be integrated into the published version. + +If you are willing to use LuaLaTeX, then the following aspects may help you further improve the current font configuration. + +- If you have the font `Palatino Linotype` installed, then replacing the default `TeXGyrePagellaX` using the following code gives you slightly better result: + ```latex + \directlua + { + fonts.handlers.otf.addfeature + { + name = "palatino-linotype-fix", + type = "kern", + data = + { + ["r"] = { ["ê"] = 120 }, + ["v"] = { ["ê"] = 180 }, + ["w"] = { ["ê"] = 180 }, + ["y"] = { ["ê"] = 180 }, + }, + } + } + \setmainfont{Palatino Linotype} + [ + Numbers = OldStyle , + RawFeature = +palatino-linotype-fix + ] + ``` +- If you have the font `Palatino Sans LT Pro` installed, then replacing the default `mathsf` font with this gives more pleasant visual effect: + ```latex + \setmathsf{Palatino Sans LT Pro} + \setmathfont{PalatinoSansLTPro-LightIta}[range=sfit] + ``` +- The default configuration for math fonts has some imperfections. The following code helps to improve it. But for this you need to modify the `.cls` file itself and then maintain your local version of it. Here is how: + - First, add this definition at the beginning of the font configuration. + ```latex + \ExplSyntaxOff + % https://tex.stackexchange.com/a/505003 + \def\mathkern@fix@for@lua + { + \directlua + { + local mathkerns = { + ["Asana-Math"] = { + [0x1D447] = {% T + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D449] = {% V + bottomright = { + {height=0,kern=-120}, + }, + }, + [0x1D44A] = {% W + bottomright = { + {height=0,kern=-30}, + }, + }, + [0x1D453] = {% f + bottomright = { + {height=0,kern=-135}, + }, + }, + [0x1D44F] = {% b + topright = { + {height=0,kern=75}, + }, + }, + }, + ["KpMath-Regular"] = { + [0x1D6FD] = {% \beta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D6FF] = {% \delta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D702] = {% \eta + bottomright = { + {height=0,kern=30}, + }, + }, + [0x1D703] = {% \theta + bottomright = { + {height=0,kern=10}, + }, + }, + [0x1D714] = {% \omega + bottomright = { + {height=0,kern=30}, + }, + }, + }, + } + local function initmathkern(tfmdata) + local values = mathkerns[tfmdata.properties.psname] + if not values then return end + for cp, value in next, values do + local tcp = type(cp) + if tcp == 'string' then + cp = tfmdata.resources.unicodes[cp] + end + local char = tfmdata.characters[cp] + if char then + local mathkern = char.mathkerns + if not mathkern then + mathkern = {} + char.mathkerns = mathkern + end + for corner, v in next, value do + mathkern[corner] = v + end + end + end + end + fonts.constructors.newfeatures'otf'.register{ + name = 'mathkern', + description = 'Overwrite mathkern values', + initializers = { + base = initmathkern, + }, + } + } + } + \ExplSyntaxOn + ``` + - Then, just before `\RequirePackage { unicode-math }`, add these lines: + ```latex + \sys_if_engine_luatex:T + { + \mathkern@fix@for@lua + } + ``` + - Finally, replace `\setmathfont { KpMath-Regular.otf }` with `\setmathfont [ RawFeature = mathkern ] { KpMath-Regular.otf }`, and replace + ```latex + \setmathfont { texgyrepagella-math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` + with + ```latex + \setmathfont [ RawFeature = mathkern ] { Asana-Math.otf } + [ + range = { it / { Latin, latin }, bfit / { Latin, latin }, up / num, bfup / num } + ] + ``` # License diff --git a/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls b/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls index 6a88c6e9498..7b7fae8298d 100644 --- a/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls +++ b/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {beaulivre} - {2023/07/14} {} + {2023/09/26} {} {A colorful book style} \tl_const:Nn \l__colorclass_base_class_tl { book } @@ -392,8 +392,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -457,8 +457,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -522,8 +522,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -590,18 +590,21 @@ \cs_set:Nn \colorclass_cjk_sffamily: { \CJKfamily { SCsans } } \cs_set:Nn \colorclass_cjk_ttfamily: { \CJKfamily { SCmono } } \CJKfamily { SCmain } + \hook_gput_code:nnn { normalfont } { colorclass } { \CJKfamily{SCmain} } } \AddLanguageSetting [tchinese] { \cs_set:Nn \colorclass_cjk_sffamily: { \CJKfamily { TCsans } } \cs_set:Nn \colorclass_cjk_ttfamily: { \CJKfamily { TCmono } } \CJKfamily { TCmain } + \hook_gput_code:nnn { normalfont } { colorclass } { \CJKfamily{TCmain} } } \AddLanguageSetting [japanese] { \cs_set:Nn \colorclass_cjk_sffamily: { \CJKfamily { JPsans } } \cs_set:Nn \colorclass_cjk_ttfamily: { \CJKfamily { JPmono } } \CJKfamily { JPmain } + \hook_gput_code:nnn { normalfont } { colorclass } { \CJKfamily{JPmain} } } } diff --git a/Master/texmf-dist/tex/latex/colorist/colorart.cls b/Master/texmf-dist/tex/latex/colorist/colorart.cls index 278cf0f3358..4153a79860c 100644 --- a/Master/texmf-dist/tex/latex/colorist/colorart.cls +++ b/Master/texmf-dist/tex/latex/colorist/colorart.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {colorart} - {2023/07/14} {} + {2023/09/26} {} {A colorful article style} \tl_const:Nn \l__colorclass_base_class_tl { article } diff --git a/Master/texmf-dist/tex/latex/colorist/colorbook.cls b/Master/texmf-dist/tex/latex/colorist/colorbook.cls index 1c39ab987f7..9a27ceb8962 100644 --- a/Master/texmf-dist/tex/latex/colorist/colorbook.cls +++ b/Master/texmf-dist/tex/latex/colorist/colorbook.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {colorbook} - {2023/07/14} {} + {2023/09/26} {} {A colorful book style} \tl_const:Nn \l__colorclass_base_class_tl { book } diff --git a/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty b/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty index 1fddb04d17c..5323c9b8811 100644 --- a/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty +++ b/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {colorist-fancy} - {2023/07/14} {} + {2023/09/26} {} {The fancy style of colorist} \IfPackageLoadedTF { colorist } {} @@ -498,17 +498,21 @@ \setlist{noitemsep, topsep=.33\topsep-.5\parskip} \setlist[enumerate]{labelsep=*, leftmargin=*} \setlist[enumerate,1]{label = \normalfont\arabic*$\mskip-.5mu\big)$, - ref = \normalfont\color{.!45!paper}\arabic*$\mskip-.5mu\big)$} -\setlist[enumerate,2]{label = \normalfont\emph{\roman*}$\mskip-.5mu\big)$, - ref = \normalfont\color{.!45!paper}\arabic{enumi}.\emph{\roman*}$\mskip-.5mu\big)$} + ref = \normalfont\color{.!45!paper}\arabic*$\mskip-.5mu\big)$, + leftmargin= \l__colorist_item_indentation_dim + \maxof{\parindent}{1.5em} } + % labelindent= \l__colorist_item_indentation_dim } +\setlist[enumerate,2]{label = \normalfont\roman*$\mskip-.5mu\big)$, + ref = \normalfont\color{.!45!paper}\arabic{enumi}.\roman*$\mskip-.5mu\big)$} \setlist[enumerate,3]{label = \normalfont\emph{\alph*}$\mskip-.5mu\big)$, - ref = \normalfont\color{.!45!paper}\arabic{enumi}.\emph{\roman{enumii}}.\emph{\alph*}$\mskip-.5mu\big)$} -\setlist[description]{font=\normalfont\colorist_bfseries:} + ref = \normalfont\color{.!45!paper}\arabic{enumi}.\roman{enumii}.\emph{\alph*}$\mskip-.5mu\big)$} + +\setlist[description]{font=\normalfont\colorist_bfseries: , + labelindent= \l__colorist_item_indentation_dim } \renewlist{itemize}{itemize}{10} \setlist[itemize]{leftmargin=*,label=\textcolor{.!27!paper}{$\cdot$}} -\AddLanguageSetting { \setlist[itemize,1]{label=\textcolor{.!27!paper}{$\bullet$},leftmargin=\maxof{\parindent}{1.5em}} } -\AddLanguageSetting [french] { \setlist[itemize,1]{label=\textcolor{.!39!paper}{\rule[.2\baselineskip]{.8em}{.75pt}},leftmargin=\maxof{\parindent}{1.5em}} } +\AddLanguageSetting { \setlist[itemize,1]{label=\textcolor{.!27!paper}{$\bullet$},leftmargin= \l__colorist_item_indentation_dim + \maxof{\parindent}{1.5em}} } +\AddLanguageSetting [french] { \setlist[itemize,1]{label=\textcolor{.!39!paper}{\rule[.2\baselineskip]{.8em}{.75pt}},leftmargin= \l__colorist_item_indentation_dim + \maxof{\parindent}{1.5em} } } \setlist[itemize,2]{label=\textcolor{.!27!paper}{\rule[.2\baselineskip]{.55em}{.75pt}}} \setlist[itemize,3]{label=\textcolor{.!27!paper}{$\circ$}} \setlist[itemize,4]{label=\textcolor{.!27!paper}{$\ast$}} @@ -709,6 +713,17 @@ heading_suffix "}\n" {\color{main-text!50!paper}\thmnote{\hspace{.4em}$($#3$)$}} }}\hbox{\strut}\vspace{0pt}}} } + \newtheoremstyle{simple-var} + {}{} + { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{} + {\normalfont}{} + {0pt} + { + \rlap{\vbox{\hbox{\parbox{\linewidth}{ + {\thmname{#1}\thmnumber{\nobreakspace #2}} + {\color{main-text!50!paper}\thmnote{\hspace{.4em}$($#3$)$}} + }}\hbox{\strut}\vspace{0pt}}} + } } { \newtheoremstyle{simple} @@ -718,6 +733,13 @@ heading_suffix "}\n" {0pt} {{\thmname{#1}\nobreakspace\thmnumber{#2}} {\color{main-text!50!paper}\thmnote{\hspace{.4em}$($#3$)$}}\nobreakspace\nobreakspace{\normalfont\textcolor{main-text!27!paper}{---}}\nobreakspace\nobreakspace} + \newtheoremstyle{simple-var} + {}{} + { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{} + {\normalfont}{} + {0pt} + {{\thmname{#1}\nobreakspace\thmnumber{#2}} + {\color{main-text!50!paper}\thmnote{\hspace{.4em}$($#3$)$}}\nobreakspace\nobreakspace{\normalfont\textcolor{main-text!27!paper}{---}}\nobreakspace\nobreakspace} } \newcommand{\customqedsymbol}{ @@ -737,10 +759,28 @@ heading_suffix "}\n" \thmnote{\normalfont\sffamily\color{main-text}\nobreakspace(#3)} }}\hbox{\strut}\vspace{0pt}}} } + \newtheoremstyle{basic-var} + {}{} + { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{} + {}{} + {0pt} + { + \rlap{\vbox{\hbox{\parbox{\linewidth}{ + {\thmname{#1}\nobreakspace\thmnumber{\textup{#2}}} + \thmnote{\normalfont\sffamily\color{main-text}\nobreakspace(#3)} + }}\hbox{\strut}\vspace{0pt}}} + } } { \newtheoremstyle{basic} - {0pt}{0pt}{\normalfont}{0pt} + {0pt}{0pt} + {\normalfont}{0pt} + {}{\;}{0.25em} + {{\thmname{#1}\nobreakspace\thmnumber{\textup{#2}}} + \thmnote{\normalfont\sffamily\color{main-text}\nobreakspace(#3)}} + \newtheoremstyle{basic-var} + {0pt}{0pt} + { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{0pt} {}{\;}{0.25em} {{\thmname{#1}\nobreakspace\thmnumber{\textup{#2}}} \thmnote{\normalfont\sffamily\color{main-text}\nobreakspace(#3)}} @@ -799,6 +839,7 @@ heading_suffix "}\n" theorem style = { , remark = emphasis , observation = emphasis + , theorem = basic-var, lemma = basic-var, proposition = basic-var, corollary = basic-var, property = basic-var, axiom = basic-var, construction = basic-var, theorem-with-name = basic-var } } { projlib-theorem } diff --git a/Master/texmf-dist/tex/latex/colorist/colorist.sty b/Master/texmf-dist/tex/latex/colorist/colorist.sty index b750f4d1ef4..d9019557c23 100644 --- a/Master/texmf-dist/tex/latex/colorist/colorist.sty +++ b/Master/texmf-dist/tex/latex/colorist/colorist.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {colorist} - {2023/07/14} {} + {2023/09/26} {} {A colorful style for articles and books} \keys_define:nn { colorist } @@ -56,6 +56,25 @@ , runin .bool_set:N = \l__colorist_runin_bool , runin .initial:n = { false } + , indent-items .dim_set:N = \l__colorist_item_indentation_dim + , indent-items .initial:n = { 0pt } + , indent-items .default:n = { \parindent } + , indent~items .dim_set:N = \l__colorist_item_indentation_dim + , indent~items .default:n = { \parindent } + , indent items .dim_set:N = \l__colorist_item_indentation_dim + , indent items .default:n = { \parindent } + , indent-lists .dim_set:N = \l__colorist_item_indentation_dim + , indent-lists .default:n = { \parindent } + , indent~lists .dim_set:N = \l__colorist_item_indentation_dim + , indent~lists .default:n = { \parindent } + , indent lists .dim_set:N = \l__colorist_item_indentation_dim + , indent lists .default:n = { \parindent } + + , emphasis-theorems .bool_set:N = \l__colorist_emphasis_theorem_bool + , emphasis-theorems .initial:n = { false } + , emphasis~theorems .bool_set:N = \l__colorist_emphasis_theorem_bool + , emphasis theorems .bool_set:N = \l__colorist_emphasis_theorem_bool + , theorem-in-new-line .bool_set:N = \l__colorist_theorem_in_new_line_bool , theorem-in-new-line .initial:n = { false } , theorem~in~new~line .bool_set:N = \l__colorist_theorem_in_new_line_bool diff --git a/Master/texmf-dist/tex/latex/einfart/einfart.cls b/Master/texmf-dist/tex/latex/einfart/einfart.cls index fe78ffcbff8..7f3514badda 100644 --- a/Master/texmf-dist/tex/latex/einfart/einfart.cls +++ b/Master/texmf-dist/tex/latex/einfart/einfart.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {einfart} - {2023/09/21} {} + {2023/09/26} {} {A simple and clear article style} \tl_const:Nn \l__minimclass_base_class_tl { article } @@ -410,8 +410,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -475,8 +475,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -540,8 +540,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -608,18 +608,21 @@ \cs_set:Nn \minimclass_cjk_sffamily: { \CJKfamily { SCsans } } \cs_set:Nn \minimclass_cjk_ttfamily: { \CJKfamily { SCmono } } \CJKfamily { SCmain } + \hook_gput_code:nnn { normalfont } { minimclass } { \CJKfamily{SCmain} } } \AddLanguageSetting [tchinese] { \cs_set:Nn \minimclass_cjk_sffamily: { \CJKfamily { TCsans } } \cs_set:Nn \minimclass_cjk_ttfamily: { \CJKfamily { TCmono } } \CJKfamily { TCmain } + \hook_gput_code:nnn { normalfont } { minimclass } { \CJKfamily{TCmain} } } \AddLanguageSetting [japanese] { \cs_set:Nn \minimclass_cjk_sffamily: { \CJKfamily { JPsans } } \cs_set:Nn \minimclass_cjk_ttfamily: { \CJKfamily { JPmono } } \CJKfamily { JPmain } + \hook_gput_code:nnn { normalfont } { minimclass } { \CJKfamily{JPmain} } } % \tl_gset:Nn \g_minimalist_title_font_common_tl { \minimclass_cjk_sffamily: } diff --git a/Master/texmf-dist/tex/latex/lebhart/lebhart.cls b/Master/texmf-dist/tex/latex/lebhart/lebhart.cls index 1e4e760f702..d36b7718d10 100644 --- a/Master/texmf-dist/tex/latex/lebhart/lebhart.cls +++ b/Master/texmf-dist/tex/latex/lebhart/lebhart.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {lebhart} - {2023/07/14} {} + {2023/09/26} {} {A colorful article style} \tl_const:Nn \l__colorclass_base_class_tl { article } @@ -392,8 +392,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -457,8 +457,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -522,8 +522,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -590,18 +590,21 @@ \cs_set:Nn \colorclass_cjk_sffamily: { \CJKfamily { SCsans } } \cs_set:Nn \colorclass_cjk_ttfamily: { \CJKfamily { SCmono } } \CJKfamily { SCmain } + \hook_gput_code:nnn { normalfont } { colorclass } { \CJKfamily{SCmain} } } \AddLanguageSetting [tchinese] { \cs_set:Nn \colorclass_cjk_sffamily: { \CJKfamily { TCsans } } \cs_set:Nn \colorclass_cjk_ttfamily: { \CJKfamily { TCmono } } \CJKfamily { TCmain } + \hook_gput_code:nnn { normalfont } { colorclass } { \CJKfamily{TCmain} } } \AddLanguageSetting [japanese] { \cs_set:Nn \colorclass_cjk_sffamily: { \CJKfamily { JPsans } } \cs_set:Nn \colorclass_cjk_ttfamily: { \CJKfamily { JPmono } } \CJKfamily { JPmain } + \hook_gput_code:nnn { normalfont } { colorclass } { \CJKfamily{JPmain} } } } diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist-classical.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist-classical.sty index 22304137f1a..5c935bcbdc2 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist-classical.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist-classical.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {minimalist-classical} - {2023/09/25} {} + {2023/09/26} {} {The "classical" style of minimalist} \IfPackageLoadedTF { minimalist } {} diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist-flow.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist-flow.sty index 5a3a6d34ed8..3f1c2715159 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist-flow.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist-flow.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {minimalist-flow} - {2023/09/25} {} + {2023/09/26} {} {The "flow" style of minimalist} \IfPackageLoadedTF { minimalist } {} diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty index e13c1a202b5..94a7920a63a 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {minimalist-plain} - {2023/09/25} {} + {2023/09/26} {} {The "plain" style of minimalist} \IfPackageLoadedTF { minimalist } {} diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist-stream.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist-stream.sty index 6cd01bde457..958e96e75c8 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist-stream.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist-stream.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {minimalist-stream} - {2023/09/25} {} + {2023/09/26} {} {The "stream" style of minimalist} \IfPackageLoadedTF { minimalist } {} diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist.sty index c970e8b7017..81d7e8095c4 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {minimalist} - {2023/09/25} {} + {2023/09/26} {} {A simple and clear style for articles and books} \keys_define:nn { minimalist } diff --git a/Master/texmf-dist/tex/latex/minimalist/minimart.cls b/Master/texmf-dist/tex/latex/minimalist/minimart.cls index 1d58f80e468..e6257793f06 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimart.cls +++ b/Master/texmf-dist/tex/latex/minimalist/minimart.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {minimart} - {2023/09/25} {} + {2023/09/26} {} {A simple and clear article style} \tl_const:Nn \l__minimclass_base_class_tl { article } diff --git a/Master/texmf-dist/tex/latex/minimalist/minimbook.cls b/Master/texmf-dist/tex/latex/minimalist/minimbook.cls index ca98fb5e38b..724b7029b6e 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimbook.cls +++ b/Master/texmf-dist/tex/latex/minimalist/minimbook.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {minimbook} - {2023/09/25} {} + {2023/09/26} {} {A simple and clear book style} \tl_const:Nn \l__minimclass_base_class_tl { book } diff --git a/Master/texmf-dist/tex/latex/simplivre/simplivre.cls b/Master/texmf-dist/tex/latex/simplivre/simplivre.cls index a12190f60b1..5bf6da66ddc 100644 --- a/Master/texmf-dist/tex/latex/simplivre/simplivre.cls +++ b/Master/texmf-dist/tex/latex/simplivre/simplivre.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {simplivre} - {2023/09/21} {} + {2023/09/26} {} {A simple and clear book style} \tl_const:Nn \l__minimclass_base_class_tl { book } @@ -410,8 +410,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -475,8 +475,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -540,8 +540,8 @@ [ UprightFont = *-Regular, BoldFont = *-Bold, - ItalicFont = *-Regular, - BoldItalicFont = *-Bold, + ItalicFont = *-ExtraLight, + BoldItalicFont = *-SemiBold, ] } { @@ -608,18 +608,21 @@ \cs_set:Nn \minimclass_cjk_sffamily: { \CJKfamily { SCsans } } \cs_set:Nn \minimclass_cjk_ttfamily: { \CJKfamily { SCmono } } \CJKfamily { SCmain } + \hook_gput_code:nnn { normalfont } { minimclass } { \CJKfamily{SCmain} } } \AddLanguageSetting [tchinese] { \cs_set:Nn \minimclass_cjk_sffamily: { \CJKfamily { TCsans } } \cs_set:Nn \minimclass_cjk_ttfamily: { \CJKfamily { TCmono } } \CJKfamily { TCmain } + \hook_gput_code:nnn { normalfont } { minimclass } { \CJKfamily{TCmain} } } \AddLanguageSetting [japanese] { \cs_set:Nn \minimclass_cjk_sffamily: { \CJKfamily { JPsans } } \cs_set:Nn \minimclass_cjk_ttfamily: { \CJKfamily { JPmono } } \CJKfamily { JPmain } + \hook_gput_code:nnn { normalfont } { minimclass } { \CJKfamily{JPmain} } } % \tl_gset:Nn \g_minimalist_title_font_common_tl { \minimclass_cjk_sffamily: } |