Skip to content

Commit

Permalink
try getting rid of runin
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Dec 9, 2023
1 parent 7c4e94e commit a07741d
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,13 @@ $endif$
\makesavenoteenv{longtable}
$endif$

% 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}%
}
% % 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}%
% }

\usepackage{footnotebackref}
$if(graphics)$
Expand Down Expand Up @@ -684,31 +684,31 @@ $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}
\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}

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

Expand Down

0 comments on commit a07741d

Please sign in to comment.