summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/se2thesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-27 21:57:32 +0000
committerKarl Berry <karl@freefriends.org>2023-01-27 21:57:32 +0000
commit4b24486cd087dda79d55741c9b69fb7e294e0bdd (patch)
tree1895e10826a76b432a9f6aa11fbcf5b87fa9fc96 /Master/texmf-dist/source/latex/se2thesis
parent99669706cc43d7cd292672c98ef84f27cb4a23e0 (diff)
se2thesis (27jan23)
git-svn-id: svn://tug.org/texlive/trunk@65645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/se2thesis')
-rw-r--r--Master/texmf-dist/source/latex/se2thesis/se2colors.dtx2
-rw-r--r--Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx8
-rw-r--r--Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx52
3 files changed, 51 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx b/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx
index b27f659f248..5fa39c0c343 100644
--- a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx
+++ b/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx
@@ -231,7 +231,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {se2colors} {2023-01-10} {2.0.0}
+\ProvidesExplPackage {se2colors} {2023-01-27} {2.1.0}
{A colour support package for the se2thesis bundle}
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx b/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx
index d78fbe95718..0743d85cbc5 100644
--- a/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx
+++ b/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx
@@ -101,9 +101,9 @@
%
% The following list provides examples for each of the fonts:
% \begin{itemize}
-% \item {\fontspec{Libertinus Serif}An example text in Libertinus Serif}
-% \item {\fontspec{Libertinus Sans}An example text in Libertinus Sans}
-% \item {\fontspec{Anonymous Pro}An example text in Anonymous Pro}
+% \item {\fontspec{LibertinusSerif}An example text in Libertinus Serif}
+% \item {\fontspec{LibertinusSans}An example text in Libertinus Sans}
+% \item {\fontspec{AnonymousPro}An example text in Anonymous Pro}
% \end{itemize}
%
% The package provides additional helper functions
@@ -159,7 +159,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {se2fonts} {2023-01-10} {2.0.0}
+\ProvidesExplPackage {se2fonts} {2023-01-27} {2.1.0}
{A font-selection support package for the se2thesis bundle}
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx
index 12e77ce2f77..525d5518694 100644
--- a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx
+++ b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx
@@ -721,7 +721,7 @@
%
% Identify the class and give the overall version number.
% \begin{macrocode}
-\ProvidesExplClass {se2thesis} {2023-01-10} {2.0.0}
+\ProvidesExplClass {se2thesis} {2023-01-27} {2.1.0}
{A thesis class for the Chair of Software Engineering II}
% \end{macrocode}
%
@@ -1565,6 +1565,42 @@
% \end{macrocode}
% \end{macro}
%
+% \subsection{Styling of the sectioning commans}
+%
+% We change the formatting of the chapter, section, and sub-section headings.
+% \begin{macrocode}
+\addtokomafont{chapterprefix}{\raggedleft\bfseries}
+\addtokomafont{chapter}{\mdseries}
+\addtokomafont{section}{\large\mdseries}
+\addtokomafont{subsection}{\normalsize\mdseries}
+\renewcommand*{\chapterformat}{%
+ \mbox{%
+ \scalebox{1.3}{\chapappifchapterprefix{\nobreakspace}}%
+ \scalebox{3.5}{\color{UPSE2-Gray}\thechapter\autodot}\enskip%
+ }%
+}
+\renewcommand*{\chapterlineswithprefixformat}[3]{%
+ \Ifstr{#1}{chapter}
+ {#2\textls*[75]{\MakeUppercase{#3}}}% change definition for chapter
+ {#2#3}% original definition
+}%
+\renewcommand*{\sectionlinesformat}[4]{%
+ #3\textls*[75]{\MakeUppercase{#4}}%
+}
+% \end{macrocode}
+%
+% Change the loop of a \cmd{\paragraph} to be italic and end with a full stop.
+% \begin{macrocode}
+\setkomafont{paragraph}{\normalsize\normalfont\itshape}
+\AddtoDoHook{heading/endgroup/paragraph}{\headingdot}
+\newcommand*{\headingdot}[1]{.}
+% \end{macrocode}
+%
+% Change the width of a dictum
+% \begin{macrocode}
+\renewcommand*{\dictumwidth}{0.42\linewidth}
+% \end{macrocode}
+%
% \subsection{Provide an environment for abstracts}
%
% We want to allow abstracts in German and English, which is also a requirement
@@ -1631,13 +1667,17 @@
% \subsection{Document structuring macros}
%
% Ensure that these macros are defined.
+% These are the exact definitions from \KOMAScript.
+% \begin{macrocode}
+\newif\if@mainmatter\@mainmattertrue
+% \end{macrocode}
% \begin{macro}{\frontmatter}
% Starts the frontmatter.
% Most notably, set the page numbers to roman.
% \begin{macrocode}
\providecommand*{\frontmatter}
{
- \if@twoside\cleardoublepage\else\clearpage\fi
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi
\@mainmatterfalse
\pagenumbering { roman }
}
@@ -1649,13 +1689,13 @@
% \begin{macrocode}
\providecommand*{\mainmatter}
{
- \if@twoside\cleardoublepage\else\clearpage\fi
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi
\@mainmattertrue
\pagenumbering { arabic }
}
\providecommand*{\backmatter}
{
- \if@twoside\cleardoublepage\else\clearpage\fi
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi
\@mainmatterfalse
}
% \end{macrocode}
@@ -1795,7 +1835,7 @@
% We provide the following English translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{English}{se2translations}[2023/01/10]
+\ProvideDictionaryFor{English}{se2translations}[2023/01/27]
\ProvideDictTranslation{abstract}{abstract}
\ProvideDictTranslation{Abstract}{Abstract}
\ProvideDictTranslation{acknowledgement}{acknowledgement}
@@ -1846,7 +1886,7 @@
% We provide the following German translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{German}{se2translations}[2023/01/10]
+\ProvideDictionaryFor{German}{se2translations}[2023/01/27]
\ProvideDictTranslation{abstract}{Zusammenfassung}
\ProvideDictTranslation{Abstract}{Zusammenfassung}
\ProvideDictTranslation{acknowledgement}{Danksagung}