I need to do 3 things:
1) rewrite my sections so they are in roman numerals
2) rewrite my subsections so they are A through Z, and do not contain the section preface or '.'
3) rewrite my subsubsections so they are 1 through 9, and do not contain their section or subsection as a preface or a '.'.
I have not quite accomplished this using the following renew commands:
Code: Select all
\newcommand{\mysection}[2][]
{\section[#1]
{\centering #2}
\setcounter{figure}{0}
\renewcommand{\thefigure}{\thesection.\arabic{figure}} %Arabic figures
\renewcommand{\thesection}{\Roman{section}} %Roman numeral title
}
%Subsections do not get centered
\newcommand{\mysubsection}[2][]
{\subsection[#1]{#2}
\setcounter{figure}{0}
\renewcommand{\thefigure}{\thesubsection.\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
\newcommand{\mysubsubsection}[2][]
{\subsubsection[#1]{#2}
\setcounter{figure}{0}\renewcommand{\thefigure}
{\thesubsubsection.\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'
}
My first subsection contains numbers instead of A through Z (all other sections are fine)
My first subsubsection contains the preface 'A through Z' and a '.'. All following subsubsections are labeled correctly though.
Does anyone have any idea what is happening.
This error does not only occur in the table of contents, but also when you go to the actual page you will see these mistakes. I have no idea why the first instances of these renewcommands in my program seem to not work. Please help.