From f5e1bd6baf9ee51765203940d291030819ef0c67 Mon Sep 17 00:00:00 2001 From: konsthol Date: Sat, 20 Jan 2024 18:20:32 +0200 Subject: [PATCH] [no message] --- Chapters/2.Background.tex | 3 +- Chapters/5.ProjectShowcase.tex | 6 +- SettingsAndPackages/formatsAndDefs.tex | 85 ++++---------------------- Thesis.cls | 33 ++++------ Thesis_Cholidis.tex | 4 +- 5 files changed, 31 insertions(+), 100 deletions(-) diff --git a/Chapters/2.Background.tex b/Chapters/2.Background.tex index a9e77a3..8f6cd4d 100644 --- a/Chapters/2.Background.tex +++ b/Chapters/2.Background.tex @@ -1339,6 +1339,7 @@ migration and rollback attacks). Από την άλλη, όσον αφορά τ \renewcommand{\arraystretch}{1} \end{table} +% Same result but with 23 warning about wrong hline usage % \begin{table}[!ht] % \caption{Κατηγοριοποίηση απειλών στην εικονικοποίηση} % \renewcommand{\arraystretch}{1.5} @@ -1408,7 +1409,7 @@ migration and rollback attacks). Από την άλλη, όσον αφορά τ \begin{center} \begin{figure}[!ht] \centering - \includegraphics[width = .93\textwidth]{Figures/Enisa/enisaThreats.jpg} + \includegraphics[width = .9\textwidth]{Figures/Enisa/enisaThreats.jpg} \captionof{figure}{Πιθανά σημεία εμφάνισης τρωτοτήτων και οι απειλές που τους αντιστοιχούν} \label{fig:virtualizationThreats.png} \end{figure} diff --git a/Chapters/5.ProjectShowcase.tex b/Chapters/5.ProjectShowcase.tex index 96c0488..b7cc89a 100644 --- a/Chapters/5.ProjectShowcase.tex +++ b/Chapters/5.ProjectShowcase.tex @@ -264,7 +264,7 @@ python3 secdep.py --provider aws --listimages --print λίστα με τις διαθέσιμες εικόνες που μπορεί να χρησιμοποιήσει ο χρήστης για την δημιουργία εικονικών μηχανών. Έπειτα, με την επιλογή μιας από αυτές, θα εμφανιστούν πληροφορίες σχετικά με την εικόνα που επιλέχθηκε οι οποίες θα είναι -της μορφής που απεικονίζεται στο \ref{lst:secdep_image_info}. +της μορφής που απεικονίζεται παρακάτω. \clearpage @@ -272,8 +272,6 @@ python3 secdep.py --provider aws --listimages --print \begin{bashcode} \end{bashcode} -\caption{Πληροφορίες σχετικά με την εικόνα που επιλέχθηκε} -\label{lst:secdep_image_info} \vspace*{-10pt} \end{listing} @@ -297,8 +295,6 @@ python3 secdep.py --provider aws --listsizes --print \begin{bashcode} \end{bashcode} -\caption{Πληροφορίες σχετικά με το μέγεθος που επιλέχθηκε} -\label{lst:secdep_size_info} \vspace*{-10pt} \end{listing} diff --git a/SettingsAndPackages/formatsAndDefs.tex b/SettingsAndPackages/formatsAndDefs.tex index d3e80d0..3765c14 100644 --- a/SettingsAndPackages/formatsAndDefs.tex +++ b/SettingsAndPackages/formatsAndDefs.tex @@ -13,8 +13,6 @@ \catcode`\'=\active \def'{’} -% \usepackage[titles]{tocloft} - % Table configuration packages % Extending the array and tabular environments, Enhanced support for graphics \usepackage{array,graphicx} @@ -32,6 +30,7 @@ \usepackage{tcolorbox} % LaTeX support for the Text Companion fonts \usepackage{textcomp} +% Make landscape pages display as landscape \usepackage{pdflscape} % Select alternative section titles (Better chapter, section and subsection titles) @@ -42,10 +41,11 @@ \titleformat{\subsection}[hang]{\normalsize\bfseries}{\thesubsection}{0.5em}{} \titleformat{\subsubsection}[hang]{\normalsize\bfseries}{\thesubsubsection}{0.5em}{} \titlespacing{\chapter}{-5pt}{-0.9cm}{1cm} % How low the chapter title is -% Better formatting of the chapter names in the table of contents -\usepackage{titletoc} -% \newcommand{\chaptitlefont}[1]{{\bfseries\Large #1}} +% Better formatting of the chapter names in the table of contents +% \usepackage{titletoc} +% \newcommand{\chaptitlefont}[1]{{\bfseries\Large #1}} +% Bellow caused invidible overfull hbox % Bellow is the same as the default settings but with : between the number and the title % \titlecontents{chapter}% level to be modified % [0pt]{\addvspace{0.3cm}}% @@ -67,9 +67,8 @@ \usepackage{footnote} % For footcite in tables % A range of footnote options \usepackage[bottom]{footmisc} % For footcite to be at the bottom of the page -% \fancyhfinit{\mdseries\rmfamily} % Header font -% Fix caption font +% Fix caption font but not "Σχήμα" and "Πίνακας" \usepackage{caption} \DeclareCaptionFont{myfont}{\selectlanguage{greek}\selectfont} \captionsetup{textfont=myfont} @@ -84,91 +83,31 @@ \DefineBibliographyStrings{greek}{ backrefpage={\textgreek{Αναφορά: σελίδα}}, backrefpages={\textgreek{Αναφορά: σελίδες}}, - urlseen = {\textgreek{Ανακτήθηκε}}, + urlseen = {\textgreek{Επίσκεψη}}, } -%%% Print url and doi in a new line when on the bibliography page +% https://tex.stackexchange.com/questions/29802/biblatex-and-new-line-for-doi-url-and-eprint +% Print url and doi in a new line when on the bibliography page \newbibmacro*{bbx:parunit}{% \ifbibliography {\setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \clearlist{pageref}% \setunit{\par\nobreak}} -% \setunit{\adddot\par\nobreak}} {}} -% \renewbibmacro*{doi+eprint+url}{% -% \usebibmacro{bbx:parunit}% Added -% \iftoggle{bbx:doi} -% {\printfield{doi}} -% {}% -% \iftoggle{bbx:eprint} -% {\usebibmacro{eprint}} -% {}% -% \iftoggle{bbx:url} -% {\usebibmacro{url+urldate}} -% {}} - -% \renewbibmacro*{eprint}{% -% \usebibmacro{bbx:parunit}% Added -% \iffieldundef{eprinttype} -% {\printfield{eprint}} -% {\printfield[eprint:\strfield{eprinttype}]{eprint}}} - \renewbibmacro*{url+urldate}{% \usebibmacro{bbx:parunit}% Added \printfield{url} \printurldate - %\iffieldundef{urlyear} - % {} -% {\setunit*{\addspace} - % \printtext[urldate]{\printurldate} -% {\printurldate} -% } +% Space here is needed for the access date to be printed in a new line. Unfortunately it also adds a space in the footfullcite } - -% \renewbibmacro*{urldate}{% -% \usebibmacro{bbx:parunit}% Added -% \printfield{doi}% -% \iffieldundef{urlyear} -% {} -% %{\setunit*{\addspace}% -% % \printtext[urldate]{\printurldate} -% {\\\printurldate} -% } -% } - -% Add date seen bellow everything to not have overfull warning -% \DeclareFieldFormat{urldate}{\mkbibparens{\bibstring{urlseen}\space#1}} - \DeclareFieldFormat[inproceedings]{pages}{#1} % to not have "Στο σελίδες" in inproceedings -%%% - -%%%% - -% \newbibmacro*{cite:ibid}{% -% \printtext{% -% \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{% -% \bibstring[\mkibid]{ibidem}}}% -% \ifloccit -% {\global\toggletrue{cbx:loccit}} -% {}} -% -% \renewbibmacro*{cite:ibid}{% -% \printtext{% -% \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{% -% \ifloccit -% {\bibstring[\mkibid]{ibidem}% -% \global\toggletrue{cbx:loccit}} -% {\bibstring[\mkibid]{idem\thefield{gender}}}}}} - -%%%% - \renewcommand{\listoflistingscaption}{Κατάλογος Εντολών} -\renewcommand{\listingscaption}{Οδηγία} +\renewcommand{\listingscaption}{\textgreek{Εντολή}} \newminted{bash}{style=sas,breaklines,frame=lines} @@ -181,7 +120,7 @@ % Make sure to load hyperref last of your loaded packages, and that hypertexnames is true so % that bibliography backreferences work properly. \AtEndPreamble{\RequirePackage{hyperref}} -\hypersetup{hypertexnames=true, urlcolor=black, colorlinks=false, pdfborder = {0 0 0}} % Colours hyperlinks in blue +\hypersetup{hypertexnames=true, urlcolor=black, colorlinks=false, pdfborder = {0 0 0}} % Colours hyperlinks in black % Define enumerated description lists % Control layout of itemize, enumerate, description \usepackage{enumitem} diff --git a/Thesis.cls b/Thesis.cls index d42f932..f0e3abb 100644 --- a/Thesis.cls +++ b/Thesis.cls @@ -26,7 +26,7 @@ \usepackage{polyglossia} \usepackage{fontspec} -% \defaultfontfeatures{Ligatures=TeX} +% \defaultfontfeatures{Ligatures=TeX} % probably default behaviour \setmainfont{CMU Serif} \setsansfont{CMU Sans Serif} \setmonofont{CMU Typewriter Text} @@ -60,28 +60,19 @@ \onehalfspacing \setlength{\parindent}{20pt} % Changed from 0pt \setlength{\parskip}{2.0ex plus0.5ex minus0.2ex} -% \usepackage{vmargin,showframe} -% \setmarginsrb { 0.9in} % left margin % changed from 1.5in -% { 0.6in} % top margin -% { 0.8in} % right margin % changed from 1.0in -% { 0.8in} % bottom margin -% { 20pt} % head height -% {0.25in} % head sep -% { 9pt} % foot height -% { 0.3in} % foot sep \usepackage{geometry} \geometry{ a4paper, % showframe, - left=0.9in, - top=0.6in, - right=0.8in, - bottom=0.8in, - headheight=20pt, - headsep=0.25in, - foot=9pt, - footskip=0.3in, + left=0.9in, % left margin % changed from 1.5in + top=0.6in, % top margin + right=0.8in, % right margin % changed from 1.0in + bottom=0.8in, % bottom margin + headheight=20pt, % head height + headsep=0.25in, % head sep + foot=9pt, % foot height + footskip=0.3in, % foot sep includeheadfoot } @@ -117,7 +108,8 @@ \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} -\usepackage[centerlast,small,sc]{caption} +% \usepackage[centerlast,small,sc]{caption} % caused small caps in caption category +\usepackage{caption} \setlength{\captionmargin}{20pt} \renewcommand{\topfraction}{0.85} \renewcommand{\bottomfraction}{.85} @@ -194,9 +186,10 @@ {Επιβλέπων Καθηγητής:} \href{https://www.icsd.aegean.gr/profile.php?member=2112}{Δρ. Κρητικός Κυριάκος}\\ {Αναπληρωτής Καθηγητής Τμήματος ΜΠΕΣ}\\ + \vspace{10pt} {Μέλη εξεταστικής επιτροπής:} \vfill - \href{https://www.icsd.aegean.gr/profile.php?member=one}{κάποιος,} + \href{https://www.icsd.aegean.gr/profile.php?member=one}{κάποιος,}\hskip 3em \href{https://www.icsd.aegean.gr/profile.php?member=two}{κάποιος άλλος} } {Supervising Proffessor's name and committee member's names} diff --git a/Thesis_Cholidis.tex b/Thesis_Cholidis.tex index d10245e..7a96fbd 100644 --- a/Thesis_Cholidis.tex +++ b/Thesis_Cholidis.tex @@ -5,8 +5,10 @@ % Set up the document \documentclass[a4paper, 12pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn -% \documentclass[draft, a4paper, 12pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn +% For testing purposes +% \documentclass[draft, a4paper, 12pt, oneside]{Thesis} % \overfullrule=5pt + % \renewcommand\bfdefault{b} \input{SettingsAndPackages/formatsAndDefs} % Include settings and custom commands