Skip to content
Snippets Groups Projects
Commit e1e4358d authored by Tereza Vrabcová's avatar Tereza Vrabcová
Browse files

Added macros for summary in econ.dtx and phil.dtx

parent 81009cb6
No related branches found
No related tags found
No related merge requests found
...@@ -310,7 +310,26 @@ ...@@ -310,7 +310,26 @@
\thesis@@{bib@year}: & \thesis@year \\ \thesis@@{bib@year}: & \thesis@year \\
\end{thesis@newtable@old}}} \end{thesis@newtable@old}}}
% \end{macrocode} % \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@summary}
% \changes{v1.0.0}{2021/03/11}{Macro for the summary was added. [TV]}
% The |\thesis@blocks@summary| macro typesets the summary
% for doctoral theses. If the thesis type is not doctoral, the
% macro produces no output.
% \begin{macrocode}
\thesis@def@extra[{
\thesis@placeholder@extra@summary
}]{summary}
\def\thesis@blocks@summary{%
\begin{alwayssingle}%
\thesis@blocks@clear
{\let\thesis@blocks@clear\relax
\chapter*{\thesis@@{summaryTitle}}}%
\noindent\thesis@extra@summary
\end{alwayssingle}}
% \end{macrocode}
% \end{macro} % \end{macro}
%
% Note that there is no direct support for the seminar paper and % Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents % thesis proposal types. If you would like to change the contents
% of the preamble and the postamble, you should modify the % of the preamble and the postamble, you should modify the
...@@ -338,8 +357,11 @@ ...@@ -338,8 +357,11 @@
% All blocks within the autolayout postamble that are not defined % All blocks within the autolayout postamble that are not defined
% within this file are defined in the \texttt{style/mu/base.sty} % within this file are defined in the \texttt{style/mu/base.sty}
% file. % file.
% \changes{v1.0.0}{2021/03/11}{Added conditional to include summary
% in doctoral theses. [TV]}
% \begin{macrocode} % \begin{macrocode}
\def\thesis@blocks@postamble{% \def\thesis@blocks@postamble{%
\ifx\thesis@doctoral\thesis@type\thesis@blocks@summary\else\fi
\thesis@blocks@bibliography \thesis@blocks@bibliography
\thesis@blocks@tables} \thesis@blocks@tables}
% \end{macrocode} % \end{macrocode}
...@@ -70,7 +70,26 @@ ...@@ -70,7 +70,26 @@
{\thesis@titlePage@large\\[0.3in] {\thesis@titlePage@large\\[0.3in]
{\bf\thesis@@{advisorTitle}:} \thesis@advisor}} {\bf\thesis@@{advisorTitle}:} \thesis@advisor}}
% \end{macrocode} % \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@summary}
% \changes{v1.0.0}{2021/03/11}{Macro for the summary was added. [TV]}
% The |\thesis@blocks@summary| macro typesets the summary
% for doctoral theses. If the thesis type is not doctoral, the
% macro produces no output.
% \begin{macrocode}
\thesis@def@extra[{
\thesis@placeholder@extra@summary
}]{summary}
\def\thesis@blocks@summary{%
\begin{alwayssingle}%
\thesis@blocks@clear
{\let\thesis@blocks@clear\relax
\chapter*{\thesis@@{summaryTitle}}}%
\noindent\thesis@extra@summary
\end{alwayssingle}}
% \end{macrocode}
% \end{macro} % \end{macro}
%
% Note that there is no direct support for the seminar paper and % Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents % thesis proposal types. If you would like to change the contents
% of the preamble and the postamble, you should modify the % of the preamble and the postamble, you should modify the
...@@ -88,6 +107,8 @@ ...@@ -88,6 +107,8 @@
% \end{macrocode} % \end{macrocode}
% In KISK theses, the bibliographical entry, the abstract, and the % In KISK theses, the bibliographical entry, the abstract, and the
% keywords will be included after the cover matter. % keywords will be included after the cover matter.
% \changes{v1.0.0}{2021/03/11}{Added conditional to add summary for
% doctoral theses. [TV]}
% \begin{macrocode} % \begin{macrocode}
\ifx\thesis@department\thesis@departments@kisk \ifx\thesis@department\thesis@departments@kisk
\thesis@blocks@bibEntry \thesis@blocks@bibEntry
...@@ -97,6 +118,7 @@ ...@@ -97,6 +118,7 @@
\thesis@blocks@keywordsEn \thesis@blocks@keywordsEn
\fi \fi
\thesis@blocks@declaration \thesis@blocks@declaration
\ifx\thesis@doctoral\thesis@type\thesis@blocks@summary\else\fi
\thesis@blocks@thanks \thesis@blocks@thanks
% \end{macrocode} % \end{macrocode}
% In KISK theses, the lists of tables and figures will be included % In KISK theses, the lists of tables and figures will be included
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment