Commit 70ec7994 authored by Johnson, Seth R.'s avatar Johnson, Seth R.
Browse files

Update style chapter/part for Sphinx

parent 3f176539
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -85,6 +85,8 @@

\RequirePackage{tocloft} % table of contents styling
      
\setcounter{tocdepth}{3}

% Make the contents, figure, and table titles uppercase and centered
\renewcommand\cfttoctitlefont{\noindent\hspace*{\fill}\bfseries\MakeUppercase}
\renewcommand\cftloftitlefont{\noindent\hspace*{\fill}\bfseries\MakeUppercase}
@@ -101,6 +103,16 @@
% Add leaders to all sections and subsections in the TOC.
\renewcommand\cftsecleader{\cftdotfill{\cftdotsep}}

%%% EXTENSIONS FOR SPHINX MANUAL %%%

\if@cfthaspart
\setlength\cftbeforepartskip{.25\baselineskip}
\fi

\if@cfthaschapter
\setlength\cftbeforechapskip{.5\baselineskip}
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TITLE STYLES 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%