From 5b4a8ed3322c251337fd0e442980f606790cb743 Mon Sep 17 00:00:00 2001 From: konsthol Date: Fri, 12 Jan 2024 02:14:02 +0200 Subject: [PATCH] better ignores --- Thesis.cls | 15 ++++++++++++--- Thesis.tex | 6 +++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/Thesis.cls b/Thesis.cls index 783739f..69b20df 100644 --- a/Thesis.cls +++ b/Thesis.cls @@ -306,14 +306,13 @@ \bigskip {\huge{\textgreek{\textbf{Abstract}}} \par} \bigskip - \bigskip {\normalsize School of Engineering \par} {\normalsize Department of Information and Communication Systems Engineering \par} \bigskip {\normalsize Undergraduate Studies \par} \bigskip {\normalsize \textbf{Container Engine and Operating System Hardening in Linux Environments} \par} - \medskip + \bigskip {\normalsize of Cholidis Konstantinos \par} \bigskip \end{center} @@ -347,7 +346,6 @@ } \renewcommand\listoffigures{ \btypeout{Λίστα Εικόνων} -\addtotoc{Λίστα Εικόνων} \begin{spacing}{1}{ \setlength{\parskip}{1pt} \if@twocolumn @@ -381,6 +379,16 @@ \cleardoublepage }\end{spacing} } + +% Adjusts the listoflistings title at the same height as the rest +\usepackage{etoolbox} +\let\l@listing\l@figure +\let\listoflistings\listoffigures +\patchcmd{\listoflistings}{lof}{lol}{}{} +\patchcmd{\listoflistings}{\listfigurename}{\listoflistingscaption}{}{} +\patchcmd{\listoflistings}{\listfigurename}{\listoflistingscaption}{}{} +\patchcmd{\listoflistings}{\listfigurename}{\listoflistingscaption}{}{} + \newcommand\listsymbolname{Συντομογραφίες} \usepackage{longtable} \newcommand\listofsymbols[2]{ @@ -392,6 +400,7 @@ \begin{longtable}[c]{#1}#2\end{longtable}\par \cleardoublepage } + \newcommand\listconstants{Φυσικές Σταθερές} \usepackage{longtable} \newcommand\listofconstants[2]{ diff --git a/Thesis.tex b/Thesis.tex index 5511bc9..b9e3e64 100644 --- a/Thesis.tex +++ b/Thesis.tex @@ -61,8 +61,9 @@ Dennis Ritchie (1941 - 2011) %% ---------------------------------------------------------------- % The Abstract Page - \input{Abstract/abstract} % Include the abstract page +\mbox{} +\vspace{-8pt} \input{Abstract/abstractenglish} % Include the abstract page in english %% ---------------------------------------------------------------- @@ -70,6 +71,8 @@ Dennis Ritchie (1941 - 2011) \setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed) % The Acknowledgements page, for thanking everyone +\mbox{} +\vspace{-35pt} \acknowledgements{ \addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics @@ -99,6 +102,7 @@ Dennis Ritchie (1941 - 2011) %% ---------------------------------------------------------------- \lhead{\textgreek{Κατάλογος Σχημάτων}} % Set the left side page header to "List if Figures" +\addtotoc{Λίστα Σχημάτων} \listoffigures % Write out the List of Figures %% ----------------------------------------------------------------