mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-26 19:27:57 +00:00
structure.tex: New user commmands and changes to tables and settings
This commit is contained in:
parent
42510f34f0
commit
93396cc27f
|
@ -1,5 +1,4 @@
|
||||||
% Latex Packages
|
% Latex Packages
|
||||||
\usepackage{import}
|
|
||||||
\usepackage[T1]{fontenc}
|
\usepackage[T1]{fontenc}
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage{lmodern}
|
\usepackage{lmodern}
|
||||||
|
@ -26,6 +25,9 @@
|
||||||
%\usepackage{titling}
|
%\usepackage{titling}
|
||||||
\usepackage{transparent}
|
\usepackage{transparent}
|
||||||
\usepackage{soul}
|
\usepackage{soul}
|
||||||
|
\usepackage{caption}
|
||||||
|
\usepackage{enumitem}
|
||||||
|
\usepackage{amssymb}
|
||||||
|
|
||||||
|
|
||||||
\bibliographystyle{unsrtnat} %styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles
|
\bibliographystyle{unsrtnat} %styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles
|
||||||
|
@ -67,7 +69,7 @@
|
||||||
\pagenumbering{roman}
|
\pagenumbering{roman}
|
||||||
|
|
||||||
|
|
||||||
\subimport{.}{commands} % Import user-defined commands
|
\input{commands} % Import user-defined commands
|
||||||
|
|
||||||
|
|
||||||
\input{layout/color} %user-defined colors
|
\input{layout/color} %user-defined colors
|
||||||
|
@ -100,4 +102,29 @@
|
||||||
\setlength{\skip\footins}{2cm} %space between the text body and the footnotes
|
\setlength{\skip\footins}{2cm} %space between the text body and the footnotes
|
||||||
\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm}
|
\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm}
|
||||||
\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm}
|
\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm}
|
||||||
\lstset{style=mystyle} %apply lst styling
|
\lstset{style=mystyle} %apply lst styling
|
||||||
|
|
||||||
|
|
||||||
|
\renewcommand{\familydefault}{\sfdefault}
|
||||||
|
|
||||||
|
|
||||||
|
\DeclareCaptionFormat{myformat}{%
|
||||||
|
% #1: label (e.g. "Table 1")
|
||||||
|
% #2: separator (e.g. ": ")
|
||||||
|
% #3: caption text
|
||||||
|
\begin{varwidth}{\linewidth}%
|
||||||
|
\centering
|
||||||
|
#1#2#3%
|
||||||
|
\end{varwidth}%
|
||||||
|
}
|
||||||
|
\captionsetup{format=myformat}% global activation
|
||||||
|
|
||||||
|
|
||||||
|
\newlist{todolist}{itemize}{2}
|
||||||
|
\setlist[todolist]{label=$\square$}
|
||||||
|
\usepackage{pifont}
|
||||||
|
\newcommand{\cmark}{\ding{51}}%
|
||||||
|
\newcommand{\xmark}{\ding{55}}%
|
||||||
|
\newcommand{\done}{\rlap{$\square$}{\raisebox{2pt}{\large\hspace{1pt}\cmark}}%
|
||||||
|
\hspace{-2.5pt}}
|
||||||
|
\newcommand{\wontfix}{\rlap{$\square$}{\large\hspace{1pt}\xmark}}
|
||||||
|
|
Loading…
Reference in a new issue