方程组

2021年9月20日 | 分类: 【编程】

【语法】

带着标号的方程组:cases

参考:http://masikkk.com/article/MathJax/
参考:https://matnoble.me/tech/latex/multi-line-equations/
参考:https://blog.csdn.net/raby_gyl/article/details/53164609

\(\begin{cases}
n/2,  & \text{(1)} \\
3n+1, & \text{(2)}
\end{cases}\)

\(\begin{cases}
n/2, & \text{(1)} \\
3n+1, & \text{(2)}
\end{cases}\)

不标号的方程组: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}\)

\(\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}\)

【参考】

不标号的方程组:equation

\(\begin{equation}
\left\{
\begin{array}{c}
 X=a+b+1250 \hfill\\
 a=\frac{X}{2}+50 \hfill\\
 b=\frac{X-a}{2}+100 \hfill
\end{array}
\right.
\end{equation}\)

\(\begin{equation}
\left\{
\begin{array}{c}
X=a+b+1250 \hfill\\
a=\frac{X}{2}+50 \hfill\\
b=\frac{X-a}{2}+100 \hfill
\end{array}
\right.
\end{equation}\)

\\hfill 表示左对齐
\\\\ 表示换行

参考:https://blog.csdn.net/qq_33769914/article/details/85245684

带着标号的方程组:numcases

Mathjax不支持 numcases

参考:https://blog.csdn.net/weixin_45744426/article/details/102531827