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

  • 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 – David Carlisle Oct 4 '18 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 '18 at 12:43
  • \rlap{...} solved my problem. thanks @DavidCarlisle. – ehsan Oct 4 '18 at 12:53
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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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