I'm fairly new to LaTeX, I mostly use it to take calculus notes that I can actually read because relying on my handwriting has not worked very well in the past. I was wondering if there was a way to make \lim work in a way like the eqnarray environment does. Like when you write:

2(2)^2 &=& 2(4) \\
&=& 8

then it aligns all the answers. Limits don't necessarily state an equation relation, but it would still be convenient to type \lim_{x \to 0} once and align all the modifications made to the equation it applies to, to declutter the actual note page and speed up the note taking process.

Basically, I want to write

\lim_{x \to 0} &=& x^{5x} \\
&=& e^{\ln x^{5x}}

except without any equal signs.

  • Do you also want the equations to be numbered? – Werner Mar 21 '17 at 18:25
  • Welcome to TeX.SE! Please, clarify your question with small, complete document with \documentclass{...} on beginning and \end{document} on the end and on its result show to us, what is your problem. – Zarko Mar 21 '17 at 18:41

You can use some of the aligning environments offered by the package amsmath (which are better than eqnarray anyway).

enter image description here

2(2)^2 &= 2(4) \\
       &= 8

\lim_{x \to 0} {} & x^{5x} \\
                  & e^{\ln x^{5x}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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