Me again... very close to the layout I'm looking for already, but not quite there yet. ;-)
For chapter headers, I am trying to get this look for chapter headings:
I.e.,
\thechapter
centered,- with a solid black box (the same height as the numbers) to the left and to the right, spanning the width of the text area.
- The name of the chapter on the next line, also centered, without the boxes.
I got the "Chapter" string removed, I got the ".0" appended to the chapter number (thanks to Stefan for helping with that one), and contentet myself with writing \chapter{MYCHAPTER}
instead of trying to get LaTeX doing the uppercasing for me. I get "1.0 MYCHAPTER" written for a chapter header - so far so good.
But now I am stuck. I read and googled, and found plenty of examples using \@startsection
for adding boxes around headers, lines above and lines below and backdrops behind them, getting increasingly more complex and daunting - but couldn't figure out how to do those black boxes to the left and the right of the chapter numbers.
Help?