Obsidan之数学公式的输入

  • Post author:
  • Post category:其他




前言:

最近在学习专升本的高数,还想继续使用Obsidian作为笔记软件,但是苦于不知道数学公式怎么输入,于是有了这一篇文章😅😎



LaTex的语法


注意

:这里的数学公式都要在

$在这$

,或者

$$在这$$

先说下怎么换行

$$
\begin{aligned}a=b+c\\b=c-a\\c=a+b \end{aligned}
$$





a

=

b

+

c

b

=

c

a

c

=

a

+

b

\begin{aligned}a=b+c\\b=c-a\\c=a+b \end{aligned}
















a




=




b




+




c








b




=




c









a








c




=




a




+




b






















$$
\begin{matrix}已知y=\sqrt{x+3}&&(x>=0)\\求y的最大值是多少 \end{matrix}
$$





y

=

x

+

3

(

x

>

=

0

)

y

\begin{matrix}已知y=\sqrt{x+3}&&(x>=0)\\求y的最大值是多少 \end{matrix}






















y




=












x




+




3

































y




































































(


x




>


=




0


)













$$
\begin{bmatrix}已知y=\sqrt{x+3}&&(x>=0)\\求y的最大值是多少 \end{bmatrix}
$$





[

y

=

x

+

3

(

x

>

=

0

)

y

]

\begin{bmatrix}已知y=\sqrt{x+3}&&(x>=0)\\求y的最大值是多少 \end{bmatrix}








[



















y




=












x




+




3

































y




































































(


x




>


=




0


)











]







$$
\begin{Bmatrix}已知y=\sqrt{x+3}&&(x>=0)\\求y的最大值是多少 \end{Bmatrix}
$$





{

y

=

x

+

3

(

x

>

=

0

)

y

}

\begin{Bmatrix}已知y=\sqrt{x+3}&&(x>=0)\\求y的最大值是多少 \end{Bmatrix}








{




















y




=












x




+




3

































y




































































(


x




>


=




0


)











}







$$
 \begin{vmatrix}
 0&1&2\\
 3&4&5\\
 6&7&8\\
 \end{vmatrix}
 $$





0

1

2

3

4

5

6

7

8

\begin{vmatrix} 0&1&2\\ 3&4&5\\ 6&7&8\\ \end{vmatrix}


























































































0








3








6





























1








4








7





























2








5








8
































































































$$
 \begin{Vmatrix}
 0&1&2\\
 3&4&5\\
 6&7&8\\
 \end{Vmatrix}
 $$





0

1

2

3

4

5

6

7

8

\begin{Vmatrix} 0&1&2\\ 3&4&5\\ 6&7&8\\ \end{Vmatrix}


























































































0








3








6





























1








4








7





























2








5








8
































































































  • 希腊字母




α

\alpha






α









β

\beta






β









χ

\chi






χ









Δ

\Delta






Δ









Γ

\Gamma






Γ









Θ

\Theta






Θ





之类的

  • 一些数学结构

  • 效果如下:
$\frac{123}{999}$、$\sqrt[n]{abc}$、$\frac{\sqrt{234}}{\sqrt[n]{abc}}$、$\underrightarrow{abc}$、$\overrightarrow{abc}$




123

999

\frac{123}{999}


















9


9


9
















1


2


3




























a

b

c

n

\sqrt[n]{abc}
















n
















a


b


c































234

a

b

c

n

\frac{\sqrt{234}}{\sqrt[n]{abc}}




























n
















a


b


c














































2


3


4


















































a

b

c

\underrightarrow{abc}





















a


b


c
























a

b

c

\overrightarrow{abc}














a


b


c

















  • 插入定界符

  • 效果如下
$|$、$\|$、$\Uparrow$、$\{\}$




|
















\|
















\Uparrow
















{

}

\{\}






{



}




  • 插入一些可变大小的符号

效果如下:

$\sum$、$\int$、$\oint$、$\iint$、$\bigcap\bigcup\bigoplus\bigotimes$




\sum
















\int
















\oint
















\iint
















\bigcap\bigcup\bigoplus\bigotimes


























  • 插入一些函数名称

效果如下:

$\sin$、$\cos$、$\tan$、$\log$、 $\tan(at-n\pi)$




sin

\sin






sin









cos

\cos






cos









tan

\tan






tan









log

\log






lo

g










tan

(

a

t

n

π

)

\tan(at-n\pi)






tan


(


a


t













n


π


)




  • 关系运算符和二进制运算符

效果如下:

$\times$、$\ast$、$\div$、$\pm$、$\leq$、$\geq$、$\neq$、$\thickapprox$、$\sqsupset$、$\subset$、$\supseteq$、$\sqsupset$、$\sqsupseteq$、$\in$




×

\times






×









\ast
















÷

\div






÷









±

\pm






±









\leq
















\geq
















\neq









































=










\thickapprox
















\sqsupset
















\subset
















\supseteq
















\sqsupset
















\sqsupseteq
















\in











  • 插入箭头符号

效果如下:

$\leftarrow$、$\Leftarrow$、$\nLeftarrow$、$\rightleftarrows$




\leftarrow
















\Leftarrow
















\nLeftarrow
















\rightleftarrows











  • 其他符号

  • 效果如下
$\infty$、$\angle$、$\int$、$\triangle$、$\square$




\infty
















\angle
















\int
















\triangle
















\square











  • 插入上下标



^

表示上标,用

_

表示下标记

效果如下:





sin

2

(

θ

)

+

cos

2

(

θ

)

=

1

\sin^2(\theta) + \cos^2(\theta) = 1







sin










2









(


θ


)




+









cos










2









(


θ


)




=








1











n

=

1

k

\sum_{n=1}^\infty k















n


=


1






































k











a

b

f

(

x

)

d

x

\int_a^bf(x)\,dx


















a








b




















f


(


x


)




d


x











lim

x

exp

(

x

)

=

0

\lim\limits_{x\to\infty}\exp(-x) = 0















x















lim



















exp


(





x


)




=








0





  • 注意:

    \,

    在积分里的作用是为了增加些许间距,

    \!

    会减少一些间距。

  • 输出分段函数



    \begin{cases}



    \end{cases}

    来构造分段函数,中间则用

    \\

    来分段





f

(

x

)

=

{

2

x

,
  

x

>

0

3

x

,
  

x

0

f(x) = \begin{cases} 2x,\,\,x>0\\ 3x,\,\,x\le0\\ \end{cases}






f


(


x


)




=










{














2


x


,








x




>




0








3


x


,








x









0

























  • 一些常见的数学公式
 $$
 f'(x) = x^2 + x
 $$





f

(

x

)

=

x

2

+

x

f'(x) = x^2 + x







f






















(


x


)




=









x










2











+








x





$$
 \lim_{x\to0}\frac{9x^5+7x^3}{x^2+6x^8}
$$





lim

x

0

9

x

5

+

7

x

3

x

2

+

6

x

8

\lim_{x\to0}\frac{9x^5+7x^3}{x^2+6x^8}















x





0









lim































x










2











+




6



x










8





















9



x










5











+




7



x










3






























$$
 \int_a^b f(x)\,dx
 $$





a

b

f

(

x

)

d

x

\int_a^b f(x)\,dx


















a








b




















f


(


x


)




d


x





$$
 \int_0^{+\infty}f(x)\,dx
$$





0

+

f

(

x

)

d

x

\int_0^{+\infty}f(x)\,dx


















0









+
























f


(


x


)




d


x





$$
 \int_{x^2+y^2\leq R^2} \,f(x,y)\,dx\,dy = \int_{\theta=0}^{2\pi}\int_{r=0}^R \,f(r\cos\theta,r\sin\theta)\,r\,dr\,d\theta
 $$





x

2

+

y

2

R

2

f

(

x

,

y

)

d

x

d

y

=

θ

=

0

2

π

r

=

0

R

f

(

r

cos

θ

,

r

sin

θ

)

r

d

r

d

θ

\int_{x^2+y^2\leq R^2} \,f(x,y)\,dx\,dy = \int_{\theta=0}^{2\pi}\int_{r=0}^R \,f(r\cos\theta,r\sin\theta)\,r\,dr\,d\theta




















x










2









+



y










2













R










2






























f


(


x


,




y


)




d


x




d


y




=





















θ


=


0










2


π


































r


=


0









R






















f


(


r




cos




θ


,




r




sin




θ


)




r




d


r




d


θ





$$
 \int\!\!\!\int_D f(x,y)dxdy
 $$






 ⁣ ⁣ ⁣

D

f

(

x

,

y

)

d

x

d

y

\int\!\!\!\int_D f(x,y)dxdy





























D




















f


(


x


,




y


)


d


x


d


y







参考:

https://zhuanlan.zhihu.com/p/158156773



版权声明:本文为skoyine原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。