Skip to content
Snippets Groups Projects
Commit c5af58b3 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

make \needspace for spelllevel match all subsections

parent 9022aaeb
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ bookmarks=true]%
{8pt}
{\Large\bfseries\filcenter}
\titleformat{\subsection}{\needspace{8em}\center\large\bfseries}{}{1em}{}[\rule{.9\linewidth}{.2pt}]
\titleformat{\subsection}{\needspace{12em}\center\large\bfseries}{}{1em}{}[\rule{.9\linewidth}{.2pt}]
%
\titleformat{\subsubsection}
{\needspace{3em}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
......@@ -204,8 +204,8 @@ bookmarks=true]%
\newcommand{\currentsphere}{magic}
\newcommand{\sphere}[1]{\setcounter{spelllevel}{0}\renewcommand{\currentsphere}{#1}\index{#1}\section{\currentsphere}}
\newcommand{\spelllevel}{\addtocounter{spelllevel}{1}\needspace{11em}%
\subsection{\currentsphere~ Level \arabic{spelllevel}}\noindent}
\newcommand{\spelllevel}{\addtocounter{spelllevel}{1}%
\subsection{\currentsphere~ Level \arabic{spelllevel}}\noindent}
\newcommand{\enhancement}[2]{\paragraph{(#1) #2:}}
\newcommand{\magicitem}[7]{\vspace{1em}\noindent\textbf{#1}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment