2021-10-28 09:42:13 +02:00
|
|
|
%
|
|
|
|
% Custom macros
|
|
|
|
%
|
|
|
|
|
|
|
|
% Will encapsule a text in italic << >>
|
|
|
|
\newcommand{\enpointy}[1]{\emph{\textlangle\textlangle{#1}\textrangle\textrangle}}
|
|
|
|
|
|
|
|
% Will add a vertical line to tables
|
|
|
|
\newcommand{\tblVline}{\vline\hspace{2mm}}
|
|
|
|
|
|
|
|
% Will do a full reference, with both a number AND a caption. Like '1.2.3 Coding the code'
|
|
|
|
\newcommand{\fullref}[1]{\ref{#1} \nameref{#1}}
|
2021-10-28 10:18:20 +02:00
|
|
|
|
|
|
|
% Bibliography formatting
|
|
|
|
% #1 -> authors
|
|
|
|
% #2 -> title
|
|
|
|
% #3 -> publishing city
|
|
|
|
% #4 -> publisher
|
|
|
|
% #5 -> year of release
|
|
|
|
\newcommand{\bibformat}[5] {
|
|
|
|
#1: \textit{#2}. #3: #4, #5
|
|
|
|
}
|