Quote:
Originally Posted by patrik
Feel sort of funny to tell someone with your skills that they are dead wrong.  (Which makes it likely I'm the one doing something wrong here...  )
In this case the challenge was to have one sort of space between the two lines, and another between the second line _if_ it got split up on two lines on the device, within the same h#.
Your example did all that. Jon's didn't.
Your new example is shifting the goal post by moving the second line outside the header. You don't get a correct toc now, without adding other stuff.
But, it's yet another example of how one can do "two chapter lines", so it's still helpful. 
|
There may not be a way to do a two line chapter title/subtitle such that the auto ToC generator gets it correct. That's the problem. Also, I've see <h2> used for the main chapter heading and <h3> used for the subheading. That would also allow for both the heder and subheader to be auto added to the ToC. But you would still have to edit the ToC if you wanted the ToC to include the subheader.