Hi!
Is there any way to get the heading text of a section before the number?
Usually it is "1 Your text", but I want to have each section heading like "Problem 1", "Problem 2", and so on.
Thanks!:)
Text Formatting ⇒ Section heading before numbering
Section heading before numbering
Last edited by jodles on Wed Jan 12, 2011 11:10 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Section heading before numbering
Take a look at the titlesec package. A relevant example can be found on the bottom of page 23 in the manual.
Re: Section heading before numbering
Takk, Torbjørn! 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Section heading before numbering
Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.
Thorsten
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