I would like to create section style like in the attached picture, but I didn't find any way how to do it. Usually I'm using titlesec package for section style customizing.
Is there any way how to move the section number to the right edge and make it larger than 'Huge'?
Thank you for your answers.
Jane
Best Answer
Here's one possibility using the
titlesec
package; adjust the settings according to your needs:Remarks
The question mentions sections, but the image suggests chapters; in any case, to have the formatting for sections, change chapter to section everywhere in my code.
To have larger font sizes, you need an scalable font, and then you can use
Two side-by-side
\parbox
es were used for numbered chapter titles; the first one for the title (accessed through#1
with the explicit option fortitlesec
) and the second one for the number. The boxes are bottom aligned so, for longer titles, the baseline of the number will be aligned with the baseline of the last line of the title.