一個Python (2和3) LaTeX 預處理器:preTeX
preTeX是一個Python (2和3) 的LaTeX 預處理器。旨在使LaTeX的語法更加簡潔,從而寫作過程更快,代碼更易讀。它由許多 "transformations" 組成。
Transformations
Overview, but more below the table.
name | input | output | notes |
---|---|---|---|
arrow | a -> b |
a \to b |
|
approx | a~=b |
a\approx b |
|
leq | a<=b |
a\leq b |
|
geq | a>=b |
a\geq b |
|
ll | a<<b |
a\ll b |
|
gg | a>>b |
a\gg b |
|
neq | a != b |
a \neq b |
|
cdot | a*b |
a\cdot b |
see below for more info |
braket | <a|b|c> |
\braket{a|b|c} |
see below for more info |
dots | 1, 2, ... |
1, 2, \dots |
|
sub_superscript | \int_n=1 ^42+x |
\int_{n=1} ^{42+x} |
see below for more info |
dot | x.. |
\ddot{x} |
see below for more info |
displaymath | d$x^2$ |
$\displaymath x^2$ |
see below for more info |
frac | \frac a+b c*d |
\frac{a+b}{c*d} |
see below for more info |
frac_compact | a+b // c*d |
\frac{a+b}{c*d} |
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!