# Non-breaking Spaces ★

## Why use them?

This evening, when I was writing a post about an ImageMagick command that I’ve learnt, I used the unit “pixel” to describe the dimensions of an image.1 In a measurement, the quantity and the unit should be separated by a non-breaking space for the sake of readability.2

To illustrate the effect of a non-breaking space, I’ll use some screenshots.

## How to use them?

Unlike pandoc markdown, one can’t use \  for a non-breaking space.3

The external URL of this linklog has a link to a Wikipedia page which is cited in footnote 2. From the table in the section “Keyboard entry methods”, I can directly insert the non-breaking space character using Linux compose key.4

1. Non-breaking space. (2014, September 4). In Wikipedia, The Free Encyclopedia. Retrieved 11:13, September 14, 2014, from http://en.wikipedia.org/w/index.php?title=Non-breaking_space&oldid=624117646#Non-breaking_behavior

2. Pandoc’s markdown by John MacFarlane.

3. For a list of Linux compose keys, see Linux Compose Keys List