Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For those of you who are familiar with my questions, you would know that I'm a newbie.

If you aren't, well you know now.

What is wrong with the following piece of LaTeX? MathJax won't render it as correct.

\frac{2^5}{2^{-2}}\\=2^5^{-\left(-2\right)}\\=2^{5+2}\\=2^7\\=128

This is in MathJax, so there wouldn't be anything fancy.

share|improve this question

1 Answer 1

up vote 9 down vote accepted

I'm not sure about MathJax, but as far as LaTeX is concerned the only problem is the double superscript. Try changing the second line to

2^{5-(-2)}

(or including the \left and \right if you want, although they won't affect anything in this particular case because what is inside them, -2, fits on a single line).

share|improve this answer
    
ah thanks so much! really helped. –  think123 Oct 13 '12 at 4:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.