For anonymization, I want to remove people's names. I have read that the 2em-dash is fine for this. Since there's no ----
for that, I googled a bit about the options.
There's a source (TUGboat, Volume 24 (2003), No. 2
) that suggests the definition of \iiemdash
:
\newcommand*{\iiemdash}{% 2em dash
\rule[0.5ex]{2em}{0.4pt}}
However, I compared that to the em-dash (---
) and find that they are not on the same height:
@Dr. Manuel Kühner asked why the position is important for me. From a graphic design perspective, I think it looks better, just in case different dashes occur on the same line. If --
and ---
are on the same height, what would the reason be to have the 2em-dash on a different height?
@alephzero suggested that I could adapt the position to my font. However, if there's a font-independent solution, I'd prefer that.
Then I thought about simply using 2 em-dashes:
\newcommand*{\iiemdash}{------}
which looks fine. I noticed I had trouble with the following spaces, so I added a \
.
\newcommand*{\iiemdash}{------\ }
I used it for a while - until one of the redacted names caused a line break.
I fixed this using an additional \mbox
:
\newcommand*{\simple}{\mbox{------}\ }
At the moment, this works for me. However, having had all the problems already, I wonder whether there's something else to consider - and of course I'd like to know how a pro would define a 2em-dash.
---
a problem? 2) * I noticed I had trouble with the following spaces* --> maybe have a look at thexspace
package.0.5ex
in the\iiemdash
to match the em-dash in your font?--
and---
and on the same height, why should the 2em-dash differ from that? 2) thanks.