From 1ef514961d277801f09ad823ebf60de4552133d7 Mon Sep 17 00:00:00 2001 From: ikopke23 <144629825+ik6335@users.noreply.github.com> Date: Thu, 3 Oct 2024 18:50:47 -0400 Subject: [PATCH] init commit, redefining subsubsubsections and the like because I don't like them :> --- constitution.tex | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/constitution.tex b/constitution.tex index 944065a..dc79366 100644 --- a/constitution.tex +++ b/constitution.tex @@ -57,11 +57,46 @@ \renewcommand{\theasubsubsubsubsection}{\arabic{section}.\Alph{subsection}.\arabic{subsubsection}.\Alph{paragraph}.\arabic{subparagraph}.\Alph{asubsubsubsubsection}} \newcommand{\asubsubsubsubsection}[1]{\parindent=0em\refstepcounter{asubsubsubsubsection}\par\textbf{\theasubsubsubsubsection\hspace{1em}#1 \label{#1}}} + + +\titleclass{\subsubsubsection}{straight}[\subsection] + +\newcounter{subsubsubsection}[subsubsection] +\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} +\renewcommand\theparagraph{\thesubsubsubsection.\arabic{paragraph}} % optional; useful if paragraphs are to be numbered + +\titleformat{\subsubsubsection} + {\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} +\titlespacing*{\subsubsubsection} +{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex} + +\makeatletter +\renewcommand\paragraph{\@startsection{paragraph}{5}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\bfseries}} +\renewcommand\subparagraph{\@startsection{subparagraph}{6}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\bfseries}} +\def\toclevel@subsubsubsection{4} +\def\toclevel@paragraph{5} +%\def\toclevel@paragraph{6} +\def\toclevel@subparagraph{6} +\def\l@subsubsubsection{\@dottedtocline{4}{7em}{4em}} +\def\l@paragraph{\@dottedtocline{5}{10em}{5em}} +\def\l@subparagraph{\@dottedtocline{6}{14em}{6em}} +\makeatother + +\setcounter{secnumdepth}{7} +\setcounter{tocdepth}{7} + % Headings \pagestyle{myheadings} \markright{{\rm CSH Constitution \hfill \datechanged \hfill Page }} \begin{document} + % Title \maketitle