Text Formatting ⇒ chapters number
-
- Posts: 6
- Joined: Tue Jul 27, 2010 12:47 pm
chapters number
Hello!
I am new with Lyx and I am actually struggling a bit.
Is there any way to start in a new document with a chapter which will be numbered as chapter 2? and so all the sections as 2.1, 2.2 etc...
Please let me know!
thanks a lot
I am new with Lyx and I am actually struggling a bit.
Is there any way to start in a new document with a chapter which will be numbered as chapter 2? and so all the sections as 2.1, 2.2 etc...
Please let me know!
thanks a lot
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
chapters number
Hi lorenapomodoro,
welcome to the board!
You could add to your document preamble:
The following chapter will then have the number 2.
Stefan
welcome to the board!
You could add to your document preamble:
Code: Select all
\setcounter{chapter}{1}
Stefan
LaTeX.org admin
-
- Posts: 6
- Joined: Tue Jul 27, 2010 12:47 pm
Re: chapters number
What does that mean? If i type those words, they just appear as a normal text, not as a command...
Sorry for the silly questions, I am absolutely at my first steps!
thanks a lot!
Sorry for the silly questions, I am absolutely at my first steps!

thanks a lot!
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
chapters number
Go to the LyX main menu: Document/ Settings, choose the point on the lower left (Document preamble), copy that \setcounter-line there.
Stefan
Stefan
LaTeX.org admin
-
- Posts: 6
- Joined: Tue Jul 27, 2010 12:47 pm
Re: chapters number
OK I have done, I managed to insert the command, but what happens is: the chapter still is called "chapter 1"; the following sections are 2.1, 2.2 etc which is good, but i still want the chapter to be called Chapter 2. Have a look at a sample file.
Thanksssss!
Thanksssss!
- Attachments
-
- trial2.pdf
- (73.63 KiB) Downloaded 175 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: chapters number
It works for me, writing chapter 2. There may be something different in your code. You could post your LyX document (a copy without text) here as attachment.
Stefan
Stefan
LaTeX.org admin
-
- Posts: 6
- Joined: Tue Jul 27, 2010 12:47 pm
Re: chapters number
it doesn't let me upload a .lyx file!
i'm working on a Mac, does it make any difference?
i'm working on a Mac, does it make any difference?