Latex语法学习01:大括号的使用

方法一:

	\begin{eqnarray}
		f(x)=\left\{
		\begin{aligned}
			x & = & \cos(t) \\
			y & = & \sin(t) \\
			z & = & \frac xy
		\end{aligned}
		\right.
	\end{eqnarray}

代码结果:

Latex语法学习01:大括号的使用_第1张图片

 方法二:

	\begin{eqnarray}
		F^{HLLC}=\left\{
		\begin{array}{rcl}
			F_L      &     & {0     <     S_L}\\
			F^*_L    &     & {S_L \leq 0 < S_M}\\
			F^*_R    &     & {S_M \leq 0 < S_R}\\
			F_R      &     & {S_R \leq 0}
		\end{array} \right.
	\end{eqnarray}

代码结果:

Latex语法学习01:大括号的使用_第2张图片

 方法三:

	\begin{eqnarray}
		f(x)=
		\begin{cases}
			0& x=0 \\
			1& x \neq 0
		\end{cases}
	\end{eqnarray}

代码结果:

本节完整代码:

\documentclass{article}
\setlength\textwidth{245.0pt}
\usepackage{indentfirst}
\usepackage{amsmath}

\begin{document}
	\begin{eqnarray}
		f(x)=\left\{
		\begin{aligned}
			x & = & \cos(t) \\
			y & = & \sin(t) \\
			z & = & \frac xy
		\end{aligned}
		\right.
	\end{eqnarray}
	
	\begin{eqnarray}
		F^{HLLC}=\left\{
		\begin{array}{rcl}
			F_L      &     & {0     <     S_L}\\
			F^*_L    &     & {S_L \leq 0 < S_M}\\
			F^*_R    &     & {S_M \leq 0 < S_R}\\
			F_R      &     & {S_R \leq 0}
		\end{array} \right.
	\end{eqnarray}

	\begin{eqnarray}
		f(x)=
		\begin{cases}
			0& x=0 \\
			1& x \neq 0
		\end{cases}
	\end{eqnarray}
\end{document}

你可能感兴趣的:(Latex公式的编写,拓扑学,fpga开发)