【记录】博客|Markdown写作常用的符号表示、公式写法合集

基础内容Basic

1.符号合集

LATEX Mathematical Symbols_官方的数学符号合集:LATEX所有的数学符号。

还有相关的一些网址:Detexify Symbol table_搜索LaTeX字符等,更多精彩可自行翻看LaTeX Tricks.

HTML ISO-8859-1 参考手册:不想使用LaTeX输入数学公式,但是又有符号打不出来的时候,可以查阅这个。用复制粘贴的方式解决问题。

2.LaTeX公式输入

数学 — nocode-book 0.1 文档 (xinetzone.github.io)_基础篇:该文包含下图所示几个内容,并且除了这一篇之外还汇总了别的,比如矩阵。
在这里插入图片描述
Markdown公式(二)_xinet的博客园:这是上文作者的博客园,github.io打不开时可以看它,内容是完全一样的。

附加内容Addition

1.公式左对齐

①"&"用于表明对齐起始位置
\begin{aligned}\end{aligned}不能与公式空一行,要紧贴.
③公式句尾加\\表示分行

\begin{aligned}
&testConten&t123\\
&testCon&tent\\
\end{aligned}

效果:
t e s t C o n t e n t 123 t e s t C o n t e n t \begin{aligned} &testConten&t123\\ &testCon&tent\\ \end{aligned} testContentestCont123tent

参考:有道云笔记中,在Markdown下写公式时,如何让几行公式左对齐,而不是默认的居中对齐?_兴趣使然的回答

如果有强迫症,希望左边顶格对齐,就加\hspace{100cm}。如:

\begin{aligned}
&testContent123\hspace{100cm}\\
&testContent\\
\end{aligned}

效果:
t e s t C o n t e n t 123 t e s t C o n t e n t \begin{aligned} &testContent123\hspace{100cm}\\ &testContent\\ \end{aligned} testContent123testContent

需要注意的是,当遇到aligned多个对齐符号时,该方法会使对齐间隔过大。

2.Markdown文档导出的PDF分页

markdown中,在需要分页的地方插入以下代码:

<div STYLE="page-break-after: always;"></div>

参考:Markdown文档如何分页以及导出的PDF如何分页

posted @ 2022-04-23 21:57  shandianchengzi  阅读(10)  评论(0编辑  收藏  举报  来源