[no message]

This commit is contained in:
2024-01-20 18:20:32 +02:00
parent c17b014610
commit f5e1bd6baf
5 changed files with 31 additions and 100 deletions

View File

@@ -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}