W3C home > Mailing lists > Public > www-math@w3.org > January 2007

display="block" question

From: Richard Kaye <R.W.Kaye@bham.ac.uk>
Date: Fri, 26 Jan 2007 11:46:39 -0000 (GMT)
Message-ID: <48824.147.188.55.51.1169811999.squirrel@web.mat.bham.ac.uk>
To: www-math@w3.org

Here's a very small point I would appreciate comments on.
(Possibly something for the MathML3.0 team.)

If I am writing an XHTML+MathML document and want to
"display" an equation ($$ ... $$ or \[ ... \] in LaTeX)
I should do

  <math display="block"> ... </math>

Depending on the style of the document, I may require
punctuation after the equation.  This is usually , . or ;
Some document-styles will require none.  Because LaTeX
teaches us to do this, I have been putting the punctuation
inside the <math>...</math>, and it looks fine, but of
course this punctuation is not part of the equation at
all so ought not be there. My question is, where should
it go?

Best wishes

Richard
Received on Friday, 26 January 2007 11:47:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT