安装TeXworks,
安装CTex
一个非常好的入门教程: https://blog.csdn.net/qingdujun/article/details/80805613
如何支持中文: https://blog.csdn.net/meilikafei/article/details/80145149
如何使用数学:https://www.kancloud.cn/thinkphp/latex/41806
案例 范德蒙行列式:
\documentclass[11pt, A4paper]{article}
\usepackage[space,UTF8]{ctex}
\usepackage{graphicx}
\usepackage{amsmath}
\title{线性代数}
\author{tangkangqi}
\date{\today}
\begin{document}
%\maketitle
\part{范德蒙行列式}
\section{定理}
$$
\begin{vmatrix}
1 &1 &\cdots &1\\
x_1 &x_2 &\cdots &x_n\\
\vdots &\vdots & &\vdots\\
x_1^{n-1} &x_2^{n-1} &\cdots &x_n^{n-1}\\
\end{vmatrix}
=
\prod_{1\le i<j\le n}{(x_i - x_j)}{\quad (n \ge 2)}
$$
\section{证明}
若$D_n$为$n$阶范德蒙行列式$(n \ge 2)$,则有
$$D_n = \prod_{1\le j < i \le n}{(x_i - x_j)}$$
这里
%\begin{equation}
$$
\begin{aligned}
\prod_{1\le j<i \le n}{(x_i - x_j)}
=
&(x_n - x_{n-1})(x_n - x_{n-2})...(x_n - x_1)(x_{n-1} - x_{n-2})(x_{n-1} - x_{n-3})...\\
&(x_{n-1} - x_{1})...(x_{3} - x_{2})(x_{3} - x_{1})(x_{2} - x_{1}).
\end{aligned}
\label{f2}
$$
%\end{equation}
\end{document}
结果:
各种命令、符号、数学公式大全: