16 lines
495 B
TeX

%
% 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]{\enpointy{\ref{#1} \nameref{#1}}}
% Will do a word-by-word citation-style, text italic, and in quotes
\newcommand{\quotecite}[1]{\enquote{\textit{#1}}}