I have text that is 32pc (1pc=12pt) wide. I'd like to place a 3pt rule above the section headings. Is there an easy way to do this? I've tried modifying the class file but run into problems when the section number changes from 1.9 to 1.10.
Thanks
Text Formatting ⇒ Rule above Section Heading
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Rule above Section Heading
Try a packages like sectsty or titlesec (much more flexible). As far as I know with both you can only get rules across the whole text width. Modifications to a class file are not advisable.
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