Last modified: 2006-11-09 12:21:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7741 - broken syntax of underbrace etc. and arrays
broken syntax of underbrace etc. and arrays
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Carl Fürstenberg
: patch, patch-need-review
Depends on: 7768
  Show dependency treegraph
Reported: 2006-10-28 23:18 UTC by Carl Fürstenberg
Modified: 2006-11-09 12:21 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

change of braces and arrays (3.20 KB, patch)
2006-10-28 23:19 UTC, Carl Fürstenberg
differences between the correct and incorreect rendering of underbrace (11.93 KB, image/png)
2006-10-29 12:55 UTC, Carl Fürstenberg

Description Carl Fürstenberg 2006-10-28 23:18:15 UTC
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.
Comment 1 Carl Fürstenberg 2006-10-28 23:19:14 UTC
Created attachment 2587 [details]
change of braces and arrays
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-28 23:21:35 UTC
Maybe you could explain the exact problems with the current behavior, and why
they're incorrect?
Comment 3 Carl Fürstenberg 2006-10-28 23:22:58 UTC
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.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-28 23:33:12 UTC
And do you have a source for the latter behavior being the correct one?
Comment 5 Carl Fürstenberg 2006-10-28 23:34:57 UTC
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.
Comment 6 Carl Fürstenberg 2006-10-29 12:55:16 UTC
Created attachment 2591 [details]
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.
Comment 7 JeLuF 2006-10-29 14:08:59 UTC
Fixed in r17286

Note You need to log in before you can comment on or make changes to this bug.