[Tex/LaTex] “Bleed” text into the page margins


Is it possible to have lines (as an exception) that continue into the right margin ?

Here's why I hope it's possible: I have a document and one of the headings is the formal name of a particular organization. The name is a few letters wider than what fits in the article's text width. It looks uglier if I break it in two lines than allowing for this exception (because of the space around it, in this particular document it doesn't look that bad).

One option suggested by SE is given in the question How can I change the margins for only part of the text?. The reason I'm asking is that maybe there is another way, to tell LaTeX "do not break this line, even if you bleed into the margin".

If there isn't, I'll look into the changepage package, but it's worth asking.

Thanks in advance.

Best Answer

It can depend on where you need to do this, but the standard methods for keeping text together should work for you:

aaa bbb ccc ddd~eee~fff ...


aaa bbb ccc \mbox{ddd eee fff} ...

Under no circumstances will ddd eee fff ever break, so you can write the entire organisation name with \mbox and it should do what you want.

Related Question