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?
Greetings,
Aino de Vries

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrartcl
\begin_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}}
\end_preamble
\language german
\inputencoding auto
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\leftmargin 1cm
\topmargin 1cm
\rightmargin 1cm
\bottommargin 1cm
\secnumdepth 5
\tocdepth 5
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Example
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

Section
\layout Subsection

Subsection
\layout Subsubsection

Subsubsection
\layout Paragraph

Paragraph
\layout Subparagraph


\begin_inset LatexCommand \label{test}

\end_inset 

Subparagraph
\layout Subparagraph

Subparagraph 2
\layout Standard

Reference to 
\begin_inset LatexCommand \ref{test}

\end_inset 


\the_end

Reply via email to