diff --git a/docs/latex.md b/docs/latex.md index 69be6387..0b26eb10 100644 --- a/docs/latex.md +++ b/docs/latex.md @@ -11,17 +11,18 @@ LaTeX 备忘清单 [LaTeX](https://www.latex-project.org/) 基于 TEX 的排版系统,适用于生成高印刷质量的科技和数学、物理文档。 - [LaTeX 官网](https://www.latex-project.org/) _(latex-project.org)_ -- [KaTeX 官网](https://katex.org/) _(katex.org)_ 而 [KaTeX](https://katex.org/) 只处理 LaTeX 的数学符号的一个更小的子集,用于 web 上展示 +- [KaTeX 官网](https://katex.org/) _(katex.org)_ + ### 示例 ```KaTeX % \f is defined as #1f(#2) using the macro f\relax(x) = \int_{-\infty}^\infty f\hat\xi\,e^{2 \pi i \xi x} - \,d\xi + \,\mathrm{d}\xi ``` --- @@ -30,7 +31,7 @@ f\relax(x) = \int_{-\infty}^\infty % \f is defined as #1f(#2) using the macro f\relax(x) = \int_{-\infty}^\infty f\hat\xi\,e^{2 \pi i \xi x} - \,d\xi + \,\mathrm{d}\xi ``` ### 行内展示 @@ -42,10 +43,10 @@ f\relax(x) = \int_{-\infty}^\infty 基于 KaTeX 在一行展示示例: `KaTeX:\int_0^\infty x^2 dx` -Supported Functions +支持的语法 --- -### Accents +### 标注符号 :- | :- | :- @@ -74,7 +75,7 @@ Supported Functions `KaTeX:\^{a}` `\^{a}` | `KaTeX:\u{a}` `\u{a}` | `KaTeX:\r{a}` `\r{a}` | -### Delimiter Sizing +### 定界符大小调整 :- | :- :- | :- @@ -90,7 +91,7 @@ Supported Functions `\right` | `\bigg` | `\biggl` | `\biggm` | `\biggr` `\` | `\Bigg` | `\Biggl` | `\Biggm` | `\Biggr` -### 希腊和希伯来字母 Greek and Hebrew letters +### 希腊和希伯来字母 预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览| 方法 | 预览 | 方法 | 预览 | 方法 @@ -193,7 +194,7 @@ Supported Functions \sum_{\mathclap{1\le i\le j\le n}} x_{ij} ``` -### `KaTex:\LaTeX` math constructs +### `KaTex:\LaTeX` 数学结构 预览 | 方法 | 预览 | 方法 | 预览 | 方法 @@ -203,7 +204,7 @@ Supported Functions | `KaTex:\sqrt{abc}` | `\sqrt{abc}` | `KaTex:\widehat{abc}` | `\widehat{abc}` | `KaTex:\overbrace{abc}` | `\overbrace{abc}` | | `KaTex:\sqrt[n]{abc}` | `\sqrt[n]{abc}` | `KaTex:\widetilde{abc}` | `\widetilde{abc}` | `KaTex:\underbrace{abc}` | `\underbrace{abc}` | -### 分隔符 Delimiters +### 分隔符 预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览| 方法 | 预览 | 方法 @@ -547,10 +548,10 @@ Supported Functions `KaTex:\circledS` | `\circledS` | `KaTex:\spadesuit` | `\spadesuit` | `KaTex:\spades` | `\spades` | `KaTex:\text{\textcircled a}` | `\text{\textcircled a}` | `KaTex:\maltese` | `\maltese` | `KaTex:\minuso` | `\minuso` | -Environments +环境 --- -### Environments 1 +### 环境 1 ```KaTeX @@ -569,7 +570,7 @@ Environments ``` -### Environments 2 +### 环境 2 ```KaTeX @@ -587,7 +588,7 @@ Environments \end{array} ``` -### Environments 3 +### 环境 3 ```KaTeX @@ -606,7 +607,7 @@ Environments ``` -### Environments 4 +### 环境 4 ```KaTeX @@ -623,7 +624,7 @@ Environments \end{bmatrix} ``` -### Environments 5 +### 环境 5 ```KaTeX @@ -642,7 +643,7 @@ Environments ``` -### Environments 6 +### 环境 6 ```KaTeX @@ -661,7 +662,7 @@ Environments ``` -### Environments 7 +### 环境 7 ```KaTeX @@ -678,7 +679,7 @@ Environments \end{Bmatrix} ``` -### Environments 8 +### 环境 8 ```KaTeX @@ -702,7 +703,7 @@ Environments \end{array} ``` -### Environments 9 +### 环境 9 ```KaTeX @@ -719,7 +720,7 @@ x = \begin{cases} \end{cases} ``` -### Environments 10 +### 环境 10 ```KaTeX @@ -736,7 +737,7 @@ x = \begin{cases} \end{rcases}⇒… ``` -### Environments 11 +### 环境 11 ```KaTeX @@ -754,7 +755,7 @@ x = \begin{cases} \end{smallmatrix} ``` -### Environments 12 +### 环境 12 ```KaTeX @@ -774,7 +775,7 @@ x = \begin{cases} \end{subarray}} ``` -### Environments 13 +### 环境 13 ```KaTeX @@ -794,7 +795,7 @@ x = \begin{cases} \end{equation} ``` -### Environments 14 +### 环境 14 ```KaTeX @@ -812,7 +813,7 @@ x = \begin{cases} \end{align} ``` -### Environments 15 +### 环境 15 ```KaTeX @@ -830,7 +831,7 @@ x = \begin{cases} \end{gather} ``` -### Environments 16 +### 环境 16 ```KaTeX @@ -848,7 +849,7 @@ x = \begin{cases} \end{alignat} ``` -### Environments 17 +### 环境 17 ```KaTeX @@ -881,7 +882,7 @@ x = \begin{cases} `KaTex:\colorbox{aqua}{$F=ma$}` | `\colorbox{aqua}{$F=ma$}` `KaTex:\fcolorbox{red}{aqua}{$F=ma$}` | `\fcolorbox{red}{aqua}{$F=ma$}` -### Font 字体 +### 字体 :- | :- | :- | :- | :- | :- @@ -892,7 +893,7 @@ x = \begin{cases} `KaTex:\Large AB` | `\Large AB` | `KaTex:\Large AB` | `\Large AB` | `KaTex:\scriptsize AB` | \scriptsize AB `KaTex:\large AB` | `\large AB` | `KaTex:\large AB` | `\large AB` | `KaTex:\tiny AB` | \tiny AB -### Style 样式 +### 样式 :- | :- | :- | :-