108

For formal articles, should a displayed equation be followed by a punctuation to conform to the language grammar ?

For example:

The most well-known physics formula is

    \[E=mc^2.\] %should I put a period here?

And if you expand

    \[(x+y)^2,\] % should I put a comma here? 

you will ...
1

6 Answers 6

51

For what it's worth, Knuth says that they should be added in Mathematical Writing.

Don’t overdo the use of colons. While the colon in ‘Define it as follows:’ is fine, the one in ‘We have: ⟨formula⟩’ should be omitted since the formula just completes the sentence. Some papers had more colons than periods.

That said, in the TeXbook, he omits the periods in some of his displays, but usually when he's showing TeX input and output. Compare the display on page 127

                                                                   α, β, γ, δ;

to the displays on page 128 (which I won't duplicate since that previous one was enough of a pain).

0
120

Some remarks about punctuation within displayed math from the practice of professional typesetting :

Displayed equation usually are considered to be part of the preceding sentence, that is it will get the very same punctuation as if it was inline math: if the sentence ends in a displayed equation it gets a period, if a where … is … or something like that follows, the equation is ended by a ,, and so on.

For LaTeX-code, this means that there is never a blank line before any displayed math environment, unless you want to start a paragraph with a displayed equation for some reason. Accordingly, after the \end{} there is only a blank line if the whole preceding paragraph ends with that very equation.

As for micro-typography, most publishers prefer a thinspace before any equation internal sentence-level punctuations. This holds for equation-final punctuation as well as punctuation within separable parts of an equation. By “sentence-level”, i mean punctuation that is not part of any mathematical expression. Elements of n-tuples, for instance, are separated by comma but these commas do not get any additional spaces. TeX itself considers bare punctuation inside math-mode to be mathematical symbols rather than sentence punctuation symbols; therefore, spacing around punctuation in math-mode is handled differently than spacing around their corresponding text-mode counter-parts.

The following screenshot covers some of the most frequent cases for spacing and punctuation within displayed math and how a typesetter would typeset them properly for most publisher's desires. This is how a professional typesetter would submit a document to the average publisher without causing reason for refund:

punctuation in displayed math

Some final words: After all it is a question of taste and concept whether or not displayed equations are part of the surrounding text and whether or not additional spacing is used to distinct math punctuation from text punctuation. When in doubt, imagine to substitute the equation(s) by a single symbol x and figure out how you would add punctuation and ask your publisher about proper spacing.

10
  • Thank you so much for this answer! It's just what I needed.
    – Translunar
    Jul 10, 2014 at 20:24
  • 11
    what does \, here mean?
    – Ka Wa Yip
    Jun 19, 2015 at 17:27
  • 14
    \, is a non-breakable thinspace.
    – Lupino
    Jul 9, 2015 at 8:35
  • 1
    @peter I personally haven't come across one that would require thinspaces in inline math as well.
    – Lupino
    Dec 18, 2020 at 12:15
  • 1
    7 years later, and yet, no one (myself included) spotted the error in the screenshot: In the last paragraph, there is an \eqref{eq:5} which should yield (5) since the fifth equation has that string as its label; however, in the rendering, the reference points to (6) as was actually intended... So, technically, there is a mismatch between the tex source code (right) and the rendering (left)… Sorry for that.
    – Lupino
    Sep 2, 2021 at 10:14
25

This has been discussed at great length over at mathoverflow. My personal opinion (which agrees with the two most upvoted answers over there) is that you should always use proper punctuation. (In the example of frabjous, where the period "." has a mathematical meaning, I would make an exception.) I think that if you look at books, you'll mostly find everything with punctuation (of course not in the case when I say that

a+b=b+a

holds for all real numbers a and b).

However; I think that Andy is right, there's no real consensus, and it seems to depend on the community if punctuation is desired or not.

2
  • The best practice might be to get all your displayed equation to be placed in the sentence in such a way that there is no need for punctuation (as in Hendrik's example). Although, this can be tough. Jan 21, 2011 at 23:29
  • 1
    @Bruno: Phew, that would indeed be tough. And, in fact, I don't agree. But well, there's no real consensus. Jan 22, 2011 at 7:56
9

I don't think there is any consensus on the matter. I've gotten into heated debates with co-authors on the matter, and I always fight to include the correct punctuation.

When you publish your paper, the journal will force you to conform to their style guide anyway, so it's not something you have complete control over (but it might be worth noting that many journals [eg, I believe, the Annals] believe in using correct punctuation on math displays).

6

Personally I think it looks very ugly to have punctuation there. It can also be confusing. Not long ago people used dots on the baseline for multiplication, and the Peanist school of logicians used dots in place of parentheses for grouping, and these could be misconstrued as that.

But take that with a grain of salt. I think you'll find that this this is something people disagree about. I've definitely had publishers of my work try to force this kind of punctuation on me, and I've always insisted that it be removed. Sometimes they do what I ask, and sometimes not, and I definitely have seen both practices in stuff that I read.

1
  • Thank @frabjous. I upvoted for "dots on the baseline for mul..." Dec 22, 2010 at 6:23
5

My personal view is that mathematical documents (as well as other structured documents) should have a linearized version that complies with a well-accepted and consistent set of punctuation rules. While using some symbols like the period may cause ‘interference’ with a display equation, it seldom seems to bring any real barrier for comprehension. (And if it does, you can always rearrange your sentence.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .