Hi!
I'm quit new to latex but finds it good so far. However, I have a few questions on the formating on headings...
I need to change the formating on the numbering of sections and subsection from (3,3.1,...) to (3,3-1,...). Have been googling half a day but not finding anything usefull. Is there a simple way?
Furthermore I want the font size to keep constant over the headings. I.e. if I use 12pt I want the heading to be 12pt as well. Is it possible?
Thanks in advance,
D
Text Formatting ⇒ Format of Section and Subsection Number
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
Format of Section and Subsection Number
Hi David,
welcome to the board!
Yes, there's a simple way:
Regarding the size of the headings, that depends on the document class you are using. Which one is it?
Stefan
welcome to the board!
Yes, there's a simple way:
Code: Select all
\renewcommand{\thesection}{\thechapter-\arabic{section}}
Stefan
LaTeX.org admin
Format of Section and Subsection Number
Thanks Stefan!
I am using article...Stefan_K wrote:Regarding the size of the headings, that depends on the document class you are using. Which one is it?