summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/se2thesis/se2thesis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/se2thesis/se2thesis.dtx')
-rw-r--r--macros/latex/contrib/se2thesis/se2thesis.dtx37
1 files changed, 30 insertions, 7 deletions
diff --git a/macros/latex/contrib/se2thesis/se2thesis.dtx b/macros/latex/contrib/se2thesis/se2thesis.dtx
index 3dfcf6a352..7764429e06 100644
--- a/macros/latex/contrib/se2thesis/se2thesis.dtx
+++ b/macros/latex/contrib/se2thesis/se2thesis.dtx
@@ -607,7 +607,7 @@
%
% Identify the class and give the overall version number.
% \begin{macrocode}
-\ProvidesExplClass {se2thesis} {2024-05-27} {4.0.3}
+\ProvidesExplClass {se2thesis} {2024-06-07} {4.1.0}
{A thesis class for the Chair of Software Engineering II}
% \end{macrocode}
%
@@ -1622,12 +1622,35 @@
% The \env{summary} environment expects a label and has the summary text in
% its content.
% \begin{macrocode}
-\NewDocumentEnvironment { summary } { m }
- { \begin{tcolorbox}[title={Summary~ (#1)}] }
- { \end{tcolorbox} }
+\ExplSyntaxOff
+\NewDocumentEnvironment { summary } { m +b }
+ {%
+ \begin{tcolorbox}[%
+ size=fbox,%
+ rounded corners=all,%
+ attach title to upper,%
+ coltitle=black,%
+ fonttitle=\bfseries,%
+ title={Summary #1},
+ after title={:\ },
+ ]
+ #2
+ } {%
+ \end{tcolorbox}%
+ }
+\ExplSyntaxOn
% \end{macrocode}
% \end{environment}
-%
+% \begin{macro}{\summarybox}
+% The \cmd{summarybox} macro simplifies the usage of the \env{summary}
+% environment.
+% \begin{macrocode}
+\NewDocumentCommand { \summarybox } { m m }
+ {
+ \begin{summary}{#1} #2 \end{summary}
+ }
+% \end{macrocode}
+% \end{macro}
%
%
%
@@ -1655,7 +1678,7 @@
% We provide the following English translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{English}{se2translations}[2024/05/27]
+\ProvideDictionaryFor{English}{se2translations}[2024/06/07]
\ProvideDictTranslation{abstract}{abstract}
\ProvideDictTranslation{Abstract}{Abstract}
\ProvideDictTranslation{acknowledgement}{acknowledgement}
@@ -1706,7 +1729,7 @@
% We provide the following German translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{German}{se2translations}[2024/05/27]
+\ProvideDictionaryFor{German}{se2translations}[2024/06/07]
\ProvideDictTranslation{abstract}{Zusammenfassung}
\ProvideDictTranslation{Abstract}{Zusammenfassung}
\ProvideDictTranslation{acknowledgement}{Danksagung}