Page MenuHomePhabricator

broken syntax of underbrace etc. and arrays
Closed, ResolvedPublic

Assigned To
Authored By
AzaToth
Oct 28 2006, 11:18 PM
Referenced Files
F3217: test.png
Nov 21 2014, 9:24 PM
F3216: math.patch
Nov 21 2014, 9:24 PM

Description

The syntax of underbrace etc. is broken, resulting in sub and superscrips
getting wrong placement. Also the construct array is missing, which is needed to
be able to construct equations that is not always centered.

Patch is made, adressing this issues.


Version: unspecified
Severity: normal

Details

Reference
bz7741

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:24 PM
bzimport added a project: Math.
bzimport set Reference to bz7741.

change of braces and arrays

Attached:

ayg wrote:

Maybe you could explain the exact problems with the current behavior, and why
they're incorrect?

for "\underbrace{0\dots2}_4" the current effect is that the "4" is placed as a
"normal" subscript, instead of below and centered under the brace.

ayg wrote:

And do you have a source for the latter behavior being the correct one?

the current parser replaces the code "\underbrace{0\dots2}_4" with
"{\underbrace{0\dots2}}_4" which makes it impossible to utilize underbrace etc
to it's fully.

differences between the correct and incorreect rendering of underbrace

This image shows the differece between the rendering of an underbrace with the
correct and the incoreect way.

Attached:

test.png (331×813 px, 11 KB)