In many bibliography styles repeating authors are indicated with three emdashes, forming a single line. This works well with some fonts, while for others it leaves gaps:
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\newcommand*{\threeemdashes}{\textemdash\kern-1pt\textemdash\kern-1pt\textemdash}
\begin{document}
\raggedright
\fontfamily{lmr}\selectfont%
Latin Modern \textemdash{}\textemdash{}\textemdash{} Latin Modern \linebreak
Latin Modern \threeemdashes{} Latin Modern \linebreak
Latin Modern \rule[0.6ex]{2.3em}{.4pt} Latin Modern\linebreak
Latin Modern mmm Latin Modern
\fontfamily{LinuxLibertineO-OsF}\selectfont
Linux Libertine \textemdash{}\textemdash{}\textemdash{} Linux Libertine \linebreak
Linux Libertine \threeemdashes{} Linux Libertine \linebreak
Linux Libertine \rule[.55ex]{2.2em}{.5pt} Linux Libertine\linebreak
Linux Libertine mmm Linux Libertine
\end{document}
As you can see, I tried to fiddle with the kerning by myself, but this does not scale well, compare, e.g., {\tiny\threeemdashes} and {\Huge\threeemdashes}. I already learned that I can not fix this with additional kerning pairs myself, via TeX at least. I even tried to paint a long rule by hand, but that does not scale either, and LaTeX rules are rectangles, while the rounded ends of the dashes look much better. Moreover, getting the right values for thickness and raise seems hard. To my surprise I also learned that emdashes are not as wide as m in most fonts, and the length 1em does not describe the width of an m!?
I would figure that this is not a niche problem, and many solutions should be around. So is there a One True Solution that scales with font size, font type etc.?
And yes, I absolutely want to use pdflatex.

-1ptto a font dependent length like-0.1emit would scale better with font size changes. – David Carlisle Nov 23 '12 at 17:12IEEEstyle? – cacamailg Jul 29 '15 at 23:45