2 parts in one chapter

2002-10-09 Thread J.Lauffenburger

Hi lyxers,

I'm using the book-koma-script style and want to format one chapter with
aspecial description. All the chapters are based on (section,
subsection...) but this one should be different: It should contain 2
parts, each containing sections, subsections... as described below.
Each  part should have a minitoc and independant numbering of the
sections, subsections... Perhaps easy for lyx/latex users but...

Hope it is clear enough...

exemple:

Chapter X The main title of the chapter
Part 1 (numbering here is not necessary, the title is enough) - The
first part of the work
1.1 Introduction
1.2 Work done
1.3 Conclusion

Part 2 Second part of the work
2.1 Introduction
2.2

How should I define each part in order to have this scheme?


--
Heaven is where the police are British, the cooks are French, the
mechanics
German, the lovers Italian and it's all organised by the Swiss. Hell is
where the chefs are British, the mechanics French, the lover's Swiss,
the
police German and it's all organised by the Italians.


__

Jean-Philippe LAUFFENBURGER
Ecole Supérieure des Sciences Appliquées à l'ingénieur
Mulhouse
Laboratoire MIPS / Equipe MIAM
12 rue des frères Lumière
68093 Mulhouse Cedex
Tél : +33.3.89.33.69.13
Fax : +33.3.89.33.69.49
e-mail : [EMAIL PROTECTED]
__





Re: 2 parts in one chapter

2002-10-09 Thread Dekel Tsur

On Wed, Oct 09, 2002 at 11:55:31AM +0200, J.Lauffenburger wrote:
 
 Chapter X The main title of the chapter
 Part 1 (numbering here is not necessary, the title is enough) - The
 first part of the work
 1.1 Introduction
 1.2 Work done
 1.3 Conclusion
 
 Part 2 Second part of the work
 2.1 Introduction
 2.2
 
 How should I define each part in order to have this scheme?

In the preamble:

\newcounter{mypart}
\renewcommand{\themypart}{\arabic{mypart}}
\@addtoreset{section}{mypart}
\newcommand{\mypart}[1]{
  \refstepcounter{mypart}
  \renewcommand{\thesection}{\themypart.\arabic{section}}
  {\centering\huge\bfseries #1\par}}

You might need to add some vertical space above/below the title.

If the chapter is not the last chapter, you will need to add
  \renewcommand{\thesection}{\thechapter.\arabic{section}}
at the end of the chapter.



2 parts in one chapter

2002-10-09 Thread J.Lauffenburger

Hi lyxers,

I'm using the book-koma-script style and want to format one chapter with
aspecial description. All the chapters are based on (section,
subsection...) but this one should be different: It should contain 2
parts, each containing sections, subsections... as described below.
Each  part should have a minitoc and independant numbering of the
sections, subsections... Perhaps easy for lyx/latex users but...

Hope it is clear enough...

exemple:

Chapter X The main title of the chapter
Part 1 (numbering here is not necessary, the title is enough) - The
first part of the work
1.1 Introduction
1.2 Work done
1.3 Conclusion

Part 2 Second part of the work
2.1 Introduction
2.2

How should I define each part in order to have this scheme?


--
Heaven is where the police are British, the cooks are French, the
mechanics
German, the lovers Italian and it's all organised by the Swiss. Hell is
where the chefs are British, the mechanics French, the lover's Swiss,
the
police German and it's all organised by the Italians.


__

Jean-Philippe LAUFFENBURGER
Ecole Supérieure des Sciences Appliquées à l'ingénieur
Mulhouse
Laboratoire MIPS / Equipe MIAM
12 rue des frères Lumière
68093 Mulhouse Cedex
Tél : +33.3.89.33.69.13
Fax : +33.3.89.33.69.49
e-mail : [EMAIL PROTECTED]
__





Re: 2 parts in one chapter

2002-10-09 Thread Dekel Tsur

On Wed, Oct 09, 2002 at 11:55:31AM +0200, J.Lauffenburger wrote:
 
 Chapter X The main title of the chapter
 Part 1 (numbering here is not necessary, the title is enough) - The
 first part of the work
 1.1 Introduction
 1.2 Work done
 1.3 Conclusion
 
 Part 2 Second part of the work
 2.1 Introduction
 2.2
 
 How should I define each part in order to have this scheme?

In the preamble:

\newcounter{mypart}
\renewcommand{\themypart}{\arabic{mypart}}
\@addtoreset{section}{mypart}
\newcommand{\mypart}[1]{
  \refstepcounter{mypart}
  \renewcommand{\thesection}{\themypart.\arabic{section}}
  {\centering\huge\bfseries #1\par}}

You might need to add some vertical space above/below the title.

If the chapter is not the last chapter, you will need to add
  \renewcommand{\thesection}{\thechapter.\arabic{section}}
at the end of the chapter.



2 parts in one chapter

2002-10-09 Thread J.Lauffenburger

Hi lyxers,

I'm using the book-koma-script style and want to format one chapter with
aspecial description. All the chapters are based on (section,
subsection...) but this one should be different: It should contain 2
parts, each containing sections, subsections... as described below.
Each  part should have a minitoc and independant numbering of the
sections, subsections... Perhaps easy for lyx/latex users but...

Hope it is clear enough...

exemple:

Chapter X "The main title of the chapter"
Part 1 (numbering here is not necessary, the title is enough) - "The
first part of the work"
1.1 Introduction
1.2 Work done
1.3 Conclusion

Part 2 "Second part of the work"
2.1 Introduction
2.2

How should I define each part in order to have this scheme?


--
Heaven is where the police are British, the cooks are French, the
mechanics
German, the lovers Italian and it's all organised by the Swiss. Hell is
where the chefs are British, the mechanics French, the lover's Swiss,
the
police German and it's all organised by the Italians.


__

Jean-Philippe LAUFFENBURGER
Ecole Supérieure des Sciences Appliquées à l'ingénieur
Mulhouse
Laboratoire MIPS / Equipe MIAM
12 rue des frères Lumière
68093 Mulhouse Cedex
Tél : +33.3.89.33.69.13
Fax : +33.3.89.33.69.49
e-mail : [EMAIL PROTECTED]
__





Re: 2 parts in one chapter

2002-10-09 Thread Dekel Tsur

On Wed, Oct 09, 2002 at 11:55:31AM +0200, J.Lauffenburger wrote:
> 
> Chapter X "The main title of the chapter"
> Part 1 (numbering here is not necessary, the title is enough) - "The
> first part of the work"
> 1.1 Introduction
> 1.2 Work done
> 1.3 Conclusion
> 
> Part 2 "Second part of the work"
> 2.1 Introduction
> 2.2
> 
> How should I define each part in order to have this scheme?

In the preamble:

\newcounter{mypart}
\renewcommand{\themypart}{\arabic{mypart}}
\@addtoreset{section}{mypart}
\newcommand{\mypart}[1]{
  \refstepcounter{mypart}
  \renewcommand{\thesection}{\themypart.\arabic{section}}
  {\centering\huge\bfseries #1\par}}

You might need to add some vertical space above/below the title.

If the chapter is not the last chapter, you will need to add
  \renewcommand{\thesection}{\thechapter.\arabic{section}}
at the end of the chapter.