From f3c7687e21a1665a2f55355dc1b56deafeeedefe Mon Sep 17 00:00:00 2001 From: Cym10x Date: Sun, 28 Dec 2025 08:31:06 +0800 Subject: [PATCH] =?UTF-8?q?LaTeX=E8=BE=93=E5=85=A5=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E5=8F=8A=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 笔记分享/LaTeX(KaTeX)特殊输入.md | 13 +++++++++++++ 笔记分享/LaTeX(KaTeX)输入规范.md | 4 ++++ 笔记分享/矩阵打印方式.md | 4 ---- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 笔记分享/LaTeX(KaTeX)特殊输入.md create mode 100644 笔记分享/LaTeX(KaTeX)输入规范.md delete mode 100644 笔记分享/矩阵打印方式.md diff --git a/笔记分享/LaTeX(KaTeX)特殊输入.md b/笔记分享/LaTeX(KaTeX)特殊输入.md new file mode 100644 index 0000000..6278761 --- /dev/null +++ b/笔记分享/LaTeX(KaTeX)特殊输入.md @@ -0,0 +1,13 @@ + +矩阵打印方式 +$\begin{pmatrix} 1+x_1 & 1+x_1^2 & ... &1+x_1^n \\ 1+x_2 & 1+x_2^2 & ... &1+x_2^n \\ ... \\ 1+x_n & 1+x_n^2 & ... &1+x_n^n \end{pmatrix}$ +然而,我们教材上是使用的方括号矩阵,要将pmatrix换成bmatrix: +$\begin{bmatrix} 1+x_1 & 1+x_1^2 & ... &1+x_1^n \\ 1+x_2 & 1+x_2^2 & ... &1+x_2^n \\ ... \\ 1+x_n & 1+x_n^2 & ... &1+x_n^n \end{bmatrix}$ +行列式的输入方法如下:(vmatrix) +$\begin{vmatrix} 1+x_1 & 1+x_1^2 & ... &1+x_1^n \\ 1+x_2 & 1+x_2^2 & ... &1+x_2^n \\ ... \\ 1+x_n & 1+x_n^2 & ... &1+x_n^n \end{vmatrix}$ +求和、求积的上下记号可以使用limits套: +$\sum\limits_{i=2}^{n}a_i, \prod\limits_{i=1}^{n}a_i$ +积分符号的上下标,按照原本的上下标来处理: +$\int_1^5 x\mathrm{d}x$ +积分符号的上下记号,用limits套: +$\int\limits_{L}(x+y)\mathrm{d}s$ \ No newline at end of file diff --git a/笔记分享/LaTeX(KaTeX)输入规范.md b/笔记分享/LaTeX(KaTeX)输入规范.md new file mode 100644 index 0000000..e9538a1 --- /dev/null +++ b/笔记分享/LaTeX(KaTeX)输入规范.md @@ -0,0 +1,4 @@ +通常的,记号严格按照教材中的规范。 +1. 矩阵使用bmatrix +2. 自然常数或电荷量e、虚数单位i应当为**正体**,需要用mathrm记号包裹,例:$\mathrm{e}^{\mathrm{i}\pi}+1=0$;然而,当e,i作为变量时,应当用正常的斜体。例:$\sum\limits_{i=1}^{n}a_i$ +3. 微分算子d应当用正体,被微分的表达式用正常的斜体:$\mathrm{d}f(x)=f'(x)\mathrm{d}x$ \ No newline at end of file diff --git a/笔记分享/矩阵打印方式.md b/笔记分享/矩阵打印方式.md deleted file mode 100644 index 819e44e..0000000 --- a/笔记分享/矩阵打印方式.md +++ /dev/null @@ -1,4 +0,0 @@ - - - -$\begin{pmatrix} 1+x_1 & 1+x_1^2 & ... &1+x_1^n \\ 1+x_2 & 1+x_2^2 & ... &1+x_2^n \\ ... \\ 1+x_n & 1+x_n^2 & ... &1+x_n^n \end{pmatrix}$ \ No newline at end of file