[Tex/LaTex] Preventing text from spreading over two lines in LaTeX

line-breakingtext;

I have margins which I have to oblige by and also notes telling me that if I insert this tilde ˜ in front of each word it will stay on a line without getting broken. I have done this but this has not worked with

Lettre d'\'{E}tienne Pascal et Roberval ˜\`{a} ˜Fermat. 

Fermat breaks onto the second line reading Fer-……mat.I tried with a standard ~ too. Any suggestions on how to prevent this break?.

Best Answer

Tilde symbols can be used to prevent line breaks between words, for example

Don't~break~this.

To prevent a word from being split up and hyphenated, you can use a box:

\mbox{Fermat}
Related Question