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? 






koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Csikos Bela
Hello:

This is only a report of a misbehavior so that lyx user (and possibly 
developers) would be aware of it.

Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections consecutively 
disregarding \frontmatter and \mainmatter.

This results in a difference between section numbers in lyx interface and the 
pdf output.
For example if the document has 2 sections in the front matter and 5 in the 
main matter,
in lyx these are numbered from 1 to 7. In the pdf output the sections in the 
front matter are not numbered and the the sections in the main matter are 
numbered from 1 to 5.
This makes identifying text locations and editing/correcting the text difficult 
occasionally.

bcsikos425




Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 14:50 GMT+02:00 Csikos Bela:

 This is only a report of a misbehavior so that lyx user (and possibly
 developers) would be aware of it.

 Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections
 consecutively disregarding \frontmatter and \mainmatter.


How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Richard Heck

On 04/05/2014 10:54 AM, Rich Shepard wrote:

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:

How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA 
layouts

do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.


In that case LyX knows nothing about it, so the reported behavior is not 
surprising.


Richard



Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Richard Heck wrote:


In that case LyX knows nothing about it, so the reported behavior is not
surprising.


Richard,

  Furthermore, I discovered in the current book I'm writing that I do not
need to explicitly enter \frontmatter. I put everything I want there, and
following the ToC and other lists I add \mainmatter and set the page
numbering. It's working for me.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:07 GMT+02:00 Rich Shepard:

 Furthermore, I discovered in the current book I'm writing that I do not
 need to explicitly enter \frontmatter. I put everything I want there, and
 following the ToC and other lists I add \mainmatter and set the page
 numbering. It's working for me.


However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.


Jürgen,

  I define:

\pagenumbering{roman}
\setcounter{page}{1}
\pagestyle{headings}

without explicitly writing \frontmatter.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:48 GMT+02:00 Rich Shepard:

 Jürgen,

   I define:

 \pagenumbering{roman}
 \setcounter{page}{1}
 \pagestyle{headings}

 without explicitly writing \frontmatter.


Of course you can do that, but

\frontmatter

is shorter. After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}


Jürgen,

  Thank you. I did not know that.

Carpe weekend,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Csikos Bela
Hello:

This is only a report of a misbehavior so that lyx user (and possibly 
developers) would be aware of it.

Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections consecutively 
disregarding \frontmatter and \mainmatter.

This results in a difference between section numbers in lyx interface and the 
pdf output.
For example if the document has 2 sections in the front matter and 5 in the 
main matter,
in lyx these are numbered from 1 to 7. In the pdf output the sections in the 
front matter are not numbered and the the sections in the main matter are 
numbered from 1 to 5.
This makes identifying text locations and editing/correcting the text difficult 
occasionally.

bcsikos425




Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 14:50 GMT+02:00 Csikos Bela:

 This is only a report of a misbehavior so that lyx user (and possibly
 developers) would be aware of it.

 Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections
 consecutively disregarding \frontmatter and \mainmatter.


How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Richard Heck

On 04/05/2014 10:54 AM, Rich Shepard wrote:

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:

How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA 
layouts

do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.


In that case LyX knows nothing about it, so the reported behavior is not 
surprising.


Richard



Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Richard Heck wrote:


In that case LyX knows nothing about it, so the reported behavior is not
surprising.


Richard,

  Furthermore, I discovered in the current book I'm writing that I do not
need to explicitly enter \frontmatter. I put everything I want there, and
following the ToC and other lists I add \mainmatter and set the page
numbering. It's working for me.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:07 GMT+02:00 Rich Shepard:

 Furthermore, I discovered in the current book I'm writing that I do not
 need to explicitly enter \frontmatter. I put everything I want there, and
 following the ToC and other lists I add \mainmatter and set the page
 numbering. It's working for me.


However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.


Jürgen,

  I define:

\pagenumbering{roman}
\setcounter{page}{1}
\pagestyle{headings}

without explicitly writing \frontmatter.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:48 GMT+02:00 Rich Shepard:

 Jürgen,

   I define:

 \pagenumbering{roman}
 \setcounter{page}{1}
 \pagestyle{headings}

 without explicitly writing \frontmatter.


Of course you can do that, but

\frontmatter

is shorter. After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}


Jürgen,

  Thank you. I did not know that.

Carpe weekend,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Csikos Bela
Hello:

This is only a report of a misbehavior so that lyx user (and possibly 
developers) would be aware of it.

Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections consecutively 
disregarding \frontmatter and \mainmatter.

This results in a difference between section numbers in lyx interface and the 
pdf output.
For example if the document has 2 sections in the front matter and 5 in the 
main matter,
in lyx these are numbered from 1 to 7. In the pdf output the sections in the 
front matter are not numbered and the the sections in the main matter are 
numbered from 1 to 5.
This makes identifying text locations and editing/correcting the text difficult 
occasionally.

bcsikos425




Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 14:50 GMT+02:00 Csikos Bela:

> This is only a report of a misbehavior so that lyx user (and possibly
> developers) would be aware of it.
>
> Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections
> consecutively disregarding \frontmatter and \mainmatter.
>

How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Richard Heck

On 04/05/2014 10:54 AM, Rich Shepard wrote:

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:

How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA 
layouts

do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.


In that case LyX knows nothing about it, so the reported behavior is not 
surprising.


Richard



Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Richard Heck wrote:


In that case LyX knows nothing about it, so the reported behavior is not
surprising.


Richard,

  Furthermore, I discovered in the current book I'm writing that I do not
need to explicitly enter \frontmatter. I put everything I want there, and
following the ToC and other lists I add \mainmatter and set the page
numbering. It's working for me.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:07 GMT+02:00 Rich Shepard:

> Furthermore, I discovered in the current book I'm writing that I do not
> need to explicitly enter \frontmatter. I put everything I want there, and
> following the ToC and other lists I add \mainmatter and set the page
> numbering. It's working for me.
>

However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.


Jürgen,

  I define:

\pagenumbering{roman}
\setcounter{page}{1}
\pagestyle{headings}

without explicitly writing \frontmatter.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:48 GMT+02:00 Rich Shepard:

> Jürgen,
>
>   I define:
>
> \pagenumbering{roman}
> \setcounter{page}{1}
> \pagestyle{headings}
>
> without explicitly writing \frontmatter.


Of course you can do that, but

\frontmatter

is shorter. After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}


Jürgen,

  Thank you. I did not know that.

Carpe weekend,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: alpha-numeric Section Numbering

2012-02-07 Thread Julien Rioux

On 04/02/2012 5:07 AM, Boris Seincher 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



I would think that there exists a document class specifically for 
Jura... something that comes along with jurabib? Maybe this is a 
starting point: http://www.jurawiki.de/LaTeX


Rgeards,
Julien



Re: alpha-numeric Section Numbering

2012-02-07 Thread Julien Rioux

On 04/02/2012 5:07 AM, Boris Seincher 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



I would think that there exists a document class specifically for 
Jura... something that comes along with jurabib? Maybe this is a 
starting point: http://www.jurawiki.de/LaTeX


Rgeards,
Julien



Re: alpha-numeric Section Numbering

2012-02-07 Thread Julien Rioux

On 04/02/2012 5:07 AM, Boris Seincher 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



I would think that there exists a document class specifically for 
Jura... something that comes along with jurabib? Maybe this is a 
starting point: http://www.jurawiki.de/LaTeX


Rgeards,
Julien



Re: alpha-numeric Section Numbering

2012-02-06 Thread Guenter Milde
On 2012-02-04, stefano franchi wrote:
 On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher bo...@seincher.de wrote:

 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?

There are several ways to achieve this:

Maybe there is already a special LaTeX package for your document class
e.g. at CTAN.

 One way to do it is by redefining the corresponding commands:
 \thepart, \thechapter, etc. 
...
 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

Another alternative is to use the KOMA-script classes that provide many
well documented configuration options including section heading styling.
See scrguide.pdf or the English version scrguien.pdf on CTAN or your
local installation).

 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).

Günter



Re: alpha-numeric Section Numbering

2012-02-06 Thread Guenter Milde
On 2012-02-04, stefano franchi wrote:
 On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher bo...@seincher.de wrote:

 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?

There are several ways to achieve this:

Maybe there is already a special LaTeX package for your document class
e.g. at CTAN.

 One way to do it is by redefining the corresponding commands:
 \thepart, \thechapter, etc. 
...
 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

Another alternative is to use the KOMA-script classes that provide many
well documented configuration options including section heading styling.
See scrguide.pdf or the English version scrguien.pdf on CTAN or your
local installation).

 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).

Günter



Re: alpha-numeric Section Numbering

2012-02-06 Thread Guenter Milde
On 2012-02-04, stefano franchi wrote:
> On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher  wrote:

>> 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?

There are several ways to achieve this:

Maybe there is already a special LaTeX package for your document class
e.g. at CTAN.

> One way to do it is by redefining the corresponding commands:
> \thepart, \thechapter, etc. 
...
> 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

Another alternative is to use the KOMA-script classes that provide many
well documented configuration options including section heading styling.
See scrguide.pdf or the English version scrguien.pdf on CTAN or your
local installation).

> 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).

Günter



alpha-numeric Section Numbering

2012-02-04 Thread Boris Seincher

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


Re: alpha-numeric Section Numbering

2012-02-04 Thread stefano franchi
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 AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


alpha-numeric Section Numbering

2012-02-04 Thread Boris Seincher

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


Re: alpha-numeric Section Numbering

2012-02-04 Thread stefano franchi
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 AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


alpha-numeric Section Numbering

2012-02-04 Thread Boris Seincher

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


Re: alpha-numeric Section Numbering

2012-02-04 Thread stefano franchi
On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher  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 University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


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.


Re: section numbering

2011-01-28 Thread Richard Heck

On 01/28/2011 02:38 AM, Sajjad wrote:

Hello forum,

I am writing a small report and the document settings has been set to 
Report.


When i change the environment to section the numbering style starts 
with 0.1.


I would like to have it started as 1 instead. How do i change this 
setting?


This is because Reports have chapters. If you don't want chapters, then 
use article, or something like it.


Richard



Re: section numbering

2011-01-28 Thread Richard Heck

On 01/28/2011 02:38 AM, Sajjad wrote:

Hello forum,

I am writing a small report and the document settings has been set to 
Report.


When i change the environment to section the numbering style starts 
with 0.1.


I would like to have it started as 1 instead. How do i change this 
setting?


This is because Reports have chapters. If you don't want chapters, then 
use article, or something like it.


Richard



Re: section numbering

2011-01-28 Thread Richard Heck

On 01/28/2011 02:38 AM, Sajjad wrote:

Hello forum,

I am writing a small report and the document settings has been set to 
Report.


When i change the environment to section the numbering style starts 
with 0.1.


I would like to have it started as 1 instead. How do i change this 
setting?


This is because Reports have chapters. If you don't want chapters, then 
use article, or something like it.


Richard



section numbering

2011-01-27 Thread Sajjad
Hello forum,

I am writing a small report and the document settings has been set to
Report.

When i change the environment to section the numbering style starts with
0.1.


I would like to have it started as 1 instead. How do i change this setting?


Thanks
Sajjad


section numbering

2011-01-27 Thread Sajjad
Hello forum,

I am writing a small report and the document settings has been set to
Report.

When i change the environment to section the numbering style starts with
0.1.


I would like to have it started as 1 instead. How do i change this setting?


Thanks
Sajjad


section numbering

2011-01-27 Thread Sajjad
Hello forum,

I am writing a small report and the document settings has been set to
Report.

When i change the environment to section the numbering style starts with
0.1.


I would like to have it started as 1 instead. How do i change this setting?


Thanks
Sajjad


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-21 Thread rgheck

On 10/20/2009 07:22 PM, Pete Crite wrote:

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The 
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has 
\abstract reset the page numbers. So the solution is likely to look 
in report.cls, find the abstract command, copy it to your preamble, 
change newcommand to renewcommand, and delete whichever bit 
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong, 
but just to record what I did…


LaTeX has a really baroque syntax, but it isn't that terrible. I think 
what you did is fine.


rh



Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-21 Thread rgheck

On 10/20/2009 07:22 PM, Pete Crite wrote:

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The 
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has 
\abstract reset the page numbers. So the solution is likely to look 
in report.cls, find the abstract command, copy it to your preamble, 
change newcommand to renewcommand, and delete whichever bit 
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong, 
but just to record what I did…


LaTeX has a really baroque syntax, but it isn't that terrible. I think 
what you did is fine.


rh



Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-21 Thread rgheck

On 10/20/2009 07:22 PM, Pete Crite wrote:

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The 
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has 
\abstract reset the page numbers. So the solution is likely to look 
in report.cls, find the abstract command, copy it to your preamble, 
change "newcommand" to "renewcommand", and delete whichever bit 
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong, 
but just to record what I did…


LaTeX has a really baroque syntax, but it isn't that terrible. I think 
what you did is fine.


rh



Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-20 Thread Pete Crite

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has  
\abstract reset the page numbers. So the solution is likely to look  
in report.cls, find the abstract command, copy it to your preamble,  
change newcommand to renewcommand, and delete whichever bit  
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong,  
but just to record what I did… The following lines found in /usr/local/ 
texlive/2008/texmf-dist/tex/latex/base/report.cls


\...@titlepage
  \newenvironment{abstract}{%
  \titlepage
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}
\else
  \newenvironment{abstract}{%
  \...@twocolumn
\section*{\abstractname}%
  \else
\small
\begin{center}%
  {\bfseries \abstractname\vspace{-.5em}\vspace...@}}%
\end{center}%
\quotation
  \fi}
  {...@twocolumn\else\endquotation\fi}
\fi

After some trial and error, I added the first part to the preamble,  
with \titlepage removed and newcommand replaced by renewcommand  
as suggested. This seems to work. Hence, in the preamble:


  \renewenvironment{abstract}{%
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}


2. I have two major Parts in my document. The first Part consists  
of sections (no chapters), with the second Part including  
chapters. I don't want chapters in the first section, for both  
inline effect (e.g. don't want new pages), and Table of Contents  
listing (i.e. don't want bold and no dots. What I _would_ like, if  
possible, if for the sections to be numbered similarly to  
chapters. i.e. 1 instead of 0.1, with the rest of its formatting  
remaining as a section. Is it possible to change the numbering of  
the sections (in the first Part only) without changing anything  
else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.


This works perfectly!

3. In the second Part, I'd like the chapters in the TOC to be  
listed as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd  
like it to be consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those  
will do what you want.


Again, I've probably done this totally wrong, but this works. Again,  
for future reference…


Firstly, in the preamble:

\usepackage[compact]{titlesec}
\newenvironment{notintoc}
{\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}\ignorespaces}}
{\setcounter{secnumdepth}{2}%
\addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces}}

Then, just before the chapter begins, insert clear page, then ERT  
\addcontentsline{toc}{chapter}{Chapter 1: Yourtitle}, which adds the  
nicely formatted title to the TOC.
Then ERT \begin{notintoc}, and the write the chapter heading itself  
(e.g. Yourtitle). After the heading, ERT \end{notintoc}. This part  
suppresses sending of the title to the TOC.


From preliminary testing, this seems to work well, with my headers,  
etc. looking as expected. I don't really know exactly what the  
preamble settings do, but they seem okay. I find the titlesec  
documentation a little opaque.



Richard


Thanks again for your help!!

Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-20 Thread Pete Crite

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has  
\abstract reset the page numbers. So the solution is likely to look  
in report.cls, find the abstract command, copy it to your preamble,  
change newcommand to renewcommand, and delete whichever bit  
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong,  
but just to record what I did… The following lines found in /usr/local/ 
texlive/2008/texmf-dist/tex/latex/base/report.cls


\...@titlepage
  \newenvironment{abstract}{%
  \titlepage
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}
\else
  \newenvironment{abstract}{%
  \...@twocolumn
\section*{\abstractname}%
  \else
\small
\begin{center}%
  {\bfseries \abstractname\vspace{-.5em}\vspace...@}}%
\end{center}%
\quotation
  \fi}
  {...@twocolumn\else\endquotation\fi}
\fi

After some trial and error, I added the first part to the preamble,  
with \titlepage removed and newcommand replaced by renewcommand  
as suggested. This seems to work. Hence, in the preamble:


  \renewenvironment{abstract}{%
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}


2. I have two major Parts in my document. The first Part consists  
of sections (no chapters), with the second Part including  
chapters. I don't want chapters in the first section, for both  
inline effect (e.g. don't want new pages), and Table of Contents  
listing (i.e. don't want bold and no dots. What I _would_ like, if  
possible, if for the sections to be numbered similarly to  
chapters. i.e. 1 instead of 0.1, with the rest of its formatting  
remaining as a section. Is it possible to change the numbering of  
the sections (in the first Part only) without changing anything  
else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.


This works perfectly!

3. In the second Part, I'd like the chapters in the TOC to be  
listed as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd  
like it to be consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those  
will do what you want.


Again, I've probably done this totally wrong, but this works. Again,  
for future reference…


Firstly, in the preamble:

\usepackage[compact]{titlesec}
\newenvironment{notintoc}
{\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}\ignorespaces}}
{\setcounter{secnumdepth}{2}%
\addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces}}

Then, just before the chapter begins, insert clear page, then ERT  
\addcontentsline{toc}{chapter}{Chapter 1: Yourtitle}, which adds the  
nicely formatted title to the TOC.
Then ERT \begin{notintoc}, and the write the chapter heading itself  
(e.g. Yourtitle). After the heading, ERT \end{notintoc}. This part  
suppresses sending of the title to the TOC.


From preliminary testing, this seems to work well, with my headers,  
etc. looking as expected. I don't really know exactly what the  
preamble settings do, but they seem okay. I find the titlesec  
documentation a little opaque.



Richard


Thanks again for your help!!

Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-20 Thread Pete Crite

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has  
\abstract reset the page numbers. So the solution is likely to look  
in report.cls, find the abstract command, copy it to your preamble,  
change "newcommand" to "renewcommand", and delete whichever bit  
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong,  
but just to record what I did… The following lines found in /usr/local/ 
texlive/2008/texmf-dist/tex/latex/base/report.cls


\...@titlepage
  \newenvironment{abstract}{%
  \titlepage
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}
\else
  \newenvironment{abstract}{%
  \...@twocolumn
\section*{\abstractname}%
  \else
\small
\begin{center}%
  {\bfseries \abstractname\vspace{-.5em}\vspace...@}}%
\end{center}%
\quotation
  \fi}
  {...@twocolumn\else\endquotation\fi}
\fi

After some trial and error, I added the first part to the preamble,  
with "\titlepage" removed and "newcommand" replaced by "renewcommand"  
as suggested. This seems to work. Hence, in the preamble:


  \renewenvironment{abstract}{%
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}


2. I have two major Parts in my document. The first Part consists  
of sections (no chapters), with the second Part including  
chapters. I don't want chapters in the first section, for both  
inline effect (e.g. don't want new pages), and Table of Contents  
listing (i.e. don't want bold and no dots. What I _would_ like, if  
possible, if for the sections to be numbered similarly to  
chapters. i.e. 1 instead of 0.1, with the rest of its formatting  
remaining as a section. Is it possible to change the numbering of  
the sections (in the first Part only) without changing anything  
else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.


This works perfectly!

3. In the second Part, I'd like the chapters in the TOC to be  
listed as "Chapter 1. Foobar" rather than "1 Foobar". i.e. I'd  
like it to be consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those  
will do what you want.


Again, I've probably done this totally wrong, but this works. Again,  
for future reference…


Firstly, in the preamble:

\usepackage[compact]{titlesec}
\newenvironment{notintoc}
{\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}\ignorespaces}}
{\setcounter{secnumdepth}{2}%
\addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces}}

Then, just before the chapter begins, insert "clear page", then ERT  
"\addcontentsline{toc}{chapter}{Chapter 1: Yourtitle}", which adds the  
nicely formatted title to the TOC.
Then ERT "\begin{notintoc}", and the write the chapter heading itself  
(e.g. "Yourtitle"). After the heading, ERT "\end{notintoc}". This part  
suppresses sending of the title to the TOC.


From preliminary testing, this seems to work well, with my headers,  
etc. looking as expected. I don't really know exactly what the  
preamble settings do, but they seem okay. I find the titlesec  
documentation a little opaque.



Richard


Thanks again for your help!!

Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread Wolfgang Engelmann
Am Monday 19 October 2009 07:10:52 schrieb Pete Crite:
 I hate to bump this, but my thesis is close to its due date, and I'm
 hoping to have these issues sorted so I can print it!

 Would anyone be able to help me at all?

 Thank you!
 Pete.

 On 13/10/2009, at 10:00 AM, Pete Crite wrote:
  Hi, I am attempting to write a thesis using LyX, and have a few
  questions. I have Googled extensively, but can't seem to find the
  answers. I am using the report class.
 
  1. How do I get the page numbers to continue in the abstract? The
  abstract is the third page in, and appears to reset the page count.

Could'nt you just abuse a chapter and write Abstract as the chapter heading?

Wolfgang


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread Pete Crite

On 19/10/2009, at 7:40 PM, Wolfgang Engelmann wrote:


Am Monday 19 October 2009 07:10:52 schrieb Pete Crite:


On 13/10/2009, at 10:00 AM, Pete Crite wrote:

Hi, I am attempting to write a thesis using LyX, and have a few
questions. I have Googled extensively, but can't seem to find the
answers. I am using the report class.

1. How do I get the page numbers to continue in the abstract? The
abstract is the third page in, and appears to reset the page count.


Could'nt you just abuse a chapter and write Abstract as the chapter  
heading?


Wolfgang


Yeah, I've done that in the meantime. I did like the abstract  
formatting, though, and I just expected that there'd be a easy way to  
have page numbers in the abstract. I thought that would be a pretty  
common usage. Guess not.


Cheers,
Pete.


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread rgheck

On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The 
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has 
\abstract reset the page numbers. So the solution is likely to look in 
report.cls, find the abstract command, copy it to your preamble, change 
newcommand to renewcommand, and delete whichever bit resets the page 
numbers.


2. I have two major Parts in my document. The first Part consists of 
sections (no chapters), with the second Part including chapters. I 
don't want chapters in the first section, for both inline effect 
(e.g. don't want new pages), and Table of Contents listing (i.e. 
don't want bold and no dots. What I _would_ like, if possible, if for 
the sections to be numbered similarly to chapters. i.e. 1 instead of 
0.1, with the rest of its formatting remaining as a section. Is it 
possible to change the numbering of the sections (in the first Part 
only) without changing anything else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.

3. In the second Part, I'd like the chapters in the TOC to be listed 
as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to be 
consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those will 
do what you want.


Richard



Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread Wolfgang Engelmann
Am Monday 19 October 2009 07:10:52 schrieb Pete Crite:
 I hate to bump this, but my thesis is close to its due date, and I'm
 hoping to have these issues sorted so I can print it!

 Would anyone be able to help me at all?

 Thank you!
 Pete.

 On 13/10/2009, at 10:00 AM, Pete Crite wrote:
  Hi, I am attempting to write a thesis using LyX, and have a few
  questions. I have Googled extensively, but can't seem to find the
  answers. I am using the report class.
 
  1. How do I get the page numbers to continue in the abstract? The
  abstract is the third page in, and appears to reset the page count.

Could'nt you just abuse a chapter and write Abstract as the chapter heading?

Wolfgang


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread Pete Crite

On 19/10/2009, at 7:40 PM, Wolfgang Engelmann wrote:


Am Monday 19 October 2009 07:10:52 schrieb Pete Crite:


On 13/10/2009, at 10:00 AM, Pete Crite wrote:

Hi, I am attempting to write a thesis using LyX, and have a few
questions. I have Googled extensively, but can't seem to find the
answers. I am using the report class.

1. How do I get the page numbers to continue in the abstract? The
abstract is the third page in, and appears to reset the page count.


Could'nt you just abuse a chapter and write Abstract as the chapter  
heading?


Wolfgang


Yeah, I've done that in the meantime. I did like the abstract  
formatting, though, and I just expected that there'd be a easy way to  
have page numbers in the abstract. I thought that would be a pretty  
common usage. Guess not.


Cheers,
Pete.


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread rgheck

On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The 
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has 
\abstract reset the page numbers. So the solution is likely to look in 
report.cls, find the abstract command, copy it to your preamble, change 
newcommand to renewcommand, and delete whichever bit resets the page 
numbers.


2. I have two major Parts in my document. The first Part consists of 
sections (no chapters), with the second Part including chapters. I 
don't want chapters in the first section, for both inline effect 
(e.g. don't want new pages), and Table of Contents listing (i.e. 
don't want bold and no dots. What I _would_ like, if possible, if for 
the sections to be numbered similarly to chapters. i.e. 1 instead of 
0.1, with the rest of its formatting remaining as a section. Is it 
possible to change the numbering of the sections (in the first Part 
only) without changing anything else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.

3. In the second Part, I'd like the chapters in the TOC to be listed 
as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to be 
consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those will 
do what you want.


Richard



Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread Wolfgang Engelmann
Am Monday 19 October 2009 07:10:52 schrieb Pete Crite:
> I hate to bump this, but my thesis is close to its due date, and I'm
> hoping to have these issues sorted so I can print it!
>
> Would anyone be able to help me at all?
>
> Thank you!
> Pete.
>
> On 13/10/2009, at 10:00 AM, Pete Crite wrote:
> > Hi, I am attempting to write a thesis using LyX, and have a few
> > questions. I have Googled extensively, but can't seem to find the
> > answers. I am using the report class.
> >
> > 1. How do I get the page numbers to continue in the abstract? The
> > abstract is the third page in, and appears to reset the page count.

Could'nt you just abuse a chapter and write Abstract as the chapter heading?

Wolfgang


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread Pete Crite

On 19/10/2009, at 7:40 PM, Wolfgang Engelmann wrote:


Am Monday 19 October 2009 07:10:52 schrieb Pete Crite:


On 13/10/2009, at 10:00 AM, Pete Crite wrote:

Hi, I am attempting to write a thesis using LyX, and have a few
questions. I have Googled extensively, but can't seem to find the
answers. I am using the report class.

1. How do I get the page numbers to continue in the abstract? The
abstract is the third page in, and appears to reset the page count.


Could'nt you just abuse a chapter and write Abstract as the chapter  
heading?


Wolfgang


Yeah, I've done that in the meantime. I did like the abstract  
formatting, though, and I just expected that there'd be a easy way to  
have page numbers in the abstract. I thought that would be a pretty  
common usage. Guess not.


Cheers,
Pete.


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-19 Thread rgheck

On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The 
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has 
\abstract reset the page numbers. So the solution is likely to look in 
report.cls, find the abstract command, copy it to your preamble, change 
"newcommand" to "renewcommand", and delete whichever bit resets the page 
numbers.


2. I have two major Parts in my document. The first Part consists of 
sections (no chapters), with the second Part including chapters. I 
don't want chapters in the first section, for both inline effect 
(e.g. don't want new pages), and Table of Contents listing (i.e. 
don't want bold and no dots. What I _would_ like, if possible, if for 
the sections to be numbered similarly to chapters. i.e. 1 instead of 
0.1, with the rest of its formatting remaining as a section. Is it 
possible to change the numbering of the sections (in the first Part 
only) without changing anything else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.

3. In the second Part, I'd like the chapters in the TOC to be listed 
as "Chapter 1. Foobar" rather than "1 Foobar". i.e. I'd like it to be 
consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those will 
do what you want.


Richard



Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-18 Thread Pete Crite
I hate to bump this, but my thesis is close to its due date, and I'm  
hoping to have these issues sorted so I can print it!


Would anyone be able to help me at all?

Thank you!
Pete.


On 13/10/2009, at 10:00 AM, Pete Crite wrote:

Hi, I am attempting to write a thesis using LyX, and have a few  
questions. I have Googled extensively, but can't seem to find the  
answers. I am using the report class.


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


2. I have two major Parts in my document. The first Part consists of  
sections (no chapters), with the second Part including chapters. I  
don't want chapters in the first section, for both inline effect  
(e.g. don't want new pages), and Table of Contents listing (i.e.  
don't want bold and no dots. What I _would_ like, if possible, if  
for the sections to be numbered similarly to chapters. i.e. 1  
instead of 0.1, with the rest of its formatting remaining as a  
section. Is it possible to change the numbering of the sections (in  
the first Part only) without changing anything else?


3. In the second Part, I'd like the chapters in the TOC to be listed  
as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to  
be consistent with the inline chapter headings.


Thanks in advance!
Pete.




Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-18 Thread Pete Crite
I hate to bump this, but my thesis is close to its due date, and I'm  
hoping to have these issues sorted so I can print it!


Would anyone be able to help me at all?

Thank you!
Pete.


On 13/10/2009, at 10:00 AM, Pete Crite wrote:

Hi, I am attempting to write a thesis using LyX, and have a few  
questions. I have Googled extensively, but can't seem to find the  
answers. I am using the report class.


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


2. I have two major Parts in my document. The first Part consists of  
sections (no chapters), with the second Part including chapters. I  
don't want chapters in the first section, for both inline effect  
(e.g. don't want new pages), and Table of Contents listing (i.e.  
don't want bold and no dots. What I _would_ like, if possible, if  
for the sections to be numbered similarly to chapters. i.e. 1  
instead of 0.1, with the rest of its formatting remaining as a  
section. Is it possible to change the numbering of the sections (in  
the first Part only) without changing anything else?


3. In the second Part, I'd like the chapters in the TOC to be listed  
as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to  
be consistent with the inline chapter headings.


Thanks in advance!
Pete.




Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-18 Thread Pete Crite
I hate to bump this, but my thesis is close to its due date, and I'm  
hoping to have these issues sorted so I can print it!


Would anyone be able to help me at all?

Thank you!
Pete.


On 13/10/2009, at 10:00 AM, Pete Crite wrote:

Hi, I am attempting to write a thesis using LyX, and have a few  
questions. I have Googled extensively, but can't seem to find the  
answers. I am using the report class.


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


2. I have two major Parts in my document. The first Part consists of  
sections (no chapters), with the second Part including chapters. I  
don't want chapters in the first section, for both inline effect  
(e.g. don't want new pages), and Table of Contents listing (i.e.  
don't want bold and no dots. What I _would_ like, if possible, if  
for the sections to be numbered similarly to chapters. i.e. 1  
instead of 0.1, with the rest of its formatting remaining as a  
section. Is it possible to change the numbering of the sections (in  
the first Part only) without changing anything else?


3. In the second Part, I'd like the chapters in the TOC to be listed  
as "Chapter 1. Foobar" rather than "1 Foobar". i.e. I'd like it to  
be consistent with the inline chapter headings.


Thanks in advance!
Pete.




Page numbers in abstract, section numbering, and TOC modification

2009-10-13 Thread Pete Crite
Hi, I am attempting to write a thesis using LyX, and have a few  
questions. I have Googled extensively, but can't seem to find the  
answers. I am using the report class.


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


2. I have two major Parts in my document. The first Part consists of  
sections (no chapters), with the second Part including chapters. I  
don't want chapters in the first section, for both inline effect (e.g.  
don't want new pages), and Table of Contents listing (i.e. don't want  
bold and no dots. What I _would_ like, if possible, if for the  
sections to be numbered similarly to chapters. i.e. 1 instead of 0.1,  
with the rest of its formatting remaining as a section. Is it possible  
to change the numbering of the sections (in the first Part only)  
without changing anything else?


3. In the second Part, I'd like the chapters in the TOC to be listed  
as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to be  
consistent with the inline chapter headings.


Thanks in advance!
Pete.


Page numbers in abstract, section numbering, and TOC modification

2009-10-13 Thread Pete Crite
Hi, I am attempting to write a thesis using LyX, and have a few  
questions. I have Googled extensively, but can't seem to find the  
answers. I am using the report class.


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


2. I have two major Parts in my document. The first Part consists of  
sections (no chapters), with the second Part including chapters. I  
don't want chapters in the first section, for both inline effect (e.g.  
don't want new pages), and Table of Contents listing (i.e. don't want  
bold and no dots. What I _would_ like, if possible, if for the  
sections to be numbered similarly to chapters. i.e. 1 instead of 0.1,  
with the rest of its formatting remaining as a section. Is it possible  
to change the numbering of the sections (in the first Part only)  
without changing anything else?


3. In the second Part, I'd like the chapters in the TOC to be listed  
as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to be  
consistent with the inline chapter headings.


Thanks in advance!
Pete.


Page numbers in abstract, section numbering, and TOC modification

2009-10-13 Thread Pete Crite
Hi, I am attempting to write a thesis using LyX, and have a few  
questions. I have Googled extensively, but can't seem to find the  
answers. I am using the report class.


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


2. I have two major Parts in my document. The first Part consists of  
sections (no chapters), with the second Part including chapters. I  
don't want chapters in the first section, for both inline effect (e.g.  
don't want new pages), and Table of Contents listing (i.e. don't want  
bold and no dots. What I _would_ like, if possible, if for the  
sections to be numbered similarly to chapters. i.e. 1 instead of 0.1,  
with the rest of its formatting remaining as a section. Is it possible  
to change the numbering of the sections (in the first Part only)  
without changing anything else?


3. In the second Part, I'd like the chapters in the TOC to be listed  
as "Chapter 1. Foobar" rather than "1 Foobar". i.e. I'd like it to be  
consistent with the inline chapter headings.


Thanks in advance!
Pete.


Section numbering

2009-09-08 Thread Julio Rojas
Dear all, I'm writing a memoir(book) document in Lyx. I used the
numbering  TOC setup to use numbering until subsubsection. When I
generated the PDF it didn't apper. I then included in the preamble:

\setsecnumdepth{all}
\maxsecnumdepth{all}

From that moment numbering and inclusion in the TOC was perfect. Is
this a bug? If so, is it a known one?

Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Section numbering

2009-09-08 Thread Julio Rojas
Dear all, I'm writing a memoir(book) document in Lyx. I used the
numbering  TOC setup to use numbering until subsubsection. When I
generated the PDF it didn't apper. I then included in the preamble:

\setsecnumdepth{all}
\maxsecnumdepth{all}

From that moment numbering and inclusion in the TOC was perfect. Is
this a bug? If so, is it a known one?

Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Section numbering

2009-09-08 Thread Julio Rojas
Dear all, I'm writing a memoir(book) document in Lyx. I used the
numbering & TOC setup to use numbering until subsubsection. When I
generated the PDF it didn't apper. I then included in the preamble:

\setsecnumdepth{all}
\maxsecnumdepth{all}

>From that moment numbering and inclusion in the TOC was perfect. Is
this a bug? If so, is it a known one?

Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Reset Section Numbering by Part

2009-06-23 Thread Andrew Hills

but in my head if you need a toc and to start sections anew for each
part, you do not write an article ;).


You caught me; I'm not writing an article. The article class is just the 
one I'm most familiar manipulating. I'm also not releasing the source 
for my document, so I'm more comfortable with unorthodox hacks.


It turns out there's a simple preamble command that accomplishes what I 
want: \...@addtoreset{section}{part}. It turned up after hours of poring 
over documentation when Google searches failed.


--Andrew Hills


Re: Reset Section Numbering by Part

2009-06-23 Thread Andrew Hills

but in my head if you need a toc and to start sections anew for each
part, you do not write an article ;).


You caught me; I'm not writing an article. The article class is just the 
one I'm most familiar manipulating. I'm also not releasing the source 
for my document, so I'm more comfortable with unorthodox hacks.


It turns out there's a simple preamble command that accomplishes what I 
want: \...@addtoreset{section}{part}. It turned up after hours of poring 
over documentation when Google searches failed.


--Andrew Hills


Re: Reset Section Numbering by Part

2009-06-23 Thread Andrew Hills

but in my head if you need a toc and to start sections anew for each
part, you do not write an article ;).


You caught me; I'm not writing an article. The article class is just the 
one I'm most familiar manipulating. I'm also not releasing the source 
for my document, so I'm more comfortable with unorthodox hacks.


It turns out there's a simple preamble command that accomplishes what I 
want: \...@addtoreset{section}{part}. It turned up after hours of poring 
over documentation when Google searches failed.


--Andrew Hills


Reset Section Numbering by Part

2009-06-22 Thread Andrew Hills

Hi all,

I want the section numbering to restart for each part in the article 
class. The only way I have devised is a simple hack in the LaTeX preamble:


\let\oldpart\part
\renewcommand{part}[1]{\oldpart{#1}
\setcounter{section}{0}}

This works great, except for the Table of Contents. When I generate a 
PDF, every Section N links to the first Section N; e.g., clicking on 
Part III, Section 2 takes me down to Part I, Section 2.


I understand that I can define a new counter with 
\newcounter{newsection}[part] to reset when I want it to. Is there a way 
to force sections to display this new counter while still being linked 
with the old one? If not, is there another way to solve my problem?


Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7)

--Andrew Hills


Reset Section Numbering by Part

2009-06-22 Thread Andrew Hills

Hi all,

I want the section numbering to restart for each part in the article 
class. The only way I have devised is a simple hack in the LaTeX preamble:


\let\oldpart\part
\renewcommand{part}[1]{\oldpart{#1}
\setcounter{section}{0}}

This works great, except for the Table of Contents. When I generate a 
PDF, every Section N links to the first Section N; e.g., clicking on 
Part III, Section 2 takes me down to Part I, Section 2.


I understand that I can define a new counter with 
\newcounter{newsection}[part] to reset when I want it to. Is there a way 
to force sections to display this new counter while still being linked 
with the old one? If not, is there another way to solve my problem?


Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7)

--Andrew Hills


Reset Section Numbering by Part

2009-06-22 Thread Andrew Hills

Hi all,

I want the section numbering to restart for each part in the article 
class. The only way I have devised is a simple hack in the LaTeX preamble:


\let\oldpart\part
\renewcommand{part}[1]{\oldpart{#1}
\setcounter{section}{0}}

This works great, except for the Table of Contents. When I generate a 
PDF, every Section N links to the first Section N; e.g., clicking on 
Part III, Section 2 takes me down to Part I, Section 2.


I understand that I can define a new counter with 
\newcounter{newsection}[part] to reset when I want it to. Is there a way 
to force sections to display this new counter while still being linked 
with the old one? If not, is there another way to solve my problem?


Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7)

--Andrew Hills


override section numbering in aastex class

2008-08-20 Thread Tomás Revilla
In the article (AASTeX) document class, is there an option to globablly
override section numbering? If not, can it be done in the preamble, how?
Unfortunately, the *section, *subsection options do not appear in the drop
down list. I do not want to use ERT because I am collaborating with someone
who started using LyX, so it is OK to put some ERT formating in a few
places, but that would be nasty through all the document.


override section numbering in aastex class

2008-08-20 Thread Tomás Revilla
In the article (AASTeX) document class, is there an option to globablly
override section numbering? If not, can it be done in the preamble, how?
Unfortunately, the *section, *subsection options do not appear in the drop
down list. I do not want to use ERT because I am collaborating with someone
who started using LyX, so it is OK to put some ERT formating in a few
places, but that would be nasty through all the document.


override section numbering in aastex class

2008-08-20 Thread Tomás Revilla
In the article (AASTeX) document class, is there an option to globablly
override section numbering? If not, can it be done in the preamble, how?
Unfortunately, the *section, *subsection options do not appear in the drop
down list. I do not want to use ERT because I am collaborating with someone
who started using LyX, so it is OK to put some ERT formating in a few
places, but that would be nasty through all the document.


Re: about the style of the section numbering

2008-05-29 Thread Maksi


Haiyang Chao wrote:
 Thanks for your prompt response. Actually, Ijust need to modify another
 guy's file. But he is also not so familiar with lyx. My lyx file is using
 ieeetran.cls. It looks like document setting is the only part I can
 modify
 to change the page style.

LaTeX has come a long way and today the basic usage of LaTeX starts with the
choice of the document class. At least two packages are very powerful and
very configurable: Memoir and KOMA-Script. Within these classes you can
change practically everything you want. For other classes (the regular ones)
you need a lot of extra packages to change their look and behaviour. And
then there are very special classes such as AMS, IEEE and so on which are
often written for very special purposes such as specific journals. Unless
you are writing for such a journal providing its own document class or
unless you want your writings to look exactly like in one of these journals,
I for my part would not recommend using them. Use Memoir or KOMA instead and
check their manuals to make changes. Quite a few typical changes can be done
very easily by mouse-click in LyX’ document settings dialogue. If you need
help with theses classes simply ask on the list.
-- 
View this message in context: 
http://www.nabble.com/about-the-style-of-the-section-numbering-tp17508124p17529204.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: about the style of the section numbering

2008-05-29 Thread Maksi


Haiyang Chao wrote:
 Thanks for your prompt response. Actually, Ijust need to modify another
 guy's file. But he is also not so familiar with lyx. My lyx file is using
 ieeetran.cls. It looks like document setting is the only part I can
 modify
 to change the page style.

LaTeX has come a long way and today the basic usage of LaTeX starts with the
choice of the document class. At least two packages are very powerful and
very configurable: Memoir and KOMA-Script. Within these classes you can
change practically everything you want. For other classes (the regular ones)
you need a lot of extra packages to change their look and behaviour. And
then there are very special classes such as AMS, IEEE and so on which are
often written for very special purposes such as specific journals. Unless
you are writing for such a journal providing its own document class or
unless you want your writings to look exactly like in one of these journals,
I for my part would not recommend using them. Use Memoir or KOMA instead and
check their manuals to make changes. Quite a few typical changes can be done
very easily by mouse-click in LyX’ document settings dialogue. If you need
help with theses classes simply ask on the list.
-- 
View this message in context: 
http://www.nabble.com/about-the-style-of-the-section-numbering-tp17508124p17529204.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: about the style of the section numbering

2008-05-29 Thread Maksi


Haiyang Chao wrote:
> Thanks for your prompt response. Actually, Ijust need to modify another
> guy's file. But he is also not so familiar with lyx. My lyx file is using
> ieeetran.cls. It looks like "document setting" is the only part I can
> modify
> to change the page style.

LaTeX has come a long way and today the basic usage of LaTeX starts with the
choice of the document class. At least two packages are very powerful and
very configurable: Memoir and KOMA-Script. Within these classes you can
change practically everything you want. For other classes (the regular ones)
you need a lot of extra packages to change their look and behaviour. And
then there are very special classes such as AMS, IEEE and so on which are
often written for very special purposes such as specific journals. Unless
you are writing for such a journal providing its own document class or
unless you want your writings to look exactly like in one of these journals,
I for my part would not recommend using them. Use Memoir or KOMA instead and
check their manuals to make changes. Quite a few typical changes can be done
very easily by mouse-click in LyX’ document settings dialogue. If you need
help with theses classes simply ask on the list.
-- 
View this message in context: 
http://www.nabble.com/about-the-style-of-the-section-numbering-tp17508124p17529204.html
Sent from the LyX - Users mailing list archive at Nabble.com.



about the style of the section numbering

2008-05-28 Thread Haiyang Chao
Hi, everyone.

I am a freshman to lyx but I have some latex experiences. I got a question
on how to change the style of the section numbering.

In my current file, I got section number like I, II, III, IV in dvi files.
Can u guys tell me how I can change this style back to 1, 2,3,4 ?

Thanks

Best
Haiyang


Re: about the style of the section numbering

2008-05-28 Thread Jean-Marc Lasgouttes
Haiyang Chao [EMAIL PROTECTED] writes:

 Hi, everyone.

 I am a freshman to lyx but I have some latex experiences. I got a question
 on how to change the style of the section numbering.

 In my current file, I got section number like I, II, III, IV in dvi files.
 Can u guys tell me how I can change this style back to 1, 2,3,4 ?

Hi,

You have to tell us more about your document. What document class did
you pick?

JMarc


Re: about the style of the section numbering

2008-05-28 Thread Haiyang Chao
 JMarc:

Thanks for your prompt response. Actually, Ijust need to modify another
guy's file. But he is also not so familiar with lyx. My lyx file is using
ieeetran.cls. It looks like document setting is the only part I can modify
to change the page style.

Best
Haiyang

On Wed, May 28, 2008 at 4:24 AM, Jean-Marc Lasgouttes [EMAIL PROTECTED]
wrote:

 Haiyang Chao [EMAIL PROTECTED] writes:

  Hi, everyone.
 
  I am a freshman to lyx but I have some latex experiences. I got a
 question
  on how to change the style of the section numbering.
 
  In my current file, I got section number like I, II, III, IV in dvi
 files.
  Can u guys tell me how I can change this style back to 1, 2,3,4 ?

 Hi,

 You have to tell us more about your document. What document class did
 you pick?

 JMarc



Re: about the style of the section numbering

2008-05-28 Thread Jean-Marc Lasgouttes
Haiyang Chao [EMAIL PROTECTED] writes:

  JMarc:

 Thanks for your prompt response. Actually, Ijust need to modify another
 guy's file. But he is also not so familiar with lyx. My lyx file is using
 ieeetran.cls. It looks like document setting is the only part I can modify
 to change the page style.

But do you really want to use ieeetran? What are your constraints?

JMarc


about the style of the section numbering

2008-05-28 Thread Haiyang Chao
Hi, everyone.

I am a freshman to lyx but I have some latex experiences. I got a question
on how to change the style of the section numbering.

In my current file, I got section number like I, II, III, IV in dvi files.
Can u guys tell me how I can change this style back to 1, 2,3,4 ?

Thanks

Best
Haiyang


Re: about the style of the section numbering

2008-05-28 Thread Jean-Marc Lasgouttes
Haiyang Chao [EMAIL PROTECTED] writes:

 Hi, everyone.

 I am a freshman to lyx but I have some latex experiences. I got a question
 on how to change the style of the section numbering.

 In my current file, I got section number like I, II, III, IV in dvi files.
 Can u guys tell me how I can change this style back to 1, 2,3,4 ?

Hi,

You have to tell us more about your document. What document class did
you pick?

JMarc


Re: about the style of the section numbering

2008-05-28 Thread Haiyang Chao
 JMarc:

Thanks for your prompt response. Actually, Ijust need to modify another
guy's file. But he is also not so familiar with lyx. My lyx file is using
ieeetran.cls. It looks like document setting is the only part I can modify
to change the page style.

Best
Haiyang

On Wed, May 28, 2008 at 4:24 AM, Jean-Marc Lasgouttes [EMAIL PROTECTED]
wrote:

 Haiyang Chao [EMAIL PROTECTED] writes:

  Hi, everyone.
 
  I am a freshman to lyx but I have some latex experiences. I got a
 question
  on how to change the style of the section numbering.
 
  In my current file, I got section number like I, II, III, IV in dvi
 files.
  Can u guys tell me how I can change this style back to 1, 2,3,4 ?

 Hi,

 You have to tell us more about your document. What document class did
 you pick?

 JMarc



  1   2   3   4   >