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 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
    Oct 4, 2018 at 12:43
  • \rlap{...} solved my problem. thanks @DavidCarlisle.
    – ehsan
    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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.