User:Pfafrich/Blahtex ^\sqrt bugs

From Wikipedia, the free encyclopedia

User:Pfafrich/Blahtex en.wikipedia fixup

This page is part a set of pages devoted to fixing latex bugs in the english wikipedia so that they will be compatable with the meta:Blahtex MathML project.

Below are pages which contain x^\sqrt',x^\acute etc. Each occurence x^\sqrt{a} should be replaced by x^{\sqrt{a}} and when fixed the pages should be moved to the done section. Feel free to fix as necessary.

The combinations affected are

  • x^\overline{y}
  • x^\left(y\right)
  • x^\acute{n}
  • x^\hat{n}
  • x^\mbox{n}
  • x^\sqrt{n}
  • x^\ldots
  • x^\overline{y}
for i in acute hat ldots left mbox overline sqrt underline ; do 
grep "\\^\\\\$i" eqnsJan06.txt >> raise.txt
done

[edit] Done

[edit] Undone

[edit] Update

STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP

No, "x^\frac{a}{b}" is perfectly okay! On both blahtex and regular LaTeX!

Even "x^\frac a b" is fine.

The reason: "\frac" is a macro in LaTeX, and "x^\frac a b" gets expanded as "x^{a \over b}" (well maybe something more complicated, but you get the idea).

Blahtex knows this about "\frac".

So leave this page alone and go onto the next one!!! Dmharvey 03:55, 11 February 2006 (UTC)

STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP