Help:Questions

How Do I...  Please post site related problems on the  main talk page. i.e. Things not working as they should.

Underbrace and Overbrace
I'm having a problem with underbraces and overbraces in LaTeX. Normally,

\underbrace{a*a*\ldots*a}_{n \mbox{ terms}}

should give me an underbrace with "n terms" centered beneath it. Instead, it comes out looking like this:

$$\underbrace{a*a*\ldots*a}_{n \mbox{ terms}}$$

Clearly, the "n terms" is being interpreted as a subscript. The same thing happens with overbrace, except the "n terms" is interpreted as a superscript. What am I doing wrong? --Spoon737 19:36, 20 August 2008 (UTC)

For some reason some of the LaTeX commands don't work correctly, I'm not quite sure why that is but I'm trying to find out why, and then hopefully find a remedy. If anybody has MediaWiki experience, any help would be greatly appreciated. --Joe 20:34, 20 August 2008 (UTC)

A google search turns up http://www.haskell.org/haskellwiki/Help:Editing, which shows:

$$\begin{matrix} \underbrace{a*a*\ldots*a} \\{n times} \end{matrix}$$ which results in $$\begin{matrix} \underbrace{a*a*\ldots*a} \\{n \mbox{ times}} \end{matrix}$$ This page goes into detail on the sizing of the underbraces if you are doing them in tiers as well. I can't seem to make the subscript be a small character, but it's better than nothing. However, the problem is discussed more in detail here: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=17286 where they link to a supposed patch: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=17286 I don't know if you can install the patch, and if that would restore the old syntax. --cynic 19:48, 19 September 2008 (UTC)

I'll compile it and see if it works! --Joe 20:40, 19 September 2008 (UTC)

Got it fixed and working! Thanks Cynic! --Joe 14:41, 20 September 2008 (UTC)