markdown转pdf时latex格式下分段函数用的大括号无法正常渲染
已经尝试的解决方案:
a.使用 Markdown all in one 和 Markdown pdf 插件
b.添加latex渲染脚本
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: {inlineMath: [['$', '$']]}, messageStyle: "none" });
</script>
均无法正确渲染分段函数用的大括号
函数格式:
$$
处理方法 = \left\{
\begin{array}{ll}
\text{初等变换 } \left\{
\begin{array}{ll}
\text{同除:适用$\frac {\infty}{\infty}型$} \\
\text{因式分解:适用$\frac {0}{0}型$} \\
\text{有理化:适用$\frac {0}{0}型$} \\
\text{通分:适用$\frac {0}{0}型$} \\
\end{array}
\right. \\[3em]
\text{无穷小 $\cdot$ 有界 } \\
\text{等价无穷小替换:适用于$x\to 0$} \left\{
\begin{array}{ll}
\text{$\sin x\sim x\sim \tan x\sim \arcsin x\sim \arctan x\sim \ln (1+x)\sim e^x-1$} \\[0.2em]
\text{$(1+x)^\alpha -1\sim \alpha x$ 特别地,当$\alpha=1/2时$时,$\sqrt {1+x}-1\sim \frac {1}{2}x-\frac {1}{8}x^2$} \\[0.2em]
\text{$a^x-1\sim x\ln a$} \\[0.2em]
\text{$x-\ln (1+x)\sim \frac {1}{2}x^2$} \\[0.2em]
\text{$x^3+2x^2\sim 2x^2$} \\[0.2em]
\text{$|x|+x^3\sim |x|$} \\[0.2em]
\text{$1-\cos x \sim \frac {1}{2}x^2$} \\[0.2em]
\text{$x-\sin x \sim \frac {1}{6}x^3,\arcsin x-x\sim \frac {1}{6}x^3,\tan x-x\sim \frac {1}{3}x^3,x-\arctan x\sim \frac {1}{3}x^3$} \\
\end{array}
\right. \\[1em]
\text{两个重要极限 } \left\{
\begin{array}{ll}
\text{$\lim_{x\to 0}\frac {\sin x}{x}=1$} \\
\text{$\lim_{x\to \infty}(1+\frac {1}{x})^x=e$} \\
\end{array}
\right. \\[1em]
\text{两个存在准则 } \left\{
\begin{array}{ll}
\text{夹逼准则} \\
\text{单调有界} \\
\end{array}
\right. \\[1em]
\text{洛必达法则 } \\
\end{array}
\right.
$$
应该渲染出的样子:

实际的样子:
