测试博客园对latex的支持

Latex 测试

在博客园中使用markdown编辑器,测试使用latex公式,只需增加$符号在latex表达式周围就可以。

\[\dot{x}_{i} =a_{i} x_{i'} -( d+a_{i0} +a_{i1}) x_{i} +rx_{i}( f_{i} -\phi ) \]

如果是多行的latex公式,需要用两个$$符号来包括它们。

\[ \begin{array}{l} Question:\ inverse\ function\ of\ y\\ y\ =\ \frac{2^{^{x}}}{2^{x} +1}\\ let\ \ \ 2^{x} \ =\ t,\ so\ x\ =\ log_{2} t,\ \\ now\ we\ need\ to\ know\ which\ is\ t,\ then\ the\ x\ would\ be\ log_{2} t\\ substitude\ the\ 2^{x} \ with\ t\\ y\ =\ \frac{t}{t+1}\\ yt\ +\ y\ -\ t\ =\ 0\\ ( y-1) \cdot t\ =\ -y\\ t\ =\ \frac{-y}{y-1}\\ x\ =\ log_{2} t\ =\ log_{2} \ \frac{-y}{y-1} \end{array} \]

如果想要修改文字的字体,只能加入丑陋的html代码来实现,需要注意的是color的值并不被引号围绕

另外还需要注意,如果使用单个dollar符号,那么被修饰的latex并不会被居中,而如果使用两个dollar符号,被修饰的内容会被居中。

posted @ 2020-09-14 13:05  不怕旅途多坎坷  阅读(118)  评论(0编辑  收藏  举报