On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher <bo...@seincher.de> wrote:
> Hello!
>
> I want to use LyX wor a law paper in german. When I use Part, Chapter,
> Section and so on I get a sctructure like this:
> I., 1, 1.1 ... However I want something like this: A, I, 1, a), aa), (i),
> (ii).
>
> Is it somehow possible?
>
> Thank you in advance

One way to do it is by redefining the corresponding commands:
\thepart, \thechapter, etc. If I understood your scheme correctly, you
want:

part: Alpha
chapter: Roman
section: arabic
subsection: alpha + )
subsubsection: : subsection + alpha
paragraph: ( + roman + )

You may try this code in the preamble of your doc:

\renewcommand{\thepart}{\Alph{part}}
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\alph{subsection})}
\renewcommand{\thesubsubsection}{\alph{subsection}\alph{subsubsection})}
\renewcommand{\theparagraph}{(\roman{paragraph})}

This code may not get you all the way there, though. It only changes
the style of the counters, not the overall styling of the sectioning
commands. For instance, you will still get  "Part A" not just "A".

A better solution may be to use the titlesec package or (the memoir
class which includes the titlesec package). Take a look at section 9.2
of the manual (available on Ctan and probably on your own
installation: http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/).
Titlesec will allow you complete control over the sectioning commands

In either case, you'll get your desidered numbering scheme in the pdf
only.  Lyx will still show you arabic figures on screen. You would
have to write a module to fix what you see on screen as well (although
a bug made it impossible a few versions back. Things may have
changed).

Cheers,

Stefano

-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org

Reply via email to