Skip to content

Commit

Permalink
disable all section spacing modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Dec 9, 2023
1 parent ccf10fd commit f386210
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -679,39 +679,39 @@ $endif$

\ExplSyntaxOff

\RedeclareSectionCommand[
% runin=false,
afterindent=false,
beforeskip=\baselineskip,
afterskip=0em]{section}
\RedeclareSectionCommand[
% runin=false,
afterindent=false,
beforeskip=.75\baselineskip,
afterskip=0em]{subsection}
\RedeclareSectionCommand[
% runin=false,
afterindent=false,
beforeskip=.5\baselineskip,
afterskip=0em]{subsubsection}
\RedeclareSectionCommand[
% runin=false,
%afterindent=false,
beforeskip=.5\baselineskip,
afterskip=0em]{paragraph}
\RedeclareSectionCommand[
% runin=false,
%afterindent=false,
beforeskip=.5\baselineskip,
afterskip=0em]{subparagraph}

% % Subsections don't wrap to a new page by default.
% % Workaround from https://tex.stackexchange.com/questions/162236/subsection-on-new-page-if-it-doesnt-fit
\preto{\section}{\clearpageafterfirst}
\preto{\subsection}{\filbreak}
\newcommand{\clearpageafterfirst}{%
\gdef\clearpageafterfirst{\clearpage}%
}
% \RedeclareSectionCommand[
% % runin=false,
% afterindent=false,
% beforeskip=\baselineskip,
% afterskip=0em]{section}
% \RedeclareSectionCommand[
% % runin=false,
% afterindent=false,
% beforeskip=.75\baselineskip,
% afterskip=0em]{subsection}
% \RedeclareSectionCommand[
% % runin=false,
% afterindent=false,
% beforeskip=.5\baselineskip,
% afterskip=0em]{subsubsection}
% \RedeclareSectionCommand[
% % runin=false,
% %afterindent=false,
% beforeskip=.5\baselineskip,
% afterskip=0em]{paragraph}
% \RedeclareSectionCommand[
% % runin=false,
% %afterindent=false,
% beforeskip=.5\baselineskip,
% afterskip=0em]{subparagraph}

% % % Subsections don't wrap to a new page by default.
% % % Workaround from https://tex.stackexchange.com/questions/162236/subsection-on-new-page-if-it-doesnt-fit
% \preto{\section}{\clearpageafterfirst}
% \preto{\subsection}{\filbreak}
% \newcommand{\clearpageafterfirst}{%
% \gdef\clearpageafterfirst{\clearpage}%
% }

\newcommand{\coverbg}{/resources/img/greentop.png}

Expand Down

0 comments on commit f386210

Please sign in to comment.