From 3d6d6234de0a553f10da31a011b3e56a95990e67 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Fri, 2 Jan 2026 07:09:25 +0100 Subject: [PATCH] Add new space remove commands --- docs/parts/reference/style/intro.tex | 4 +++- main/style/style.tex | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/parts/reference/style/intro.tex b/docs/parts/reference/style/intro.tex index 758cbbe..f5eec5c 100644 --- a/docs/parts/reference/style/intro.tex +++ b/docs/parts/reference/style/intro.tex @@ -12,6 +12,8 @@ General styling commands. All other commands, except these ones require at least \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|\drmvspace| Removes some of the vertical whitespace printed by environments like \verb|align| (double the amount) + \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} diff --git a/main/style/style.tex b/main/style/style.tex index b49dba3..a148ede 100644 --- a/main/style/style.tex +++ b/main/style/style.tex @@ -56,7 +56,9 @@ } } } +\newcommand{\hrmvspace}{\vspace{-0.25pc}} \newcommand{\rmvspace}{\vspace{-0.5pc}} +\newcommand{\mrmvspace}{\vspace{-0.75pc}} \newcommand{\drmvspace}{\vspace{-1pc}} \renewcommand{\footrulewidth}{0.4pt} \newcommand{\TODO}{\color{red} \hl{TODO:} \color{black}}