\text{--}

The LaTeX command \text{--} is used to create an en dash, which is a typographic symbol that is wider than a hyphen but narrower than an em dash. It is commonly used to represent ranges, such as dates or numbers, and to connect related items.

Examples

Representing a range of months

January \text{--} March

Indicating a range of pages

pages 10 \text{--} 20

Connecting related items or concepts

New York \text{--} London flight