From 63d5b3a429b0d89344b6d2a7fdf2a30fd40c1510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=91=AB?= <7176466@qq.com> Date: Tue, 16 Aug 2022 17:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 知识点/MathJax数学公式.md | 41 +++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/知识点/MathJax数学公式.md b/知识点/MathJax数学公式.md index 34e9aef..1321223 100644 --- a/知识点/MathJax数学公式.md +++ b/知识点/MathJax数学公式.md @@ -8,13 +8,18 @@ - $ 36^2+37^2+38^2+39^2+40^2=41^2+42^2+43^2+44^2 $ - $ 55^2+56^2+57^2+58^2+59^2+60^2=61^2+62^2+63^2+64^2+65^2 $ -| 名称 | LaTeX语法 | 显示效果 | 用途 | -| -------- | ----------------------- | ---------------- | -------- | -| 普通字体 | `\mathnormal{N}` | $\mathnormal{N}$ | | -| 手写字体 | `\mathcal{N}` | $\mathcal{N}$ | | -| 空心粗体 | `\mathbb{N}`或`\Bbb{N}` | $\mathbb{N}$ | 表示数集 | -| | | | | -| | | | | +| 名称 | LaTeX语法 | 显示效果 | 用途 | +| ------------ | ----------------------- | ---------------- | ------------ | +| 普通字体 | `\mathnormal{N}` | $\mathnormal{N}$ | | +| 手写字体 | `\mathcal{N}` | $\mathcal{N}$ | | +| 空心粗体 | `\mathbb{N}`或`\Bbb{N}` | $\mathbb{N}$ | 表示数集 | +| 紧贴 | `a\!b` | $a\!b$ | 缩进1/6m宽度 | +| 无空格 | `ab` | $ab$ | 无间距 | +| 小空格 | `a\,b` | $a\,b$ | 间距1/6m宽度 | +| 大空格 | `a\ b` | $a\ b$ | 间距1/3m宽度 | +| quad空格 | `a \quad b` | $a \quad b$ | 间距1m宽度 | +| 两个quad空格 | `a \qquad b` | $a \qquad b$ | 间距2m宽度 | +| | | | | 方程组 @@ -24,5 +29,25 @@ $\begin{cases} \end{cases}$ $\begin{equation} - E = mc^2 +E = mc^2 \end{equation}$ + +## 在线资料 + +- [MathJax官方网站](https://www.mathjax.org/) +- [KaTeX语法支持表](https://katex.org/docs/support_table.html) +- [ChinaTeX数学排版常见问题集](http://static.latexstudio.net/wp-content/uploads/2018/02/ChinaTeXMathFAQ_V1.1.pdf) + +应用到Gitea中添加以下内容到:`templates/custom/header.tmpl` + +```html + + + +```