Page Layoutfancy section and subsection headings

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
jasonblewis
Posts: 8
Joined: Mon Mar 23, 2009 4:08 am

fancy section and subsection headings

Post by jasonblewis »

Hi,

Using some neat tricks Stefan Kottwitz nicely demonstrated how to get fancy chapter headings here:

http://texblog.net/latex-archive/layout ... omment-271

Now I would like to extend the idea to making fancy section and subsection headings.

I want to make the section heading a solid bar of colour with the section heading text in white, and the same for the subsection.

I made a PDF to illustrate what I mean here:
http://filebin.ca/yqruqg/cataloguepage9 ... amples.pdf

Any ideas how I might do that?

Thanks in advance,

Jason

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply