但是,當我寫 LaTeX 來得到這個時
\documentclass[a4paper,11pt,twoside]{article}
\RequirePackage{etex}
\usepackage[portuges]{babel}
\usepackage[latin1]{inputenc}
\usepackage{latexsym,fancyhdr,graphicx,delarray,epic,amsfonts,amsmath,amssymb,lmodern,keyval,ifthen,moreverb,xy}
%%%%%
\begin{document}
$$
\left\{
\begin{array}{ccc}
\lim_{x \to a}f(x) &=& f(a)\\\
\lim_{x \to b}f(x) &=& f(b)\\\
\lim_{x \to c}f(x) &=& f(c)
\end{array}
\right.
$$
\end{document}
我也嘗試過這個
\documentclass[a4paper,11pt,twoside]{article}
\RequirePackage{etex}
\usepackage[portuges]{babel}
\usepackage[latin1]{inputenc}
\usepackage{latexsym,fancyhdr,graphicx,delarray,epic,amsfonts,amsmath,amssymb,lmodern,keyval,ifthen,moreverb,xy}
%%%%%
\begin{document}
$$
\left\{
\begin{array}{ccc}
\lim_{x \to a}f(x) &=& f(a)\\\
\lim_{x \to b}f(x) &=& f(b)\\\
\lim_{x \to c}f(x) &=& f(c)
\end{array}
\right.
$$
\begin{eqnarray*}
\lim_{x \to a}f(x) &=& f(a)\\\
\lim_{x \to b}f(x) &=& f(b)\\\
\lim_{x \to c}f(x) &=& f(c)
\end{eqnarray*}
\end{document}
謝謝你!
答案1
只需使用dcases
中的(「展示櫃」)環境即可mathtools
。
注意$$ ... $$
不應在 LaTeX 文件中使用語法:它是普通的 TeX 語法,並且可能會產生錯誤的間距。環境eqnarray
也不應該使用:對齊點周圍的間距不好,而且語法比align
.
\documentclass[a4paper,11pt,twoside]{article}
\usepackage[portuges]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{latexsym,fancyhdr,graphicx,delarray,epic,amsfonts,amssymb,lmodern,keyval,ifthen,moreverb,xy}
\usepackage{mathtools}
%%%%%
\begin{document}
\[
\begin{dcases}
\lim_{x \to a}f(x) = f(a)\\
\lim_{x \to b}f(x) = f(b)\\
\lim_{x \to c}f(x) = f(c)
\end{dcases}
\]
\end{document}
答案2
這裡還有另外兩個選項:
% arara: pdflatex
\documentclass[a4paper,11pt,twoside]{article}
\usepackage[latin1]{inputenc}
\usepackage{mathtools}
\begin{document}
\begin{equation*}
\begin{dcases}
\lim_{x \to a}f(x) = f(a)\\
\lim_{x \to b}f(x) = f(b)\\
\lim_{x \to c}f(x) = f(c)
\end{dcases}
\end{equation*}
or with alignment at the equal sign:
\[
\left\{
\begin{aligned}
\lim_{x \to a}f(x) &= f(a)\\
\lim_{x \to b}f(x) &= f(b)\\
\lim_{x \to c}f(x) &= f(c)
\end{aligned}
\right.
\]
\end{document}
dcases
cases
與您想要的顯示風格類似。aligned
也要設定顯示樣式中的數學。
請不要$$ $$
在 LaTeX 中使用。這已被棄用。上面我向您展示了兩種可能的替代方案。
答案3
您可以使用\limits
:
\documentclass[a4paper,11pt,twoside]{article}
\RequirePackage{etex}
\usepackage[portuges]{babel}
\usepackage[latin1]{inputenc}
\usepackage{latexsym,fancyhdr,graphicx,delarray,epic,amsfonts,amsmath,amssymb,lmodern,keyval,ifthen,moreverb,xy}
\begin{document}
\[
\left\{
\begin{array}{ccc}
\lim\limits_{x \to a}f(x) &=& f(a)\\\
\lim\limits_{x \to b}f(x) &=& f(b)\\\
\lim\limits_{x \to c}f(x) &=& f(c)
\end{array}
\right.
\]
\end{document}