Files
latex/docs/parts/reference/style/intro.tex
Janis Hutz 3d6d6234de
Some checks failed
Build docs / build_docs (push) Successful in 31s
Build helpers / build_helpers (push) Failing after 4s
Add new space remove commands
2026-01-02 07:09:25 +01:00

20 lines
1.6 KiB
TeX

\newpage
\subsection{Style}
General styling commands. All other commands, except these ones require at least \texttt{most} to be the selected \textit{scope}
\begin{itemize}
\item \verb|\TODO| Print a highlighted \TODO
\item \verb|\background|\{\textit{color}\}\{\textit{number}\}\{\textit{string}\} Print \background{ForestGreen}{50}{shaded text, with colour saturation}
\item \verb|\shade|\{\textit{color}\}\{\textit{string}\} Print \shade{ForestGreen}{shaded text}
\item \verb|\backdrop|\{\textit{string}\} Print \backdrop{text with gray backdrop}
\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
\item \verb|\hrmvspace| Removes some of the vertical whitespace printed by environments like \verb|align| (0.5x compared to \verb|\rmvspace|)
\item \verb|\rmvspace| Removes some of the vertical whitespace printed by environments like \verb|align|
\item \verb|\mrmvspace| Removes some of the vertical whitespace printed by environments like \verb|align| (1.5x compared to \verb|\rmvspace|)
\item \verb|\drmvspace| Removes some of the vertical whitespace printed by environments like \verb|align| (2x compared to \verb|\rmvspace|)
\end{itemize}