LyX ⇒ New Chapter of a Thesis in Lyx
New Chapter of a Thesis in Lyx
Hi,
I'm using the report template in Lyx to write my thesis, but I don't want the name of the chapter 'Chapter 1' to go on a separate page and I don't want the chapters, sections , subsections numbers to start with a 0 , for example 0.1.1 for section 1 of chapter 1. I want it to be '1.1' . I know that if you use an article documanet class the sections,etc would appear the way I want them i.e. without the zero, but then I wouldn't be able to start the chapters on new pages. ... Please help!
I know there are messy ways of using specific document classes in Lyx but I don't really have much time left and am looking for a quick solution.
Thanks you very mcuh in advance.
I'm using the report template in Lyx to write my thesis, but I don't want the name of the chapter 'Chapter 1' to go on a separate page and I don't want the chapters, sections , subsections numbers to start with a 0 , for example 0.1.1 for section 1 of chapter 1. I want it to be '1.1' . I know that if you use an article documanet class the sections,etc would appear the way I want them i.e. without the zero, but then I wouldn't be able to start the chapters on new pages. ... Please help!
I know there are messy ways of using specific document classes in Lyx but I don't really have much time left and am looking for a quick solution.
Thanks you very mcuh in advance.
NEW: TikZ book now 40% off at Amazon.com for a short time.

New Chapter of a Thesis in Lyx
A quick example (put this code into the preamble; for more details take a look at titlesec documentation):
As for numbers starting with 0, I don't know what you did, but all sectioning units start with 1, not 0 when using report document class. It may be a good idea to attach an example .lyx file in your next post so we can inspect it.
Code: Select all
\usepackage{titlesec}
\titleformat{\chapter}[hang]{\Huge\bfseries}{Chapter~\thechapter}{.5em}{}
Re: New Chapter of a Thesis in Lyx
Thank you for your reply. Please find a sample of my lyx file attached.
I look forward to hearing from you.
I look forward to hearing from you.
- Attachments
-
- newfile1.zip
- (1.06 KiB) Downloaded 449 times
New Chapter of a Thesis in Lyx
OK, I've attached your example file with the following assumptions and corrections:
1. I expect you want that chapters contain only Chapter 1, Chapter 2... text, without any additional text.
2. All your sectioning units should be numbered and appear in TOC (including Chapter 1, Chapter 2...).
3. In your example file you used \part* command for Chapter 1, which, naturally, caused that following lower sectioning units like \section and \subsection start with 0, because \chapter command is missing.
4. I'd suggest, if 1. is true, that you use "normal" \chapter command for chapters, without any text, but with an optional title (Insert > Short Title) which will appear in headers and TOC.
5. Another solution may be to redefine \chapter command (as I suggested in my previous post) and enter Chapter 1, Chapter 2... text manually, but, in case of any structural changes you'll have to do a lot of manual corrections. So, I wouldn't recommended this.
1. I expect you want that chapters contain only Chapter 1, Chapter 2... text, without any additional text.
2. All your sectioning units should be numbered and appear in TOC (including Chapter 1, Chapter 2...).
3. In your example file you used \part* command for Chapter 1, which, naturally, caused that following lower sectioning units like \section and \subsection start with 0, because \chapter command is missing.
4. I'd suggest, if 1. is true, that you use "normal" \chapter command for chapters, without any text, but with an optional title (Insert > Short Title) which will appear in headers and TOC.
5. Another solution may be to redefine \chapter command (as I suggested in my previous post) and enter Chapter 1, Chapter 2... text manually, but, in case of any structural changes you'll have to do a lot of manual corrections. So, I wouldn't recommended this.
- Attachments
-
- newfile1.lyx.zip
- (1.2 KiB) Downloaded 617 times
Re: New Chapter of a Thesis in Lyx
Thank you very much! Exactly what I wanted! 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
New Chapter of a Thesis in Lyx
Now that the problem is solved, please mark the topic exactly as described in Section 3 of the Board Rules. Since you are not completely new to the board, you should know that in the meantime.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: New Chapter of a Thesis in Lyx
I will do as soon as possible. Thanx!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
New Chapter of a Thesis in Lyx
Shall be done immediately. Now time for editing has run out. So I will do.hooman wrote:I will do as soon as possible. […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10