commit 6422730aa3fdafdee41987d80b3e2995ddc71f71
parent 7220de39990f8d8036fe8531d20e9959eaa90fc2
Author: Silas Brack <s174433@student.dtu.dk>
Date: Mon, 2 Jan 2023 00:50:15 +0100
Re-enabled marginfix.
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kao.sty b/kao.sty
@@ -414,7 +414,7 @@
\extrafloats{100} % Require more floats
\RequirePackage{marginnote} % Provides options for margin notes
-% \RequirePackage{marginfix} % Make marginpars float freely; it should not be loaded as it prevents the marginnotes to stay aligned with the main text
+\RequirePackage{marginfix} % Make marginpars float freely; it should not be loaded as it prevents the marginnotes to stay aligned with the main text
\RequirePackage{sidenotes} % Use sidenotes
\RequirePackage{chngcntr} % Reset counters at sections
@@ -564,10 +564,10 @@
\setlength\columnseprule{.4pt} % Set the width of vertical rules in tables
-% The marginfix package prevents the margin notes to stay aligned with the main text, so it cannot be used. However, we define the \marginskip command, which is the only command we need from that package.
-\newcommand\marginskip[1]{%
- \marginpar{\@margin@par\vspace{#1 - \baselineskip}}% We subtract the \baselineskip that we have in margin pars.
-}
+% % The marginfix package prevents the margin notes to stay aligned with the main text, so it cannot be used. However, we define the \marginskip command, which is the only command we need from that package.
+% \newcommand\marginskip[1]{%
+% \marginpar{\@margin@par\vspace{#1 - \baselineskip}}% We subtract the \baselineskip that we have in margin pars.
+% }
\newlength{\kaomarginskipabove} % Specify the space above a marginfigure, margintable or marginlisting
\newlength{\kaomarginskipbelow} % Specify the space below a marginfigure, margintable or marginlisting