I try to have the chapter's number in my document twice as big as the title on the left and the two-line chapter title on the right. The number should span two lines, so the two lines of the title are exactly the same size the number is and they are at the same height.
You can see what I achieved so far here:
The problem now is that the title starts at the bottom of the number, but it should start at the top.
I did this using titlesec
package:
\titleformat{\chapter}[hang]{\Huge\bfseries\sffamily}{{\fontsize{75}{80}\selectfont\color{chpgrey}{\thechapter~|~}}}{15pt}{}
My document class is scrreprt
.
Does anyone have an idea how I can achieve what I want?
Best Answer
One possibility is to use the
explicit
option fortitlesec
and two\parbox
es (one for the number and the vertical rule, the other one for the title) vertically aligned at the bottom:An image for a one line title:
An image for a title spanning two lines:
Feel free to adjust the widths of the boxes according to your needs.