但是,当我用 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
来自的 ('display cases') 环境即可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}