Tuesday, August 9, 2011

figure dash in XeLaTeX

Figure dash ‒ is used for dashes in numbers (0763‒5345). It does not indicate a range, for which the en dash is used. In LaTeX there are commands for:
  • endash: \textendash
  • emdash: \textemdash
  • minus: \textminus
Because the code for figure dash is 0x2012 I define the following command for a figure dash in XeLaTeX:
\newcommand{\textfigdash}{\char"2012 }%figure dash ‒

No comments:

Post a Comment