Aino de Vries wrote:
>
> Hi,
> A homework i have to write is required to have its sections numbered the following
>way:
> A Section
> I Subsection
> 1 Subsubsection
> a Paragraph
> aa Subparagraph
> bb Subparagraph 2
> I have managed to achieve this by using the following latex preamble:
> \usepackage{titlesec}
> \renewcommand{\thesection}{\Alph{section}}
> \renewcommand{\thesubsection}{\Roman{subsection}}
> \renewcommand{\thesubsubsection}{\arabic{subsubsection}}
> \renewcommand{\theparagraph}{\alph{paragraph}}
> \renewcommand{\thesubparagraph}{\alph{subparagraph}\alph{subparagraph}}
>
> Now, if i insert a label at "Subparagraph" and refer to it later in the text, the
>reference appears as "aa".
> If possible, i would like the reference to be like "A. I. 1. a. aa."
> Does someone know a way to do this?
in preamble:
\renewcommand{\p@subsection}{\thesection.}
\renewcommand{\p@subsubsection}{\thesection.\thesubsection.}
\renewcommand{\p@paragraph}{\thesection.\thesubsection.\thesubsubsection.}
\renewcommand{\p@subparagraph}{\thesection.\thesubsection.\thesubsubsection.\theparagraph.}
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/