处理这样的公式太长溢出的问题,我尝试着写了一下,没有找到正确的解决办法,下面是我尝试的代码
\documentclass{article}
\usepackage{breqn}
\breqnsetup{breakdepth={20}}
\begin{document}
\begin{math}
\frac{w_0^{-| \ell | -1} \sqrt{\frac{2^{| \ell | +1} \frac{N-| \ell | }{2}!}{\frac{| \ell | +N}{2}!}} \left(x^2+y^2\right)^{\frac{| \ell | }{2}} e^{-\frac{x^2+y^2}{w_0^2}+i \ell \arg (x+i y)} L_{\frac{N-| \ell | }{2}}^{| \ell |
}\left(\frac{2 \left(x^2+y^2\right)}{w_0^2}\right)}{\sqrt{\pi }}\frac{w_0^{-| \ell | -1} \sqrt{\frac{2^{| \ell | +1} \frac{N-| \ell | }{2}!}{\frac{| \ell | +N}{2}!}} \left(x^2+y^2\right)^{\frac{| \ell | }{2}} e^{-\frac{x^2+y^2}{w_0^2}+i \ell \arg (x+i y)} L_{\frac{N-| \ell | }{2}}^{| \ell |
}\left(\frac{2 \left(x^2+y^2\right)}{w_0^2}\right)}{\sqrt{\pi }}
\end{math}
\end{document}
自己回答一下,用align环境,但和breqn宏包无关
\begin{align}
\mathrm{LG}_{N, \ell}(r, \phi)=&\sqrt{\frac{2^{|\ell|+1}\left(\frac{1}{2}[N-|\ell|]\right) !}{\left(\frac{1}{2}[N+|\ell|]\right) !}} g_{0}(r)\\
&\times\mathrm{e}^{\mathrm{i} \ell \phi} \frac{r^{|\ell|}}{w_{0}^{|\ell|}} L_{\frac{1}{2}[N-|\ell|]}^{|\ell|}\left(\frac{2 r^{2}}{w_{0}^{2}}\right)\label{eqn2}
\end{align}
`begin{equation}
begin{aligned}
mathrm{LG}_{N, ell}(r, phi)=& sqrt{frac{2^{|ell|+1}left(frac{1}{2}[N-|ell|]right) !}{left(frac{1}{2}[N+|ell|]right) !}} g_{0}(r) \
& times mathrm{e}^{mathrm{i} ell phi} frac{r^{|ell|}}{w_{0}^{|ell|}} L_{frac{1}{2}[N-|ell| mid}^{|ell|}left(frac{2 r^{2}}{w_{0}^{2}}right)
end{aligned}
end{equation}`
这样也可以
明白了 谢谢