diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-28 03:07:17 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-28 03:07:17 +0000 |
commit | 47f9bcb9721388f6d98bf3b04ecd5fadc571b221 (patch) | |
tree | 512da8fb4d3c6b8b5ca5df5dc685e92976536a8c /macros/latex/contrib/se2thesis | |
parent | 358efc294299fa1b336a63da305121fb8b71447b (diff) |
CTAN sync 202209280307
Diffstat (limited to 'macros/latex/contrib/se2thesis')
-rw-r--r-- | macros/latex/contrib/se2thesis/CHANGELOG.md | 11 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf | bin | 1122539 -> 1122712 bytes | |||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis.dtx | 60 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis.pdf | bin | 359017 -> 363881 bytes |
4 files changed, 44 insertions, 27 deletions
diff --git a/macros/latex/contrib/se2thesis/CHANGELOG.md b/macros/latex/contrib/se2thesis/CHANGELOG.md index bb8eb4203a..a3756a9ad9 100644 --- a/macros/latex/contrib/se2thesis/CHANGELOG.md +++ b/macros/latex/contrib/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/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf Binary files differindex 00a3448be2..17fe44423f 100644 --- a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf +++ b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf diff --git a/macros/latex/contrib/se2thesis/se2thesis.dtx b/macros/latex/contrib/se2thesis/se2thesis.dtx index 9efc2d8542..d48480fb21 100644 --- a/macros/latex/contrib/se2thesis/se2thesis.dtx +++ b/macros/latex/contrib/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/macros/latex/contrib/se2thesis/se2thesis.pdf b/macros/latex/contrib/se2thesis/se2thesis.pdf Binary files differindex 5687c4fd80..23642453ad 100644 --- a/macros/latex/contrib/se2thesis/se2thesis.pdf +++ b/macros/latex/contrib/se2thesis/se2thesis.pdf |