有时候在overleaf中编写latex时,会遇到行溢出问题Overfull \hbox (XXXXpt too wide) in paragraph at lines XXX-XXX

解决办法是在\begin{document}之后,添加\begin{sloppypar}

在\end{document}之前,添加\end{sloppypar}

\begin{document}
\begin{sloppypar}


text  text  text ...

\end{sloppypar}
\end{document}

这样就可以解决全文的行溢出问题

如果对你有用,记得留下点赞收藏加关注哦,后面我会持续进行输出,希望能够帮到你

Logo

一站式 AI 云服务平台

更多推荐