1

One of my chapter titles is only one or two characters longer than the text width; therefore latex breaks the chapter title automatically and moves the last word to the next line.

How can I prevent the automatic line break in only one chapter title and allow the last word run over the margins one or two characters.

note: I want the title to be left aligned

Thanks

3
  • 1
    replace the last word zzzzz by \rlap{zzzzz} ? and use \chapter[...]{...} form so you only affect the main heading not table of contents etc Commented Oct 4, 2018 at 12:41
  • Please tell us which document class you employ and whether you load a package, such as titlesec, which affects the way chapter headers are typeset.
    – Mico
    Commented Oct 4, 2018 at 12:43
  • \rlap{...} solved my problem. thanks @DavidCarlisle.
    – ehsan
    Commented Oct 4, 2018 at 12:53

1 Answer 1

2

you can use

\chapter[title with long text]{title with long \rlap{text}}

which hides the size of the last word (while not messing up the table of contents)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .