diff options
Diffstat (limited to 'macros/latex/contrib/se2thesis')
-rw-r--r-- | macros/latex/contrib/se2thesis/CHANGELOG.md | 11 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2colors.dtx | 2 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2fonts.dtx | 2 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2packages.dtx | 4 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf | bin | 231059 -> 232557 bytes | |||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex | 15 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis.dtx | 76 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis.pdf | bin | 350351 -> 359300 bytes |
8 files changed, 84 insertions, 26 deletions
diff --git a/macros/latex/contrib/se2thesis/CHANGELOG.md b/macros/latex/contrib/se2thesis/CHANGELOG.md index 600f16953b..f5a4f80ded 100644 --- a/macros/latex/contrib/se2thesis/CHANGELOG.md +++ b/macros/latex/contrib/se2thesis/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to ## [Unreleased] +## [v3.4.0] – 2024–04–20 + +### Added +- Fix the referencing with cleveref's `\cref` etc. for the `resq` (research + questions) and `hyp` (hypotheses) environments + (see [#8](https://github.com/se2p/se2thesis/issues/8)) +- Add the thesis type `phdphil` for a PhD thesis in philosophy. +- Add section to documentation that the template is also available from Overleaf. + ## [v3.3.1] – 2024–02–23 ### Changed @@ -176,6 +185,8 @@ These changes might be breaking changes! ### Added - First official release +[Unreleased]: https://github.com/se2p/se2thesis/compare/v3.4.0...HEAD +[v3.4.0]: https://github.com/se2p/se2thesis/compare/v3.4.0...v3.3.1 [v3.3.1]: https://github.com/se2p/se2thesis/compare/v3.3.1...v3.3.0 [v3.3.0]: https://github.com/se2p/se2thesis/compare/v3.3.0...v3.2.0 [v3.2.0]: https://github.com/se2p/se2thesis/compare/v3.2.0...v3.1.0 diff --git a/macros/latex/contrib/se2thesis/se2colors.dtx b/macros/latex/contrib/se2thesis/se2colors.dtx index 97d57ee682..cec581f2e3 100644 --- a/macros/latex/contrib/se2thesis/se2colors.dtx +++ b/macros/latex/contrib/se2thesis/se2colors.dtx @@ -231,7 +231,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2colors} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2colors} {2024-04-20} {3.4.0} {A colour support package for the se2thesis bundle} % \end{macrocode} % diff --git a/macros/latex/contrib/se2thesis/se2fonts.dtx b/macros/latex/contrib/se2thesis/se2fonts.dtx index 938c24d1f7..9e86b3a24d 100644 --- a/macros/latex/contrib/se2thesis/se2fonts.dtx +++ b/macros/latex/contrib/se2thesis/se2fonts.dtx @@ -151,7 +151,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2fonts} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2fonts} {2024-04-20} {3.4.0} {A font-selection support package for the se2thesis bundle} % \end{macrocode} % diff --git a/macros/latex/contrib/se2thesis/se2packages.dtx b/macros/latex/contrib/se2thesis/se2packages.dtx index 8e29a96906..4cdae1d105 100644 --- a/macros/latex/contrib/se2thesis/se2packages.dtx +++ b/macros/latex/contrib/se2thesis/se2packages.dtx @@ -443,7 +443,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2packages} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2packages} {2024-04-20} {3.4.0} {Supporting packages for the se2thesis bundle} % \end{macrocode} % @@ -881,6 +881,8 @@ \AddToHook { begindocument/before } { \RequirePackage[capitalise]{cleveref} + \Crefname{resq}{Research Question}{Research Questions} + \Crefname{hyp}{Hypothesis}{Hypotheses} } } % \end{macrocode} 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 cdfb050e29..a58ba8209f 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-master-thesis-example.tex b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex index 15000000b2..4f10ae80f5 100644 --- a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex +++ b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex @@ -44,6 +44,10 @@ \institute{Chair of Example} \location{Passau} +\usepackage[capitalise]{cleveref} +%\crefname{resq}{research question}{research questions} +\Crefname{resq}{Research Question}{Research Questions} + \begin{document} \frontmatter @@ -72,13 +76,18 @@ \section{Further Examples} -We could reference the \TeX{} book~\autocite{Knu86}. +We could reference the \TeX{} book~\autocite{Knu86}. And we want to reference +\cref{rq:1} and \cref{hyp:1} here. -\begin{resq} +\begin{resq}\label{rq:1} What is \(41 + 1\)? \end{resq} -\begin{summary}{Research Question 1} +\begin{hyp}\label{hyp:1} + We hypothesise that the answer to \cref{rq:1} is 42! +\end{hyp} + +\begin{summary}{\Cref{rq:1}} It's 42, obviously! \end{summary} diff --git a/macros/latex/contrib/se2thesis/se2thesis.dtx b/macros/latex/contrib/se2thesis/se2thesis.dtx index 9bb167399c..c8888c343c 100644 --- a/macros/latex/contrib/se2thesis/se2thesis.dtx +++ b/macros/latex/contrib/se2thesis/se2thesis.dtx @@ -123,6 +123,27 @@ % thus also recent releases of \pkg{se2thesis} will be part of the image % soon after their release date. % +% \subsection{Availability on Overleaf}\label{sec:doc-intro-overleaf} +% +% Since April 3, 2024, the \pkg{se2thesis} document template is also available +% from Overleaf. The document that is in Overleafs gallery is based on the +% example document that comes with this package. Any Overleaf user can just +% create a new thesis document based on the template by clicking the respective +% button on Overleaf's gallery page. +% +% The gallery entry for \pkg{se2thesis} is available from +% \href{https://www.overleaf.com/latex/templates/se2thesis-a-thesis-class-for-the-chair-of-software-engineering-ii-at-the-university-of-passau-germany/fpymkmxmbgpc}{https://www.overleaf.com/latex/templates/se2thesis-a-thesis-class-for-the-chair-of-software-engineering-ii-at-the-university-of-passau-germany/fpymkmxmbgpc}.% +% +% \emph{Important remark:} Currently, the Overleaf template does not support +% \LuaLaTeX{} but requires builds with \pdfLaTeX. The reason is that Overleaf +% does not yet ship \TeXLive~2024, but only \TeXLive~2023, which does not +% provide the respective font package~(notably \pkg{inconsolata-nerd-font}). +% Until the latest \TeXLive{} will be available from Overleaf, one can only use +% the \pdfLaTeX{} mode, which has some drawbacks on the fonts, but works fine +% otherwise. From the Overleaf blog, we assume that \TeXLive~2024 might be +% available from some time in autumn 2024. We will update this documentation +% accordingly, as soon as the new version is available. +% % \subsection{General Macros}\label{sec:doc-intro-macros} % % They all have in common one macro, \cs{IfFormatAtLeastTF}; @@ -225,8 +246,8 @@ % |bachelor| for a bachelor thesis, |bachelorproposal| for a proposal to % a bachelor thesis, |master| for a master thesis, |masterproposal| for % a proposal to a master thesis, |phdproposal| for a proposal to a PhD thesis, -% |phd| for a PhD thesis in the natural sciences and |phdeng| for a PhD thesis -% in engineering. +% |phd| for a PhD thesis in the natural sciences, |phdeng| for a PhD thesis +% in engineering, and |phdphil| for a PhD thesis in philosophy. % \end{function} % % \begin{function}{colormode} @@ -586,7 +607,7 @@ % % Identify the class and give the overall version number. % \begin{macrocode} -\ProvidesExplClass {se2thesis} {2024-02-23} {3.3.1} +\ProvidesExplClass {se2thesis} {2024-04-20} {3.4.0} {A thesis class for the Chair of Software Engineering II} % \end{macrocode} % @@ -761,6 +782,7 @@ }, thesistype / phd .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phd}, thesistype / phdeng .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phdeng}, + thesistype / phdphil .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phdphil}, thesistype / phdproposal .code:n = { \tl_gset:Nn \l_@@_thesis_type_tl {phdproposal} }, @@ -1258,23 +1280,37 @@ in~ partial~ fulfillment~ of~ obtaining\\ the~ degree~ of~ a~ Doctor~ of~ Engineering } { - \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelor } - { \GetTranslation{Bachelor-thesis} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelorproposal } - { \GetTranslation{Bachelor-thesis-proposal} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { master } - { \GetTranslation{Master-thesis} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { masterproposal } - { \GetTranslation{Master-thesis-proposal} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { phdproposal } - { \GetTranslation{PhD-thesis-proposal} } - \tl_if_empty:NF \l_@@_degreeprogramme_tl + \tl_if_eq:NnTF \l_@@_thesis_type_tl { phdphil } { - \ in~\l_@@_degreeprogramme_tl + Dissertation~ zur~ Erlangung~ des~ Doktorgrades\\ + der~ Philosophie~ (Dr.\,phil.)\\ + eingereicht~ an~ der~ Fakultät~ für~ Informatik~ und~ Mathematik\\ + der~ Universität~ Passau\\ + \rule{\textwidth}{.1pt}\\ + Dissertation~ submitted~ to\\ + the~ Faculty~ of~ Computer~ Science~ and~ Mathematics\\ + of~ the~ University~ of~ Passau\\ + in~ partial~ fulfillment~ of~ obtaining\\ + the~ degree~ of~ a~ Doctor~ of~ Philosophy + } { + \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelor } + { \GetTranslation{Bachelor-thesis} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelorproposal } + { \GetTranslation{Bachelor-thesis-proposal} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { master } + { \GetTranslation{Master-thesis} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { masterproposal } + { \GetTranslation{Master-thesis-proposal} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { phdproposal } + { \GetTranslation{PhD-thesis-proposal} } + \tl_if_empty:NF \l_@@_degreeprogramme_tl + { + \ in~\l_@@_degreeprogramme_tl + } + \par + \tl_if_empty:NF \l_@@_department_tl { \l_@@_department_tl \par } + \tl_if_empty:NF \l_@@_institute_tl { \l_@@_institute_tl \par } } - \par - \tl_if_empty:NF \l_@@_department_tl { \l_@@_department_tl \par } - \tl_if_empty:NF \l_@@_institute_tl { \l_@@_institute_tl \par } } } \end{center}\par\bigskip @@ -1619,7 +1655,7 @@ % We provide the following English translations. % % \begin{macrocode} -\ProvideDictionaryFor{English}{se2translations}[2024/02/23] +\ProvideDictionaryFor{English}{se2translations}[2024/04/20] \ProvideDictTranslation{abstract}{abstract} \ProvideDictTranslation{Abstract}{Abstract} \ProvideDictTranslation{acknowledgement}{acknowledgement} @@ -1670,7 +1706,7 @@ % We provide the following German translations. % % \begin{macrocode} -\ProvideDictionaryFor{German}{se2translations}[2024/02/23] +\ProvideDictionaryFor{German}{se2translations}[2024/04/20] \ProvideDictTranslation{abstract}{Zusammenfassung} \ProvideDictTranslation{Abstract}{Zusammenfassung} \ProvideDictTranslation{acknowledgement}{Danksagung} diff --git a/macros/latex/contrib/se2thesis/se2thesis.pdf b/macros/latex/contrib/se2thesis/se2thesis.pdf Binary files differindex e83e4eeb21..263ffa53f0 100644 --- a/macros/latex/contrib/se2thesis/se2thesis.pdf +++ b/macros/latex/contrib/se2thesis/se2thesis.pdf |