MathJax基础之方程组

间距问题不会影响公式正确性,但会影响美观。以下是关于间距问题的一些tips

(1)在需要建立方程组的时候,可以用 \begin{array} ... \end{array}\left\{ ... \right.,如:

1
2
3
4
5
6
7
8
9
$$
\left \\{
\begin{array} {c}
a_1x + b_1y + c_1z = d_1 \\
a_2x + b_2y + c_2z = d_2 \\
a_3x + b_3y + c_3z = d_3
\end{array}
\right.
$$

$$
\left \{
\begin{array} {c}
a_1x + b_1y + c_1z = d_1 \
a_2x + b_2y + c_2z = d_2 \
a_3x + b_3y + c_3z = d_3
\end{array}
\right.
$$

(2)另外,也可以使用 \begin{cases} ... \end{cases},如:

1
2
3
4
5
6
7
$$
\begin{cases}
a_1x + b_1y + c_1z = d_1 \\
a_2x + b_2y + c_2z = d_2 \\
a_3x + b_3y + c_3z = d_3
\end{cases}
$$

$$
\begin{cases}
a_1x + b_1y + c_1z = d_1 \
a_2x + b_2y + c_2z = d_2 \
a_3x + b_3y + c_3z = d_3
\end{cases}
$$

(3)如果想把等号对齐,就用 \begin{aligned} ... \end{aligned}\left\{ ... \right.,如:

1
2
3
4
5
6
7
8
9
$$
\left \\{
\begin{aligned}
a_1x + b_1y + c_1z &= d_1 + e_1 \\
a_2x + b_2y &= d_2 \\
a_3x + b_3y + c_3z &= d_3
\end{aligned}
\right.
$$

$$
\left \{
\begin{aligned}
a_1x + b_1y + c_1z &= d_1 + e_1 \
a_2x + b_2y &= d_2 \
a_3x + b_3y + c_3z &= d_3
\end{aligned}
\right.
$$

(4)如果想要等号对齐,并左右两边左对齐,就可以用 array 中的 l 参数:

1
2
3
4
5
6
7
8
9
$$
\left \\{
\begin{array}{ll}
a_1x + b_1y + c_1z &= d_1 + e_1 \\
a_2x + b_2y &= d_2 \\
a_3x + b_3y + c_3z &= d_3
\end{array}
\right.
$$

$$
\left \{
\begin{array}{ll}
a_1x + b_1y + c_1z &= d_1 + e_1 \
a_2x + b_2y &= d_2 \
a_3x + b_3y + c_3z &= d_3
\end{array}
\right.
$$

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2020 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :