Code: Select all
%This next line makes sure to center all section titles, figures are in arabic and centered
\titleformat{\mysection}[2][]
{\section[#1]
{\centering #2}
% \setcounter{figure}{0}
\renewcommand{\thefigure}{\arabic{figure}} %Arabic figures
\renewcommand{\thesection}{\Roman{section}} %Roman numeral title
}
%Subsections do not get centered
\titleformat{\subsection}[2][]
{\subsection[#1]{#2}
% \setcounter{figure}{0}
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thesubsection}{\Alph{subsection}.} %Make sure the subsection label counter is capital A through Z followed
}
%subsub section should not include the 'ALPHA' subsection before it
\titleformat{\subsubsection}[2][]
{\subsubsection[#1]{#2}
% \setcounter{figure}{0} %We would only reset the counter if we wanted each subsection to have a different figure number
\renewcommand{\thefigure}{\arabic{figure}} %Set figures to Arabic numbers 1 - 9
\renewcommand{\thesubsubsection}{\arabic{subsubsection}} %Make sure the subsection label counter is 1 through 9 with no '.', 'arabic'
}
Code: Select all
Runaway argument?
! Paragraph ended before \ttl@format@ii was complete.
<to be read again>
\par
thanks,