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'm using XeLaTeX on Linux (just to pre-empt any questions about that...)

I think my question is best described with this Picture:

enter image description here

As you can see in the red circles, the n \to \infty line got squeezed onto the baseline when \lim is used inside something like \frac{}{}, here's the relevant code portion:

    &=& \lim_{n \to \infty} - \frac{1}{n} \frac{c^{\frac{1}{n}}(c-1)}{c^{\frac{1}{n}} - 1} \\
    &=& - \frac{\lim_{n \to \infty} c^{\frac{1}{n}} (c-1)}
               {\lim_{n \to \infty} n \left(c^{\frac{1}{n}}-1\right)} \\

(the portion is inside an eqnarray* environment)

It should be evident, that in both instances, \lim has the same parameters, but behaves differently.

How do I avaid that line being squeezed over next to \lim rather than below it?

On a lesser note: I'd like to give my exponents a bit more headroom (blue circles), make them smaller maybe or something. Please advice what I should do.

share|improve this question
    
    
And please do stop using eqnarray, see tug.org/pracjourn/2006-4/madsen –  daleif May 3 '12 at 11:11
    
So... I gather from the article, that I should use align and equation instead... OK, I will do that in the future. I already turned the assignment in, as you've probably assumed. When making fractions in nested cases, I should just use slashes? –  polemon May 3 '12 at 12:16

1 Answer 1

up vote 3 down vote accepted

There are three problems in your input.

  1. Never use eqnarray.

  2. It's better not to use fractions in exponents.

  3. In this particular case, \lim\limits seems justified.

Here is an example:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{align*}
&= \lim_{n \to \infty} - \frac{1}{n} \frac{c^{1/n}(c-1)}{c^{1/n} - 1} \\
&= - \frac{\lim\limits_{n \to \infty} c^{1/n} (c-1)}
          {\lim\limits_{n \to \infty} n (c^{1/n}-1)}
\end{align*}
\end{document}

enter image description here

share|improve this answer
    
+1 for converting the fractions! –  Khaled Hosny May 3 '12 at 11:38
    
Thanks! I've put all your tips in my document. –  polemon May 3 '12 at 13:36

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.