diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-27 20:32:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-27 20:32:48 +0000 |
commit | c76b2aad9860c74fce4dc1b41b0271fc3b1e549e (patch) | |
tree | e04d84633826e7ad2b96a0bf384b2fb836902069 | |
parent | 651757fa87463094db70040de4ee07f4795eab0f (diff) |
se2thesis (27sep22)
git-svn-id: svn://tug.org/texlive/trunk@64531 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf | bin | 1122539 -> 1122712 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf | bin | 359017 -> 363881 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx | 60 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/se2thesis/se2colors.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty | 32 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl | 2 |
9 files changed, 65 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md index bb8eb4203a1..a3756a9ad9b 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to ## [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 @@ and this project adheres to ### 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 diff --git a/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf b/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf Binary files differindex 00a3448be2b..17fe44423f9 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf +++ b/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf diff --git a/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf b/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf Binary files differindex 5687c4fd804..23642453adb 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf +++ b/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf diff --git a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx index 9efc2d85420..d48480fb211 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx @@ -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,16 +2457,22 @@ \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. % \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}] } } diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty b/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty index bf9a7ce51a0..4506417149e 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty +++ b/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty @@ -41,7 +41,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@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 } { diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty b/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty index 1b7ea3a24c4..2e1fd8fa3c9 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty +++ b/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty @@ -41,7 +41,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@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}] } } diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls b/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls index d361f8affe9..6d67799c246 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls +++ b/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls @@ -41,7 +41,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@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 } { diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl b/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl index 4af1a053cac..30f8e2b7fa5 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl +++ b/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl @@ -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} diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl b/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl index 0239c9a9b29..62bfd8c5e5a 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl +++ b/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl @@ -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} |