On Wed, 24 Jan 2018, Henning Hraban Ramm wrote:
Am 2018-01-23 um 22:31 schrieb Henning Hraban Ramm
: I have this nice/complicated chapter setup (see attachments): Three problems I cannot get rid of:
- There’s always an indent in front of the title (red box); it should not. - The subtitle should start on the same line as the main title. - The subtitle should have an appropriate line spacing.
I could solve the subtitle placement with layers.
But the chapter title still has this indent. :-(
Untested, but you have two spurious spaces in your code \define[2]\ChapterCmd{% \inouter{\framed[frame=off,align=flushleft]{% %\startlinecorrection \switchtobodyfont[rm,12pt] % <-- Here. Remove space before % \structureuservariable{subtitle}}% %\stoplinecorrection }% << HERE: % was missing \framed[width=\textwidth,frame=off,align=flushleft]{\ChapterTitleFont #2} } Aditya