Re: problem with section numbering

2014-07-01 Thread adiro
 You can also use the chngcntr package to do the same sort of thing:
  \usepackage{chngcntr}
  \counterwithin*{section}{part}
 But for this simple purpose you probably don't need to do that.
 
 Richard
 
 

tnx!
your second advise worked for me. do you know how can I make the section 
numbers reset on every new part in the Lyx document as-well? 






Re: problem with section numbering

2014-07-01 Thread adiro
 You can also use the chngcntr package to do the same sort of thing:
  \usepackage{chngcntr}
  \counterwithin*{section}{part}
 But for this simple purpose you probably don't need to do that.
 
 Richard
 
 

tnx!
your second advise worked for me. do you know how can I make the section 
numbers reset on every new part in the Lyx document as-well? 






Re: problem with section numbering

2014-07-01 Thread adiro
> You can also use the chngcntr package to do the same sort of thing:
>  \usepackage{chngcntr}
>  \counterwithin*{section}{part}
> But for this simple purpose you probably don't need to do that.
> 
> Richard
> 
> 

tnx!
your second advise worked for me. do you know how can I make the section 
numbers reset on every new part in the Lyx document as-well? 






problem with section numbering

2011-05-24 Thread Lisa Deutscher

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous as 
in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.
Now it figures correctly in the Table of contents, also the subsections 
and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?

documentclass: article KOMA,  lyx version 1.6.8, OS win 7

thanks a lot!

Lisa


Re: problem with section numbering

2011-05-24 Thread Richard Heck

On 05/24/2011 05:07 AM, Lisa Deutscher wrote:

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous as 
in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.


You would need to add it BEFORE the first section of the part (and you 
would actually need to reset it to zero). But...


Now it figures correctly in the Table of contents, also the 
subsections and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?


there is a better way to do this. In your preamble, put:
\@addtoreset{section}{part}
This tells LaTeX to reset the section counter every time the part 
counter is changed.


You can also use the chngcntr package to do the same sort of thing:
\usepackage{chngcntr}
\counterwithin*{section}{part}
But for this simple purpose you probably don't need to do that.

Richard



Re: problem with section numbering

2011-05-24 Thread Lisa Deutscher

Am 24.05.2011 16:06, schrieb Richard Heck:

On 05/24/2011 05:07 AM, Lisa Deutscher wrote:

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous 
as in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.


You would need to add it BEFORE the first section of the part (and you 
would actually need to reset it to zero). But...


Now it figures correctly in the Table of contents, also the 
subsections and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?


there is a better way to do this. In your preamble, put:
\@addtoreset{section}{part}
This tells LaTeX to reset the section counter every time the part 
counter is changed.


You can also use the chngcntr package to do the same sort of thing:
\usepackage{chngcntr}
\counterwithin*{section}{part}
But for this simple purpose you probably don't need to do that.

Richard



Ha!
Problem solved!
Thanks very much, I am a happy woman now.


problem with section numbering

2011-05-24 Thread Lisa Deutscher

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous as 
in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.
Now it figures correctly in the Table of contents, also the subsections 
and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?

documentclass: article KOMA,  lyx version 1.6.8, OS win 7

thanks a lot!

Lisa


Re: problem with section numbering

2011-05-24 Thread Richard Heck

On 05/24/2011 05:07 AM, Lisa Deutscher wrote:

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous as 
in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.


You would need to add it BEFORE the first section of the part (and you 
would actually need to reset it to zero). But...


Now it figures correctly in the Table of contents, also the 
subsections and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?


there is a better way to do this. In your preamble, put:
\@addtoreset{section}{part}
This tells LaTeX to reset the section counter every time the part 
counter is changed.


You can also use the chngcntr package to do the same sort of thing:
\usepackage{chngcntr}
\counterwithin*{section}{part}
But for this simple purpose you probably don't need to do that.

Richard



Re: problem with section numbering

2011-05-24 Thread Lisa Deutscher

Am 24.05.2011 16:06, schrieb Richard Heck:

On 05/24/2011 05:07 AM, Lisa Deutscher wrote:

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous 
as in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.


You would need to add it BEFORE the first section of the part (and you 
would actually need to reset it to zero). But...


Now it figures correctly in the Table of contents, also the 
subsections and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?


there is a better way to do this. In your preamble, put:
\@addtoreset{section}{part}
This tells LaTeX to reset the section counter every time the part 
counter is changed.


You can also use the chngcntr package to do the same sort of thing:
\usepackage{chngcntr}
\counterwithin*{section}{part}
But for this simple purpose you probably don't need to do that.

Richard



Ha!
Problem solved!
Thanks very much, I am a happy woman now.


problem with section numbering

2011-05-24 Thread Lisa Deutscher

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous as 
in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.
Now it figures correctly in the Table of contents, also the subsections 
and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?

documentclass: article KOMA,  lyx version 1.6.8, OS win 7

thanks a lot!

Lisa


Re: problem with section numbering

2011-05-24 Thread Richard Heck

On 05/24/2011 05:07 AM, Lisa Deutscher wrote:

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous as 
in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.


You would need to add it BEFORE the first section of the part (and you 
would actually need to reset it to zero). But...


Now it figures correctly in the Table of contents, also the 
subsections and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?


there is a better way to do this. In your preamble, put:
\@addtoreset{section}{part}
This tells LaTeX to reset the section counter every time the part 
counter is changed.


You can also use the chngcntr package to do the same sort of thing:
\usepackage{chngcntr}
\counterwithin*{section}{part}
But for this simple purpose you probably don't need to do that.

Richard



Re: problem with section numbering

2011-05-24 Thread Lisa Deutscher

Am 24.05.2011 16:06, schrieb Richard Heck:

On 05/24/2011 05:07 AM, Lisa Deutscher wrote:

hello everyone

I am writing a thesis with lyx that consists of different parts which 
are divided into several sections etc.


I would like the first section of each part to start with 1.
without any interference of mine, the numbering would be continuous 
as in: part I, section 1, section 2; part II, section 3, sect 4 etc.
I could help this by adding \setcounter{section}{1} after the first 
section of every part.


You would need to add it BEFORE the first section of the part (and you 
would actually need to reset it to zero). But...


Now it figures correctly in the Table of contents, also the 
subsections and following sections are numbered correctly.
BUT the numbering of the first sections themselves within the text is 
all wrong. example:
part I, section 1, section 2; part II, section 3, subsection 1.1, 
section 2, section 3 etc


any ideas how to mend this?


there is a better way to do this. In your preamble, put:
\@addtoreset{section}{part}
This tells LaTeX to reset the section counter every time the part 
counter is changed.


You can also use the chngcntr package to do the same sort of thing:
\usepackage{chngcntr}
\counterwithin*{section}{part}
But for this simple purpose you probably don't need to do that.

Richard



Ha!
Problem solved!
Thanks very much, I am a happy woman now.