diff --git a/docs/docs.pdf b/docs/docs.pdf index 6933854..71c9e7f 100644 Binary files a/docs/docs.pdf and b/docs/docs.pdf differ diff --git a/docs/parts/reference.tex b/docs/parts/reference.tex index cc41477..32ad8f5 100644 --- a/docs/parts/reference.tex +++ b/docs/parts/reference.tex @@ -94,6 +94,9 @@ General styling commands. All other commands, except these ones require at least \item \verb|\fhlc|\{\textit{color}\}\{\textit{string}\} Print \fhlc{ForestGreen}{bold, underlined text in a coloured box} \item \verb|\fhl|\{\textit{string}\} Print \fhl{bold, underlined text in a white box} \item \verb|\printtoc|\{\textit{color}\} Print the table of contents (as seen on the first page). The normal \verb|\tableofcontents| still works as expected + \item \verb|\smallhspace| Prints a 2mm hspace + \item \verb|\mediumhspace| Prints a 5mm hspace + \item \verb|\largehspace| Prints a 10mm = 1cm hspace \end{itemize} \newpage diff --git a/main/style/style.tex b/main/style/style.tex index 5888a0e..8136f02 100644 --- a/main/style/style.tex +++ b/main/style/style.tex @@ -76,6 +76,10 @@ % Add a colorbox around your text with the color specified. Text is bold and underlined \newcommand{\fhlc}[2]{\textbf{\underline{\colorbox{#1}{#2}}}} +% Spacing (horizontal) +\newcommand{\smallhspace}{\hspace{2mm}} +\newcommand{\mediumhspace}{\hspace{5mm}} +\newcommand{\largehspace}{\hspace{1cm}} % ----------------- % % Table of contents %