I am used to writing the names of categories in sans-serif. Thus, for the category of R-modules, I have been using
$R\textrm{-}\textsf{Mod}$
However, the kerning/spacing this produces has never been pleasing (click for larger version):
Playing around a bit, I think maybe I'm not crazy, but perhaps there's something actually wrong with how the hyphen is being spaced in sans-serif. For example, the following code
\documentclass[11pt]{article}
\usepackage{amsmath,amssymb,amsfonts,graphicx}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
M-M \vspace{-0.45cm}
\rotatebox{180}{M-M}
\end{document}
produces (click for larger version):
I'm not sure how to calculate lengths in LaTeX, but just by putting a ruler on my screen, I'm sure this is uneven.
Now, I wouldn't expect it to be even in the usual serif font, because then M is not a fully symmetric letter, but in the sans-serif font, it seems to me that M is completely symmetric and should be spaced as such.
So, I suppose I have three questions:
- Is this how it is intended to look, or am I doing something wrong?
- While it seems like an error to my sensibilities, is there a reason why it might have been intentionally designed this way?
- How can I get the spacing on each side of the hyphen to be equal in sans-serif, particularly for my original goal of writing the category of R-modules?





\setlength{\fboxsep}{0pt}\fbox{-}will show that the hyphen is not centered. You can always write-\kern-0.5ptto close up some space. Hyphens have to serve in many places, and several letters are more open to the right, so this might be a reason for the design decision. – Andrew Swann Mar 19 at 20:02