Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Chuck's CnxBlog » Math line-breaking in MathML and LaTeX

Math line-breaking in MathML and LaTeX Math line-breaking in MathML and LaTeX

Document Actions
Submitted by cbearden. on 2007-09-25 15:10. MarkupPrinting
A thread from the W3C www-math mail list mentions a possibly useful LaTeX package.

In June of this year, line-breaking in MathMl was discussed on the W3C's www-math list. Some strategies for controlling line-breaks in MathML markup are discussed (Ray and Brian may find this thread interesting). In the course of the discussion a LaTeX package breqn was mentioned. From the CTAN page on breqn:

The package provides solutions to a number of common difficulties in writing displayed equations and getting high-quality output. For example, it is a well-known inconvenience that if an equation must be broken into more than one line, ‘left...right’ constructs cannot span lines. The breqn package makes them work as one would expect whether or not there is an intervening line break.

The single most ambitious goal of the breqn package, however, is to support automatic linebreaking of displayed equations. Such linebreaking cannot be done without substantial changes under the hood in the way formulae are processed; the code must be watched carefully, keeping an eye on possible glitches.

Must try the breqn package. Also, I realize that I wasn't "seeing things" when LATEX complained that \right) on multi-line math expressions were unbalanced--by default, TEX math mode doesn't handle \left( and \right) delimiters correctly across multiple lines. Another TEX/ LATEX frustration.

Developer Blog
« August 2008 »
Su Mo Tu We Th Fr Sa
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
2008-08-14
15:42-15:42 Signing on to Jabber from multiple locations
Categories:
Content (55)
Copyright (0)
Deep Code (3)
Development (200)
Markup (22)
Metadata (1)
Printing (7)
Style (9)
Testing (2)
Usability (6)