我正在使用Latex創建方程式,並使用Mathjax將其呈現在網站上。公式顯示問題 - Mathjax/Latex
當多個'lim'進入同一行時,第二個'lim'顯示不正確,如圖所示。
以下是等式的膠乳代碼。如何解決這個問題?
\begin{align}
\sf\:We\: have \:
\lim_{x \rightarrow a} \frac {x^{n} - a^{n}} {x - a}
& = na^{n-1} \\
\therefore
\lim_{x \rightarrow 2} \frac {x^{100} - 2^{100}} {x^{77} - 2^{77}}
& = \lim_{x \rightarrow 2} \frac {x^{100} - 2^{100}} {x - 2}
\times \frac {1} {\lim_{x\rightarrow 2} \frac {x^{77} - 2^{77}} {x - 2}} \\
& = \frac {100 \times 2^{99}} {77 \times 2^{76}} \\
& = \frac {100} {77} \times 2^{23}
\end{align}
Right。\ stackrel works.A better one I found is \ displaystyle {}。 – 2012-02-23 09:23:32
'\ stackrel'宏確實是錯誤的方法。確實''displaystyle'可以工作,但是你希望'{\ displaystyle ...}'不是'\ displaystyle {...}',因爲'\ displaystyle'是一個開關,而不是一個接受參數的宏。最好的選擇,恕我直言,是使用'\ limits'與'\ lim',因爲這正是它的設計目的。 – 2012-02-23 18:49:23