W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Re: line breaks vs. line elements (comments on XHTML 2.0 text module)

From: Bertilo Wennergren <bertilow@gmx.net>
Date: Thu, 07 Nov 2002 19:07:22 +0100
Message-ID: <3DCAABDA.1010905@gmx.net>
To: html-w3c <www-html@w3.org>

Peter Sheerin:

> So, in XHTML, this would be:

> <p>The displacements of the membrane
> under load are described by the equations<br />
> <math>
> [two fancy math expressions were here]
> </math>
> where r is the radial coordinate, a is the
> radius of the clamping edge, w is the
> transverse...</p>

> In the printed version of the article, the text before the equations are printed
> as two lines, but since you can't know that in advance for the XHTML version, I
> don't see how the <line> element could ever duplicate this behavior.

I think the following will do what you intend:

  <p><line>The displacements of the membrane
  under load are described by the equations</line>
  <math>
  [two fancy math expressions were here]
  </math>
  where r is the radial coordinate, a is the
  radius of the clamping edge, w is the
  transverse...</p>

The "line" element will be automatically broken onto two display lines
if needed.

-- 
Bertilo Wennergren <bertilow@gmx.net> <http://www.bertilow.com>
Received on Thursday, 7 November 2002 13:06:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT