47

I usually put a space before and after a slash, when indicating alternatives.

We review a module / theme per user.

Is it correct, or should I rewrite the sentence to remove those spaces?

We review a module/theme per user.

0

7 Answers 7

49

You should remove the spaces. Unless, of course, you are quoting a poem, in which case the slash indicates a line break:

We review a module
theme per user.

Wikipedia has more info:

There are usually no spaces either before or after a slash. Exceptions are in representing the start of a new line when quoting verse, or a new paragraph when quoting prose. The Chicago Manual of Style (at 6.112) also allows spaces when either of the separated items is a compound that itself includes a space: Our New Zealand / Western Australia trip. (Compare use of an en dash used to separate such compounds.) The Canadian Style: A Guide to Writing and Editing prescribes "No space before or after an oblique when used between individual words, letters or symbols; one space before and after the oblique when used between longer groups which contain internal spacing", giving the examples "n/a" and "Language and Society / Langue et société".

2
  • 3
    RegDwight is correct about removing the spaces. I would make one exception: if the extra space improves readability. This, however, is rare, and the only situation I've seen it used is in computer code that is non-white-space sensitive.
    – kajaco
    Commented Aug 29, 2010 at 12:44
  • 2
    Sometimes a space can reduce confusion if an item already has a slash in its name. For example, consider the OS/2 operating system. If you're referring to either OS/2 or its replacement ArcaOS, then it would make sense to write "OS/2 / ArcaOS" instead.
    – Danny
    Commented Jun 27, 2020 at 19:29
11

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:

If you wanted to use some long words, you could 
go the 
antidisestablishmentarianism/pneumonoultramicroscopicsilicovolcanoconiosis
route.

The two long words won't break at a line end because of the slash, but will if the slash is surrounded by spaces.

5
  • 4
    I wish I could give you +2 for 'pneumonoultramicroscopicsilicovolcanoconiosis' Commented Dec 21, 2010 at 20:14
  • 11
    The trick there is to put a zero-width space (U+200B) after the slash Commented Dec 21, 2010 at 20:22
  • 6
    @Brian: that, and a few soft hyphens (­) into the words themselves, enabling the browser to break them into multiple lines when needed. I once had to use that famous 79-letter German word in an answer of mine, and the soft hyphens worked wonders.
    – RegDwigнt
    Commented Dec 21, 2010 at 20:41
  • @Brian Nixon, @RegDwight: Zero-width spaces and soft hyphens aren't always available in the Web's various text inputs. Some systems strip out all exotica. Besides, I don't have all the codes memorized in Windows and I'd rather not have to look them up when a simple tap of the space bar gets the job done and causes no offense.
    – Robusto
    Commented Dec 21, 2010 at 23:23
  • 4
    Well, yeah, limited systems are limited. I was merely pointing out that not all systems are anywhere as limited as one might think. Otherwise some people might walk away from your answer with a wrong impression of what's actually possible. Many of the Web's various text inputs also don't allow Germans to enter the letters ä, ö, ü, ß, forcing them to write ae, oe, ue, and ss, respectively. That, too, gets the job done and causes no offense, but it's still a workaround, and it should not be mistaken for anything other than that. That's all I'm saying here, workaround ≠ norm.
    – RegDwigнt
    Commented Dec 22, 2010 at 14:50
10

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:

10

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.

1
  • Hello, Jeff. Revisiting years later. But could you please give the quote from CMOS in its entirety so that it's plain what they mean? Thanks. Commented Jun 21, 2019 at 9:51
5

As a technical writer I need to edit content written by engineers. for some reason they have a tendency to use spaces before and after slashes, and I religiously remove them.

I have started rethinking my inflexibility in this matter as I believe there are times that spaces make the content more user friendly.

A case in point is either/or listings of terms that contain other symbols, for example "PMC_IO51 / XMC_IO_B-9". The spacing makes it clear that the slash is not part of either term.

1
  • 1
    As noted above, “The Chicago Manual of Style (at 6.112) also allows spaces when either of the separated items is a compound that itself includes a space.” I'd treat your example the same way because of the underscores, which have the same visual effect as internal spaces. Avoiding ambiguity in terms that might contain slashes is another good reason. Commented Aug 1, 2013 at 6:23
2

Normally, no spaces should be used; however, placing a slash with no spaces between two long, polysyllabic words (common in technical writing) makes the sentence harder to scan. This could be one case where ignoring your style guide is justified.

1

Preferred: We review a module or theme per user.
Optional: We review a module/theme per user.
Wrong: We review a module / theme per user.

When a forward slash is being used to signify options, a general rule is there should be no space on either side of a slash when the alternatives consist of a single word. It is advised to leave a space for better readability on both sides of a slash when the alternatives consist of two or more words or they are complex abbreviations.

Note, however, that the majority of style guides (ACS, AMA, APA, MLA, CMOS, CSE—see below) emphasize that slash should be used sparingly and shall never be used to mean legalistic terms “and” or “or”. Slash breaks the reading flow and is poorly positioned on many fonts. Also, in technical writing it is already applied in numerous abbreviations, dates, math expressions, symbols, URLs and code, making its use for options in text more ambiguous.

Therefore, a slash should be replaced with a conjunction to connect the options whenever possible. Relevant quotations from various style guides:


  • ACS [1, p. 56]:

    Do not use a slash to mean “and” or “or”.
    incorrect
     Hot/cold extremes will damage the samples.
    correct
     Hot and cold extremes will damage the samples.

  • ACS [1, p. 219]:

    Leave no space
    […]

    • on either side of a slash (/)

  • AMA [2, p. 472]

    8.4 Forward Slash (Virgule, Solidus). The forward slash is used to represent per, and, or or and to divide material (eg, numerator and denominator in fractions; month, day, and year in dates [only in tables and figures]; lines of poetry). It may also be used in URLs (see 2.0, Manuscript Preparation for Submission and Publication).

    8.4.1 Used to Express Equivalence or Duality. When 2 terms are of equal weight in an expression and and is implied between them to express this equivalence, the forward slash can be retained.

    • Developing skin cancer screening recommendations in the Hispanic/Latino population can be challenging.
    • The diagnosis and initial treatment/diagnostic planning were recorded.
    • There was an excess incidence of prostate cancer, thyroid cancer, and multiple myeloma in the rescue/recovery workers.
    • This is an and/or decision.
    • If the approval process raises concerns among the researchers or the ethics committee/institutional review board members, the author may want to explain the resolution of these issues.

    When the question of duality arises in the he/she construction, change the slash construction when the sex or gender is to be specified; substitute the word or for the forward slash or, preferably, rephrase to be gender neutral.

    • Dr Kate Wolf and Dr Rob Cox agreed to serve on the nomenclature committee. Now I need to know whether he or she [not he/she] will lead the subcommittee on genetic nomenclature.
      -Better: Now I need to know which of them will lead the subcommittee.

    If the sex is unspecified and does not matter, the slash construction is permissible.


  • APA [3, pp. 160–161]:

    6.10 Slash

    Use a slash (also called a “virgule,” “solidus;” or “shill”) in the following cases:

    […]

    • to specify either of two possibilities
      and/or (use sparingly)
      Latino/a

    […]

    Do not use a slash in the following cases:

    […]

    • when a phrase would be clearer
      Correct: Each child handed the toy to their parent or guardian.
      Incorrect: Each child handed the toy to their parent/guardian.

  • CMOS [4]:

    6.106 Slashes to signify alternatives. A slash most commonly signifies alter­natives. In certain contexts it is a convenient (if somewhat informal) shorthand for or. It is also used for alternative spellings or names. Where one or more of the terms separated by slashes is an open compound, a space before and after the slash can make the text more legible.

    he/she
    his/her
    and/or
    Hercules/Heracles
    Margaret/Meg/Maggie
    World War I / First World War


  • MLA [5, p. 77]:

    21h The slash

    […]

    Use the slash sparingly, if at all, to separate options: pass/fail, producer/director. Put no space around the slash. Avoid using expressions such as he/she and his/her and the awkward construction and/or.


  • CSE [6, p. 75]

    5.4.2.1 General Use

    The main use of the slash is as a symbol for the mathematical operation of division (meaning “divided by”). It has also come into general use to indicate alternatives. A few terms that incorporate the slash, such as “and/or” (meaning “either or both”), are used widely enough that they appear in standard dictionaries and are unlikely to be misun­derstood. For the construction “he/she” (meaning a person of unspecified sex), it may be preferable to rephrase as a plural construction (using “they”).

    Other, temporary uses of the slash may result in ambiguity, and rephrasing for clarity is advised. For example, a series can be punctuated with commas (see Section 5.3.3), and coordinate modifiers can be punctuated with en dashes or hyphens (see Sections 5.3.5.3 and 5.4.1).

    The route of the geology tour was New York, Pittsburgh, Chicago, and Salt Lake City.
    not The route of the geology tour was New York/Pittsburgh/Chicago/Salt Lake City.


  • The Craft of Scientific Writing [7, p. 24]:

    A third common source of needless complexity at the word level is the slash (/). The slash is an ugly piece of punctuation that adds unwanted complexity to the language. Examples include he/she, s/he, w/o, and and/or. For the first two examples, you can write she or he or you can use plural pronouns (they, them). In the case of w/o, simply write without. Finally, in the case of and/or, which no doubt a lawyer created, using either or or and suffices most of the time. For those cases in which both are required, you should rely on plain English:

    • Detection calls for an ultrasound or EKG or both.

    You should apply the same stylistic strategy for other concocted slashed terms. In other words, do not write

    • …impact/influence on reservoir quality…
    • …difficult/misinterpreted measurements….

    Instead, either choose one of the terms or use a conjunction to connect the terms:

    • …influence on reservoir quality…
    • …difficult or misinterpreted measurements….
  • The Craft of Scientific Writing [7, p. 248]:

    The Slash. As stated earlier in this book, the slash is an ugly piece of punctuation that adds significant complexity to the language. To reduce this complexity, you should avoid word constructions that incorporate slashes. The best solution is to replace the slashed compound word with just a single word—for example, replace demonstrate/show with show. When that possibility does not exist, replace the slash itself with a conjunction such as and or or.


References

  1. The ACS Style Guide: Effective Communication of Scientific Information, 3rd ed.; Coghill, A. M., Garson, L. R., Eds.; American Chemical Society; Oxford University Press: Washington, DC; Oxford; New York, 2006. ISBN 978-0-8412-3999-9.
  2. AMA Manual of Style: A Guide for Authors and Editors, 11th ed.; American Medical Association, Ed.; Oxford University Press: New York, 2020. ISBN 978-0-19-024655-6.
  3. Publication Manual of the American Psychological Association, 7th ed.; American Psychological Association (Washington, District of Columbia), Ed.; Washington, 2019. ISBN 978-1-4338-3215-4.
  4. The Chicago Manual of Style, 17th ed.; University of Chicago Press: Chicago; London, 2017. ISBN 978-0-226-28705-8.
  5. Hacker, D.; Sommers, N. I. A Pocket Style Manual: 2016 MLA Update; 2016. ISBN 978-1-319-08352-6.
  6. Scientific Style and Format: The CSE Manual for Authors, Editors, and Publishers, 8th ed.; Council of Science Editors, Ed.; Council of Science Editors; London: in cooperation with The University of Chicago Press: Chicago, 2014. ISBN 978-0-226-11649-5.
  7. Alley, M. The Craft of Scientific Writing, 4th ed.; Springer: New York, NY, 2018. ISBN 978-1-4419-8287-2.
3
  • Hello, andselisk. Please give endorsement for your stark claim that spacing the slash is wrong. Note that others have also made this claim, and added supporting references. // The acceptability of the slash per se is another question, and has been discussed elsewhere on ELU. Commented Mar 19, 2021 at 16:33
  • @EdwinAshworth I added references to the style guides and quoted relevant sections regarding both spacing and applicability of slash in this particular case.
    – andselisk
    Commented Mar 19, 2021 at 17:37
  • 1
    Thank you. It's now a candidate for the canonical answer on slash usage. // I still use it for those cases where 'and' and 'or' seem equally appropriate / equally appropriate for my purposes. And I sometimes feel spacing serves my purposes better, while at other times (suggesting synonyms or close relatives) I feel zero spacing is clearer. Commented Mar 19, 2021 at 17:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.