Over in the pit, I said something to the effect of
“yadda — yadda”
using an em-dash and spaces in between it and the words it was separated.
waterj2 came along and suggested that perhaps one doesn’t do that. My copy of the Hacker’s guide was recently stolen, so I can’t look in there. I must therefore turn to you, O Teeming Millions, to settle this. Does anything go between a word and its em-dash?
Except for the weirdo cases, there are no spaces around the em-dash. I’m sure someone will have a copy of the Chicago Manual of Style to give an air of “officialness” to this.
Allow me to expand on that a bit. I shouldn’t have been so absolute. The rules seem to vary a bit from publisher to publisher.
If you are setting type in a professional program, you might add a small space there. However, I think that a full spaceband is too much. In most places (outside of publishing software, that is), you are unfortunately limited to either full spaces or none.
My personal taste says it looks fine without any space at all. Most fonts are designed with some space built into the ends of the dashes, anyway.
I’m afraid you’ve posted this in the wrong forum – you may think that the questions of spaces before and after the dash is a General Question, but in fact it is a Great Debate. I’ve had many a long, heated discussion over this very subject.
The battle over spacing of the dash is really just a skrimish between the two primary opposing forces in grammar and usage – rectitude and readibility.
The gramatical purists – those who will not be seen to ever split their infinitives – insist that the words around the dash should be pressed close around the punctuation. They are, of course, correct according the traditional rules of grammar.
Those who are more free in their usage – the coloquialists among us – contend that, whatever the traditional rules say, in typed text (including computer printed and displayed text) failing to include spaces before and after the dash makes the text much more difficult to read, and generally confuses the reader. It dilutes the effectiveness of this important punctuation mark – the space inserters say – to omit the clarity enhancing spacess around the dash.
As for me – you can guess the side of the debate on which I fall.