Would someone construct the following style of section heading (intended for longer reports and books)? (The dashed line is meant to be solid.)
| 1.1 | SECTION HEADING (IT WOULD EXTEND AT MOST TO ABOUT | HERE, I.E., APPROX. 2/3 OF THE PAGE) |
The following parameters should be adjustable, so that people can fit the template to their own needs:
- Thickness of the line
- Length of the line above and below the section heading text
- Space above and below the section heading block
- Space to the left and right of the line
- Length of the text box before it wraps around.
Edit. There is a small problem: the vertical line doesn't extend the same amount above and below the text (when it is only one line), as shown below.
Also: this wasn't included in the original question, but it would be nice to have the option of using separate fonts for the numbers and section heading (so that, for example, the section number could be bold but not the section heading, as in the chapter heading I'm using).
Thanks for the solution, it looks great otherwise.