You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.6 KiB
70 lines
2.6 KiB
% Packages used
|
|
|
|
% Used for flexibility, so other types of documents can have their own preambles (e.g. presentations)
|
|
\usepackage[subpreambles=true]{standalone}
|
|
|
|
% Paper size and margins
|
|
\usepackage[a4paper, top=2.5cm, bottom=2.5cm, left=2.2cm, right=2.2cm]{geometry}
|
|
|
|
% --- Languages & Fonts ---
|
|
\usepackage{polyglossia}
|
|
\input{misc/polyglossia-setup}
|
|
\usepackage{fontawesome5}
|
|
|
|
% --- Styling ---
|
|
\PassOptionsToPackage{hyphens}{url}
|
|
\usepackage[bookmarksnumbered]{hyperref} % Extensive support for hypertext
|
|
\usepackage{authblk} % Support for footnote style author/affiliation
|
|
\usepackage{enumitem} % For item lists
|
|
\usepackage{custom-packages/greek-enumerate} % Greek enumeration for ordered item lists
|
|
\usepackage{float} % For \begin{figure}[H]
|
|
\usepackage[font={footnotesize, it}]{caption} % For captions under figures
|
|
\usepackage[bottom]{footmisc}
|
|
\DeclareCaptionLabelFormat{AppendixAFigures}{Στιγμιότυπο Corcordia Α.#2}
|
|
\DeclareCaptionLabelFormat{AppendixBTables}{Πίνακας B.#2}
|
|
\usepackage{tabularx} % Support for break lines inside table cells
|
|
\usepackage{multirow, booktabs} % Useful table styling commands
|
|
\usepackage[flushleft]{threeparttable} % Table footnotes
|
|
\usepackage[dvipsnames, table]{xcolor} % Text colors
|
|
\definecolor{gray1}{gray}{0.85}
|
|
\definecolor{gray2}{gray}{0.9}
|
|
\usepackage{minted} % Source code highlighting (make sure to add -shell-escape flag!)
|
|
\usepackage [autostyle]{csquotes}
|
|
\usepackage{tcolorbox} % Colored boxes
|
|
\tcbuselibrary{minted} % Make tcolorbox work with minted
|
|
\usepackage{graphicx}
|
|
\usepackage{appendix} % Appendix helpers
|
|
\usepackage[onehalfspacing]{setspace}
|
|
|
|
% --- titlesec ---
|
|
\usepackage{titlesec}
|
|
\titlespacing*{\section}{0pt}{2\baselineskip}{\baselineskip}
|
|
|
|
% --- fancyhdr ---
|
|
\usepackage{fancyhdr}
|
|
\pagestyle{fancy}
|
|
\fancyhead[L]{\nouppercase{\rightmark}}
|
|
\fancyhead[R]{\nouppercase{\leftmark}}
|
|
\setlength{\headheight}{15pt}
|
|
|
|
% --- TikZ and UML diagrams ---
|
|
\usepackage{pgf-umlsd}
|
|
|
|
% --- Bibliography ---
|
|
\usepackage[sorting=none]{biblatex}
|
|
|
|
% --- Custom commands ---
|
|
\input{custom-commands/custom-title-page}
|
|
\input{custom-commands/custom-lists}
|
|
\input{custom-commands/custom-listings}
|
|
\input{custom-commands/custom-logos}
|
|
\input{custom-commands/custom-enumitem}
|
|
\input{custom-commands/srs-commands}
|
|
\input{custom-commands/use-case-commands}
|
|
\input{custom-commands/custom-spheading}
|
|
\input{custom-commands/appendix-overrides}
|
|
\input{custom-commands/appendix-code-stats}
|
|
|
|
% --- Custom styles ---
|
|
\renewcommand{\arraystretch}{1.2} % Streches the table row height so text is not crammed between the lines
|
|
\MakeOuterQuote{"} % For csquotes package
|