【记录】博客|Markdown写作常用的符号表示、公式写法合集
文章目錄
- 基礎(chǔ)內(nèi)容Basic
- 1.符號(hào)合集
- 2.LaTeX公式輸入
- 附加內(nèi)容Addition
- 1.公式左對(duì)齊
- 2.Markdown文檔導(dǎo)出的PDF分頁(yè)
基礎(chǔ)內(nèi)容Basic
1.符號(hào)合集
LATEX Mathematical Symbols_官方的數(shù)學(xué)符號(hào)合集:LATEX所有的數(shù)學(xué)符號(hào)。
還有相關(guān)的一些網(wǎng)址:Detexify Symbol table_搜索LaTeX字符等,更多精彩可自行翻看LaTeX Tricks.
HTML ISO-8859-1 參考手冊(cè):不想使用LaTeX輸入數(shù)學(xué)公式,但是又有符號(hào)打不出來(lái)的時(shí)候,可以查閱這個(gè)。用復(fù)制粘貼的方式解決問(wèn)題。
2.LaTeX公式輸入
數(shù)學(xué) — nocode-book 0.1 文檔 (xinetzone.github.io)_基礎(chǔ)篇:該文包含下圖所示幾個(gè)內(nèi)容,并且除了這一篇之外還匯總了別的,比如矩陣。
Markdown公式(二)_xinet的博客園:這是上文作者的博客園,github.io打不開(kāi)時(shí)可以看它,內(nèi)容是完全一樣的。
附加內(nèi)容Addition
1.公式左對(duì)齊
①"&"用于表明對(duì)齊起始位置
②\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}
?testContentestCon?t123tent?
參考:有道云筆記中,在Markdown下寫(xiě)公式時(shí),如何讓幾行公式左對(duì)齊,而不是默認(rèn)的居中對(duì)齊?_興趣使然的回答。
如果有強(qiáng)迫癥,希望左邊頂格對(duì)齊,就加\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?
需要注意的是,當(dāng)遇到aligned多個(gè)對(duì)齊符號(hào)時(shí),該方法會(huì)使對(duì)齊間隔過(guò)大。
2.Markdown文檔導(dǎo)出的PDF分頁(yè)
markdown中,在需要分頁(yè)的地方插入以下代碼:
<div STYLE="page-break-after: always;"></div>
參考:Markdown文檔如何分頁(yè)以及導(dǎo)出的PDF如何分頁(yè)。
總結(jié)
以上是生活随笔為你收集整理的【记录】博客|Markdown写作常用的符号表示、公式写法合集的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 【记录】MATLAB|Python Nu
- 下一篇: 【HUST】网安|编译原理实验|实验四攻