mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-23 19:17:54 +00:00
structure.tex: Added new packages babel and datetime2
This commit is contained in:
parent
108daa3a0c
commit
4aab86a277
|
@ -20,12 +20,10 @@
|
||||||
\usepackage{titlepic}
|
\usepackage{titlepic}
|
||||||
\usepackage[nottoc]{tocbibind}
|
\usepackage[nottoc]{tocbibind}
|
||||||
\usepackage{url}
|
\usepackage{url}
|
||||||
|
\usepackage{babel}
|
||||||
|
\usepackage[showisoZ]{datetime2}
|
||||||
|
|
||||||
\bibliographystyle{unsrtnat} % styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles
|
\bibliographystyle{unsrtnat} %styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles
|
||||||
|
|
||||||
\geometry{a4paper,margin=2cm}
|
|
||||||
\setlength{\columnsep}{1.5cm}
|
|
||||||
\setlength{\headheight}{15pt}
|
|
||||||
|
|
||||||
|
|
||||||
% Path where images are located relative
|
% Path where images are located relative
|
||||||
|
@ -38,7 +36,7 @@
|
||||||
% 1. Low-quality JPG
|
% 1. Low-quality JPG
|
||||||
% 2. Med-quality PNG
|
% 2. Med-quality PNG
|
||||||
% 3. High-quality PDF
|
% 3. High-quality PDF
|
||||||
\DeclareGraphicsExtensions{.jpg,.png,.pdf,.svg}
|
\DeclareGraphicsExtensions{.jpg,.png,.pdf}
|
||||||
|
|
||||||
% Define fancy header and footer
|
% Define fancy header and footer
|
||||||
\pagestyle{fancy}
|
\pagestyle{fancy}
|
||||||
|
@ -48,17 +46,10 @@
|
||||||
\fancyfoot[CE,CO]{\leftmark}
|
\fancyfoot[CE,CO]{\leftmark}
|
||||||
\fancyfoot[LE,RO]{\thepage}
|
\fancyfoot[LE,RO]{\thepage}
|
||||||
|
|
||||||
% width of header and footer rule is by default 0px.
|
|
||||||
\renewcommand{\headrulewidth}{2pt}
|
|
||||||
\renewcommand{\footrulewidth}{1pt}
|
|
||||||
|
|
||||||
% Use the roman numeric system for pagenumbers
|
% Use the roman numeric system for pagenumbers
|
||||||
\pagenumbering{roman}
|
\pagenumbering{roman}
|
||||||
|
|
||||||
\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm}
|
|
||||||
\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm}
|
|
||||||
|
|
||||||
|
|
||||||
\subimport{.}{commands} % Import user-defined commands
|
\subimport{.}{commands} % Import user-defined commands
|
||||||
|
|
||||||
\input{layout/color} %user-defined colors
|
\input{layout/color} %user-defined colors
|
||||||
|
@ -81,4 +72,14 @@
|
||||||
showtabs=false,
|
showtabs=false,
|
||||||
tabsize=4
|
tabsize=4
|
||||||
}
|
}
|
||||||
\lstset{style=mystyle}
|
|
||||||
|
\renewcommand{\headrulewidth}{2pt} %width of header line is by default 0px.
|
||||||
|
\renewcommand{\footrulewidth}{1pt} %width of footer line is by default 0px.
|
||||||
|
\geometry{a4paper,margin=2cm}
|
||||||
|
\setlength{\columnsep}{1.5cm} %space between columns
|
||||||
|
\setlength{\headheight}{15pt}
|
||||||
|
\setlength{\footnotesep}{0.5cm} %space between footnotes:
|
||||||
|
\setlength{\skip\footins}{2cm} %space between the text body and the footnotes
|
||||||
|
\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm}
|
||||||
|
\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm}
|
||||||
|
\lstset{style=mystyle} %apply lst styling
|
Loading…
Reference in a new issue