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.

How can I write 2^((n-1)/3) or anything similar in LaTeX? I am new to the whole thing, but I tried giving it a shot and it doesn't look the way I want it too. It looks like I am taking the 2 to the power of parenthesis, which is silly.

share|improve this question
1  
Welcome to TeX.sx! A notation such as the one obtained by $2^{(n-1)/3}$ is rather common. –  egreg Mar 2 '13 at 0:44
6  
Welcome to TeX.sx! Take a look at How to write 1, 2, ... as a subscript to a letter? and get used to { } which groups (n-1)/2 so that the whole fraction gets “superscripted.” –  Qrrbrbirlbel Mar 2 '13 at 1:08
1  
The key to remember in LaTeX is that braces are the (unseen) grouping symbols. Therefore, after the ^ character, whatever is enclosed in braces {} will be the exponential –  Steven B. Segletes Mar 2 '13 at 3:16
    
Thank you guys, you've helped a lot. –  Chase Mar 4 '13 at 21:19
1  
(n-1)/2 is an expression, not an equation (despite what MS Word says). But if you had an equation such as x=3, you could still form the expression $2^{x=3}$. –  Matthew Leingang Apr 10 '13 at 0:25
show 1 more comment

1 Answer

up vote 2 down vote accepted

Just to give a little closure...

Depends on what you want. As egreg said, you can go by

$2^{(n-1)/3}$

...or you could also try using \frac{numerator}{denominator}, as in

$2^{\frac{n-1}{3}}$

share|improve this answer
add comment

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.