如何使用breqn宏包处理公式太长溢出的问题

发布于 2021-03-27 20:27:59

处理这样的公式太长溢出的问题,我尝试着写了一下,没有找到正确的解决办法,下面是我尝试的代码
image.png

\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}

查看更多

关注者
0
被浏览
1.6k
寄存器
寄存器 2021-03-28
这家伙很懒,什么也没写!

不能过于依赖自动化,手动换行或变换表达式的写法(定义符号)应该是更为合理的方法。

4 个回答
frank.xin
frank.xin 2021-03-27
这个人不懒,但啥也没写。

我能想到的就是手动把式子分开

disenchanted
disenchanted 2021-03-28
这家伙很懒,什么也没写!

自己回答一下,用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}
1210
1210 2021-03-28
道阻且长,行则将至,行而不辍,未来可期

`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}`

image.png

这样也可以

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览