我在Mathematica中计算了函数的梯度矢量,我必须制作一个.tex文档,然后将其编译为pdf。代码是这样的:
\left\{-\frac{x z u^{(0,0,1)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)}{\left(x^2+y^2+z^2\right)^{3/2}}+\left(\frac{1}{\sqrt{x^2+y^2+z^2}}-\frac{x^2}{\left(x^2+y^2+z^2\right)^{3/2}}\right) u^{(1,0,0)}
\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)-\frac{x y u^{(0,1,0)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)}{\left(x^2+y^2+z^2\right)^{3/2}},-\frac{y z u^{(0,0,1)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)}{\left(x^2+y^2+z^2\right)^{3/2}}+\left(\frac{1}{\sqrt{x^2+y^2+z^2}}-\frac{y^2}{\left(x^2+y^2+z^2\right)^{3/2}}\right) u^{(0,1,0)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)-\frac{x y u^{(1,0,0)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)}{\left(x^2+y^2+z^2\right)^{3/2}},\left(\frac{1}{\sqrt{x^2+y^2+z^2}}-\frac{z^2}{\left(x^2+y^2+z^2\right)^{3/2}}\right) u^{(0,0,1)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)-\frac{y z u^{(0,1,0)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)}{\left(x^2+y^2+z^2\right)^{3/2}}-\frac{x z u^{(1,0,0)}\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\frac{y}{\sqrt{x^2+y^2+z^2}},\frac{z}{\sqrt{x^2+y^2+z^2}}\right)}{\left(x^2+y^2+z^2\right)^{3/2}}\right\}
如何将其放入pdf中?我该如何分割?我知道的拆分方法似乎都不起作用。预先感谢