Featured image of post note of Tex

note of Tex

\({\LaTeX}\) 速查表

latex-cheatsheet
    Description

=========== Cheatsheet for LaTex, using Markdown for markup. I use this with atom.io and :package:markdown-preview-plus to write math stuff. :package:keyboard-localization is necessary when using an international layout (like [swiss] german).

Further Reference and source: ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf

Example expressions / functions

InputRendered
$a = b + c − d$$a = b + c − d$
$\sqrt{?\frac{\pi}{2}}$$\sqrt{\frac{\pi}{2}}$
$y = a x_1^2 + b x_2 + c$$y = a x_1^2 + b x_2 + c$

Special characters / Symbols

###Latin: #####No dot:
\imath $\rightarrow$ $\imath$, \jmath $\rightarrow$ $\jmath$

#####Hat:
\hat{\imath} $\rightarrow$ $\hat{\imath}$, \hat{\jmath} $\rightarrow$ $\hat{\jmath}$

###Greek Letters: #####Capital:

LaTexLaTex
\GammaΓ\Delta
\LambdaΛ\PhiΦ
\PiΠ\PsiΨ
\SigmaΣ\ThetaΘ
\UpsilonΥ\XiΞ
\Omega

#####Lowercase:

LaTexLaTex
\alphaα\nuν
\betaβ\kappaκ
\gammaγ\lambdaλ
\deltaδ\muµ
\epsilonϵ\zetaζ
\etaη\thetaθ
\iotaι\xiξ
\piπ\rhoρ
\sigmaσ\tauτ
\upsilonυ\phiφ
\chiχ\psiψ
\omegaω

#####Other:

LaTexLaTex
\digammaϝvarepsilonε
\varkappaϰ\varphiϕ
\varpiϖ\varrhoϱ
\varsigmaς\varthetaϑ
\ethð\hbar$\hbar$

###Other: ####Other Symbols

LaTexLaTex
\partial\infty
\wedge\vee
\neg \not¬
\bot\top
\nabla\varnothing
\angle\measuredangle
\surd\forall
\exists\nexists

####Relational Symbols

LaTexLaTex
\hookrightarrow\Rightarrow
\rightarrow\Leftrightarrow
\nrightarrow\mapsto$\mapsto$
\geq\leq
\equiv\sim
\gg\ll
\subset\subseteq
\in\notin
\mid$\mid$\propto
\perp\parallel
\vartriangle$\vartriangle$

####Binary operators

LaTexLaTex
\wedge\vee
\neg``\not¬

####Cumulative operators

LaTexLaTex
\int\iint$\iint$
\iiint$\iiint$\idotsint$\idotsint$
\prod$\prod$\sum$\sum$
\bigcup$\bigcup$\bigcap$\bigcap$

####Named operators $\arccos$, $\arcsin$, $\arctan$, $\arg$, $\cos$, $\cosh$, $\cot$, $\coth$, $\deg$, $\det$, $\dim$, $\exp$, $\gcd$, $\hom$, $\inf$, $\injlim$, $\lg$, $\lim$, $\liminf$, $\limsup$, $\ln$, $\log$, $\max$, $\min$, $\Pr$, $\projlim$, $\sec$, $\sin$, $\sinh$, $\sup$

参考于:

\({\KaTeX}\) 使用笔记

    基于 hugo katex mod 可以更有好的使用 katex 语法,下面给出了一个基本的用法:

1
2
\tag\*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k} \\
f(x) = \int\_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
MARKDOWN
$$\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k} \\ f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$
---
1
Inline formulas: {{</* katex formula="a^n" inline=true /*/>}}, {{</* katex "a^2+b^2=c^2" true /*/>}}.
MARKDOWN

Inline formulas: {{< katex formula=“a^n” inline=true />}}, {{< katex “a^2+b^2=c^2” true />}}.


1
2
3
4
5
\begin{array}{l}
E*{o 1}=\frac{1}{2}\left( { target }*{o 1}- { out }_{o 1}\right)^{2}=\frac{1}{2}(0.01-0.75136507)^{2}=0.274811083 \\
E_{o 2}=0.023560026 \\
E*{ {total }}=E*{o 1}+E\_{o 2}=0.274811083+0.023560026=0.298371109
\end{array}
MARKDOWN
$$\begin{array}{l} E*{o 1}=\frac{1}{2}\left( { target }*{o 1}- { out }_{o 1}\right)^{2}=\frac{1}{2}(0.01-0.75136507)^{2}=0.274811083 \\ E_{o 2}=0.023560026 \\ E*{ {total }}=E*{o 1}+E\_{o 2}=0.274811083+0.023560026=0.298371109 \end{array}$$

1
2
3
4
5
\begin{aligned}
E*{o 1}=\frac{1}{2}\left( { target }*{o 1}- { out }_{o 1}\right)^{2}=\frac{1}{2}(0.01-0.75136507)^{2}=0.274811083 \\
E_{o 2}=0.023560026 \\
E*{ {total }}=E*{o 1}+E\_{o 2}=0.274811083+0.023560026=0.298371109
\end{aligned}
MARKDOWN
$$\begin{aligned} E*{o 1}=\frac{1}{2}\left( { target }*{o 1}- { out }_{o 1}\right)^{2}=\frac{1}{2}(0.01-0.75136507)^{2}=0.274811083 \\ E_{o 2}=0.023560026 \\ E*{ {total }}=E*{o 1}+E\_{o 2}=0.274811083+0.023560026=0.298371109 \end{aligned}$$

1
2
3
4
5
\begin{aligned}
&E*{o 1}=\frac{1}{2}\left( { target }*{o 1}- { out }_{o 1}\right)^{2}=\frac{1}{2}(0.01-0.75136507)^{2}=0.274811083 \\
&E_{o 2}=0.023560026 \\
&E*{ {total }}=E*{o 1}+E\_{o 2}=0.274811083+0.023560026=0.298371109
\end{aligned}
MARKDOWN
$$\begin{aligned} &E*{o 1}=\frac{1}{2}\left( { target }*{o 1}- { out }_{o 1}\right)^{2}=\frac{1}{2}(0.01-0.75136507)^{2}=0.274811083 \\ &E_{o 2}=0.023560026 \\ &E*{ {total }}=E*{o 1}+E\_{o 2}=0.274811083+0.023560026=0.298371109 \end{aligned}$$

参考链接:

Licensed under CC BY-NC-SA 4.0
Last updated on Aug 18, 2024 20:18 CST

请在评论前阅读我们的评论政策


内容是由智能博客生成器生产 powered by ChatGGPTT
Built with Hugo
Theme Stacked designed by Jimmy, modified by Jacob