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.

I have scoured my code and tried it out without the alignment. There is nothing i can see wrong with the code, but when I try to use align or eqnarray, I always get some error message. Here's the code

\begin{align*}  
\oint_{|\zeta| &= \hat{R_2}} \frac{f(\zeta)}{\zeta - z} d\zeta \\ 
           &= \oint \frac{f(\zeta)}{\zeta} \frac{1}{1 - \frac{z}{\zeta}}    
d\zeta\\             
&= \oint \frac{f(\zeta)}{\zeta} \frac{1}{1 - \frac{z}  
{\zeta}} d\zeta \\      
&= \oint \frac{f(\zeta)}{\zeta} \cdot \left( 1 +   
\frac{z}{\zeta} + \frac{z^2}{\zeta^2} + \cdots \right)  d\zeta \\
&= \oint \frac{f(\zeta)}{\zeta} d\zeta + \oint \frac{f(\zeta)} 
{\zeta^2} z d\zeta + \oint \frac{f(\zeta)}{\zeta^3} z^2 d\zeta
%
\end{align*}

And here's the error message:

home/username/Dropbox/Math 132/.2013-07-01.tex.swp:105: Missing } inserted.   

<inserted text> 
            }  
l.105 \end{align*}

/home/username/Dropbox/Math 132/.2013-07-01.tex.swp:105: ==> Fatal error occurred,

Thank you !

share|improve this question
3  
You have a & in the subscript of \oint. That doesn’t belong there. –  Qrrbrbirlbel Jul 1 '13 at 19:53
add comment

2 Answers

your first line should be:

\oint_{|\zeta|} &= \hat{R_2} \frac{f(\zeta)}{\zeta - z} d\zeta \\ 

and maybe that \oint\limits_ looks nicer

share|improve this answer
    
So the missing } was at the beginning, good catch and thank you so much! –  user64742 Jul 1 '13 at 21:09
add comment

Code:

\documentclass{article}
\usepackage{amsmath}

  \begin{document}
   \begin{align*}  
      \oint_{|\zeta|} &= \hat{R_2} \frac{f(\zeta)}{\zeta - z} d\zeta \\ 
                        &= \oint \frac{f(\zeta)}{\zeta} \frac{1}{1 - \frac{z}{\zeta}}  d\zeta\\             
                        &= \oint \frac{f(\zeta)}{\zeta} \frac{1}{1 - \frac{z} {\zeta}} d\zeta \\      
                        &= \oint \frac{f(\zeta)}{\zeta} \cdot \left( 1 + \frac{z}{\zeta} + \frac{z^2}{\zeta^2} + \cdots \right)  d\zeta \\
                        &= \oint \frac{f(\zeta)}{\zeta} d\zeta + \oint \frac{f(\zeta)} {\zeta^2} z d\zeta + \oint \frac{f(\zeta)}{\zeta^3} z^2 d\zeta
   \end{align*}

 \end{document}

enter image description here

share|improve this answer
    
Please don't post only code without any explaining text. –  Martin Scharrer Jul 1 '13 at 20:18
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.