Random ramblings about Mac, Python, TeX, programming, and more   |     |        |     |  



Non breakable spaces in Word

September 22, 2015  |  publ

I prefer TeX and friends (LaTeX, MetaPost, BibTeX) when writing papers. But sometimes I have to use Microsoft Word. One annoyance I have observed in many documents written in Word is line breaks (word wrapping) in the wrong places. Not all spaces are the correct place to break lines in a text. In TeX, I would write the tilde (~) character instead of a space, and in HTML, I would use the character entity  . This would create a space where a line break will not occur. However, this is also easily possible in Microsoft Word. Instead of inserting the space by typing on the Spacebar, press Ctrl-Shift-Spacebar, and a non-breakable space is inserted in your document.

Last updated: June 22, 2024