I usually put a space before, and after / when indicating alternatives, such as in the following sentence.
We review a module / theme per user.
Is it correct, or should I re-write the sentence as follows?
We review a module/theme per user.
|
I usually put a space before, and after / when indicating alternatives, such as in the following sentence.
Is it correct, or should I re-write the sentence as follows?
|
||||
|
|
|
You should remove the spaces. Unless, of course, you are quoting a poem, in which case the slash indicates a line break:
Wikipedia has more info:
|
|||||
|
|
I believe the correct usage is word/word unless you're writing a line break in a poem: Shall I compare thee to a summer's day? / Thou art more lovely and more temperate: / Rough winds do shake the darling buds of May, / And summer's lease hath all too short a date: |
|||
|
|
|
In print I would leave no space, but for online usage I bracket the "/" with spaces because it is a non-breaking character and results in huge, clunky amalgamations that take up a whole line, leaving the previous line with but a couple of words. This is the kind of break I mean:
The two long words won't break at a line end because of the slash, but will if the slash is surrounded by spaces. |
|||||||||||||||||
|
|
Punctuation surrounding a slash is a matter of style. The Chicago Manual of Style, for example, allows for a space on either side of the slash when either of the separated items has a space itself. For your example a space on either side of the slash would be appropriate according to that style convention. Regarding line breaks, you probably want the front space padding the slash to be a non-breaking space, as starting a new line with a slash would be jolting for a reader. |
|||
|
|