10
May
There are actually three kinds of dashes in LaTeX, each serving a different purpose. Let’s use them well.
- The intra-word one is simply a single dash. Example:
I like ice-cream. - We should use two dashes to indicate number range. The most common place this comes up is in the bib file. Note that there should be no space surrounding it. Example:
pages = {293--299} - The last one is the actual dash punctuation where there are three dashes in a row and again there should be no space surrounding it. Example:
Sometimes it's difficult---or even downright impossible---to come up with a short example sentence.