本文介绍了缩放方程式以适合确切的页面宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个方程,对于一行来说,它的宽度太小了.我真的很想避免在下一行显示方程式编号.您如何实现的?目前,我正在使用 \ small ,但这太过分了.

I have an equation that is only a tiny bit too wide for one line. I'd really like to avoid having the equation number on the next line. How do you achieve this? Currently I'm using \small, but this is overkill.

请注意..我尝试了 scalebox fittowidth ,但收到有关缺少 \ endgroup 的错误.我还完全使用了 \!.我希望有一个解决方案,使我可以将适当的单行方程式缩放到页面的宽度.

Please note. I have tried scalebox and fittowidth but get errors about missing \endgroup. I have also used \! to its full extent. I am hoping for a solution that will allow me to scale the proper one-line equation to the width of the page.

这是一个示例(不是我的实际方程式):

Here is an example (not my actual equation):

推荐答案

\begin{equation}
\resizebox{.9\hsize}{!}{$A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+Y+Z$}
\end{equation}

\begin{equation}
\resizebox{.8\hsize}{!}{$A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+Y+Z$}
\end{equation}

这篇关于缩放方程式以适合确切的页面宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 14:57