hyphen textendash textemdash

Source

  • there are three main types (lengths) of dashes
    • the hyphen -,
      • it’s used for inter-word hyphenation like “well-being”
    • the en-dash \textendash{} which is slightly longer than the hyphen, and
      • it’s used for ranges, e.g., July 9 \textendash{} August 17 or pp. 37 \textendash{} 59
    • the em-dash \textemdash{} which is even longer than the en-dash
      • it’s used for strong breaks, where a comma might be too subtle, e.g., We bought markers, paper, pens, and tablets \textemdash{} all of which were on sale, of course \textemdash{} for our clients to use in the courtroom., or
      • to separate words from each other in a title, e.g., \section{Der kontinuierliche Fluss \textemdash{} Contiflow}