texlive[64531] Master/texmf-dist: se2thesis (27sep22)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 27 22:32:48 CEST 2022
Revision: 64531
http://tug.org/svn/texlive?view=revision&revision=64531
Author: karl
Date: 2022-09-27 22:32:48 +0200 (Tue, 27 Sep 2022)
Log Message:
-----------
se2thesis (27sep22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf
trunk/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf
trunk/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx
trunk/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty
trunk/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty
trunk/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls
trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl
trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl
Modified: trunk/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md 2022-09-27 20:32:48 UTC (rev 64531)
@@ -7,6 +7,16 @@
## [Unreleased]
+## [v1.1.1] - 2022-09-27
+
+### Fixed
+
+- Neo Euler needs to be loaded as a upright math font
+
+### Updated
+
+- Fonts get now scaled automatically when using LuaTeX
+
## [v1.1.0] - 2022-09-12
### Added
@@ -21,4 +31,5 @@
### Added
- First official release
+[v1.1.1]: https://github.com/se2p/se2thesis/compare/1.1.0...v1.1.1
[v1.1.0]: https://github.com/se2p/se2thesis/compare/1.0.0...v1.1.0
Modified: trunk/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx 2022-09-27 20:32:48 UTC (rev 64531)
@@ -301,13 +301,10 @@
%
% Before we start with a detailed documentation of the class, we explain one
% helper macro that can be used to check whether a package has been loaded.
-% \begin{function}
-% {
-% \slcd_package_if_loaded:nTF,
-% \slcd_package_if_loaded:nT,
-% \slcd_package_if_loaded:nF,
-% \slcd_package_if_loaded_p:n
-% }
+% \begin{function}[EXP, pTF, updated = 2022-09-27]{\slcd_package_if_loaded:}
+% \begin{syntax}
+% |\slcd_package_if_loaded:TF| \Arg{true code} \Arg{false code}
+% \end{syntax}
% Checks whether a package has been loaded and conditionally executes code.
% \end{function}
%
@@ -921,7 +918,7 @@
% The following option is defined by the \pkg{se2fonts} package
% to influence the selection of the fonts.
%
-% \begin{function}{fontmode}
+% \begin{function}[updated = 2022-09-27]{fontmode}
% \begin{syntax}
% |fontmode| = \meta{choice}
% \end{syntax}
@@ -933,6 +930,9 @@
% |auto| selects fonts automatically,
% preferring the |original| fonts if available.
% The default is |auto|.
+%
+% The fonts are automatically scaled based on their lower-case characters
+% using the mechanisms provided by \pkg{fontspec} when using \LuaTeX.
% \end{function}
%
% The following list provides examples for each of the fonts:
@@ -1052,7 +1052,7 @@
%
% Identify the class and give the overall version number.
% \begin{macrocode}
-\ProvidesExplClass {se2thesis} {2022-09-12} {1.1.0}
+\ProvidesExplClass {se2thesis} {2022-09-27} {1.1.1}
{A thesis class for the Chair of Software Engineering II}
% \end{macrocode}
%
@@ -2144,7 +2144,7 @@
% We provide the following English translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{English}{se2translations}[2022/09/12]
+\ProvideDictionaryFor{English}{se2translations}[2022/09/27]
\ProvideDictTranslation{abstract}{abstract}
\ProvideDictTranslation{Abstract}{Abstract}
\ProvideDictTranslation{acknowledgement}{acknowledgement}
@@ -2193,7 +2193,7 @@
% We provide the following German translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{German}{se2translations}[2022/09/12]
+\ProvideDictionaryFor{German}{se2translations}[2022/09/27]
\ProvideDictTranslation{abstract}{Zusammenfassung}
\ProvideDictTranslation{Abstract}{Zusammenfassung}
\ProvideDictTranslation{acknowledgement}{Danksagung}
@@ -2252,7 +2252,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {se2colors} {2022-09-12} {1.1.0}
+\ProvidesExplPackage {se2colors} {2022-09-27} {1.1.1}
{A colour support package for the se2thesis bundle}
% \end{macrocode}
%
@@ -2358,7 +2358,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {se2fonts} {2022-09-12} {1.1.0}
+\ProvidesExplPackage {se2fonts} {2022-09-27} {1.1.1}
{A font-selection support package for the se2thesis bundle}
% \end{macrocode}
%
@@ -2457,6 +2457,12 @@
\RequirePackage{fontspec}
\RequirePackage{unicode-math}
% \end{macrocode}
+% To make sure the scaling of the fonts matches, we let \pkg{fontspec} do this
+% matching based on the lower-case characters.
+% \begin{macrocode}
+ \defaultfontfeatures{ Scale = MatchLowercase }
+ \defaultfontfeatures[\rmfamily]{ Scale = 1 }
+% \end{macrocode}
%
% The user wants to have the |original| fonts,
% which are Palatino, Optima, MesloLGS Nerd Font Mono, and Neo Euler.
@@ -2463,10 +2469,10 @@
% \begin{macrocode}
\tl_if_eq:NnT \l_@@_fontmode_tl {original}
{
- \setmainfont{Palatino}[Ligatures=TeX]
- \setsansfont{Optima}[Ligatures=TeX]
+ \setmainfont{Palatino}
+ \setsansfont{Optima}
\setmonofont{MesloLGS Nerd Font Mono}
- \setmathfont{Neo Euler}[Ligatures=TeX]
+ \setmathfont{Neo Euler}[math-style=upright]
}
% \end{macrocode}
%
@@ -2476,10 +2482,10 @@
% \begin{macrocode}
\tl_if_eq:NnT \l_@@_fontmode_tl {replacement}
{
- \setmainfont{TeX Gyre Pagella}[Ligatures=TeX]
- \setsansfont{TeX Gyre Heros}[Ligatures=TeX, Scale=0.9]
- \setmonofont{Fira Code}[Ligatures=TeX]
- \setmathfont{TeX Gyre Pagella Math}[Ligatures=TeX]
+ \setmainfont{TeX Gyre Pagella}
+ \setsansfont{TeX Gyre Heros}
+ \setmonofont{Fira Code}
+ \setmathfont{TeX Gyre Pagella Math}
\setmathfont{Latin Modern Math}[range={\mathcal,\mathbb}]
}
% \end{macrocode}
@@ -2494,18 +2500,18 @@
\tl_if_eq:NnT \l_@@_fontmode_tl {auto}
{
\IfFontExistsTF { Palatino }
- { \setmainfont{Palatino}[Ligatures=TeX] }
- { \setmainfont{TeX Gyre Pagella}[Ligatures=TeX] }
+ { \setmainfont{Palatino} }
+ { \setmainfont{TeX Gyre Pagella} }
\IfFontExistsTF { Optima }
- { \setsansfont{Optima}[Ligatures=TeX] }
- { \setsansfont{TeXGyre Heros}[Ligatures=TeX] }
+ { \setsansfont{Optima} }
+ { \setsansfont{TeXGyre Heros} }
\IfFontExistsTF{ MesloLGS Nerd Font Mono }
{ \setmonofont{MesloLGS Nerd Font Mono} }
- { \setmonofont{Fira Code}[Scale=0.85] }
+ { \setmonofont{Fira Code} }
\IfFontExistsTF { Neo Euler }
- { \setmathfont{Neo Euler}[Ligatures=TeX] }
+ { \setmathfont{Neo Euler}[math-style=upright] }
{
- \setmathfont{TeX Gyre Pagella Math}[Ligatures=TeX]
+ \setmathfont{TeX Gyre Pagella Math}
\setmathfont{Latin Modern Math}[range={\mathcal,\mathbb}]
}
}
Modified: trunk/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty 2022-09-27 20:32:48 UTC (rev 64531)
@@ -41,7 +41,7 @@
\endinput
}%
\providecommand \IfFormatAtLeastTF { \@ifl at t@r \fmtversion }
-\ProvidesExplPackage {se2colors} {2022-09-12} {1.1.0}
+\ProvidesExplPackage {se2colors} {2022-09-27} {1.1.1}
{A colour support package for the se2thesis bundle}
\keys_define:nn { seiicolors }
{
Modified: trunk/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty 2022-09-27 20:32:48 UTC (rev 64531)
@@ -41,7 +41,7 @@
\endinput
}%
\providecommand \IfFormatAtLeastTF { \@ifl at t@r \fmtversion }
-\ProvidesExplPackage {se2fonts} {2022-09-12} {1.1.0}
+\ProvidesExplPackage {se2fonts} {2022-09-27} {1.1.1}
{A font-selection support package for the se2thesis bundle}
\keys_define:nn { seiifonts }
{
@@ -92,36 +92,38 @@
{
\RequirePackage{fontspec}
\RequirePackage{unicode-math}
+ \defaultfontfeatures{ Scale = MatchLowercase }
+ \defaultfontfeatures[\rmfamily]{ Scale = 1 }
\tl_if_eq:NnT \l__slcd_fonts_fontmode_tl {original}
{
- \setmainfont{Palatino}[Ligatures=TeX]
- \setsansfont{Optima}[Ligatures=TeX]
+ \setmainfont{Palatino}
+ \setsansfont{Optima}
\setmonofont{MesloLGS Nerd Font Mono}
- \setmathfont{Neo Euler}[Ligatures=TeX]
+ \setmathfont{Neo Euler}[math-style=upright]
}
\tl_if_eq:NnT \l__slcd_fonts_fontmode_tl {replacement}
{
- \setmainfont{TeX Gyre Pagella}[Ligatures=TeX]
- \setsansfont{TeX Gyre Heros}[Ligatures=TeX, Scale=0.9]
- \setmonofont{Fira Code}[Ligatures=TeX]
- \setmathfont{TeX Gyre Pagella Math}[Ligatures=TeX]
+ \setmainfont{TeX Gyre Pagella}
+ \setsansfont{TeX Gyre Heros}
+ \setmonofont{Fira Code}
+ \setmathfont{TeX Gyre Pagella Math}
\setmathfont{Latin Modern Math}[range={\mathcal,\mathbb}]
}
\tl_if_eq:NnT \l__slcd_fonts_fontmode_tl {auto}
{
\IfFontExistsTF { Palatino }
- { \setmainfont{Palatino}[Ligatures=TeX] }
- { \setmainfont{TeX Gyre Pagella}[Ligatures=TeX] }
+ { \setmainfont{Palatino} }
+ { \setmainfont{TeX Gyre Pagella} }
\IfFontExistsTF { Optima }
- { \setsansfont{Optima}[Ligatures=TeX] }
- { \setsansfont{TeXGyre Heros}[Ligatures=TeX] }
+ { \setsansfont{Optima} }
+ { \setsansfont{TeXGyre Heros} }
\IfFontExistsTF{ MesloLGS Nerd Font Mono }
{ \setmonofont{MesloLGS Nerd Font Mono} }
- { \setmonofont{Fira Code}[Scale=0.85] }
+ { \setmonofont{Fira Code} }
\IfFontExistsTF { Neo Euler }
- { \setmathfont{Neo Euler}[Ligatures=TeX] }
+ { \setmathfont{Neo Euler}[math-style=upright] }
{
- \setmathfont{TeX Gyre Pagella Math}[Ligatures=TeX]
+ \setmathfont{TeX Gyre Pagella Math}
\setmathfont{Latin Modern Math}[range={\mathcal,\mathbb}]
}
}
Modified: trunk/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls 2022-09-27 20:32:48 UTC (rev 64531)
@@ -41,7 +41,7 @@
\endinput
}%
\providecommand \IfFormatAtLeastTF { \@ifl at t@r \fmtversion }
-\ProvidesExplClass {se2thesis} {2022-09-12} {1.1.0}
+\ProvidesExplClass {se2thesis} {2022-09-27} {1.1.1}
{A thesis class for the Chair of Software Engineering II}
\prg_new_conditional:Nnn \slcd_package_if_loaded:n { p, T, F, TF }
{
Modified: trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl 2022-09-27 20:32:48 UTC (rev 64531)
@@ -25,7 +25,7 @@
%% se2translations-german.trsl,
%% se2colors.sty, and
%% se2fonts.sty
-\ProvideDictionaryFor{English}{se2translations}[2022/09/12]
+\ProvideDictionaryFor{English}{se2translations}[2022/09/27]
\ProvideDictTranslation{abstract}{abstract}
\ProvideDictTranslation{Abstract}{Abstract}
\ProvideDictTranslation{acknowledgement}{acknowledgement}
Modified: trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl
===================================================================
--- trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl 2022-09-27 20:32:35 UTC (rev 64530)
+++ trunk/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl 2022-09-27 20:32:48 UTC (rev 64531)
@@ -25,7 +25,7 @@
%% se2translations-german.trsl,
%% se2colors.sty, and
%% se2fonts.sty
-\ProvideDictionaryFor{German}{se2translations}[2022/09/12]
+\ProvideDictionaryFor{German}{se2translations}[2022/09/27]
\ProvideDictTranslation{abstract}{Zusammenfassung}
\ProvideDictTranslation{Abstract}{Zusammenfassung}
\ProvideDictTranslation{acknowledgement}{Danksagung}
More information about the tex-live-commits
mailing list.