我有许多很长的方程式,有些有 7-8 行。我知道这里可能有成千上万的人立即被敦促评论“不要在 Latex 中扩展”,但我想这样做,所以请将此视为一项要求,不要建议其他方法。
我希望有一个与 align 完全相同的工作环境,但可以自动将页面过宽的行缩放到合适的宽度。
适当的宽度是指除最后一行之外的所有行都可以占据整个页面的宽度,但是最后一行应该有足够的边距,以便方程式编号仍然适合同一行。
作为一个非常具有挑战性的等式的例子,请以这个为例(我知道下面的排版并不好看,尤其是 \ \ ... 额外的对齐,因为我不想使用 && 对齐标签而且外观对我来说很好):
\begin{align}
\epsilon_\rho &\cong \resizebox{0.92\hsize}{!}{$\Bigg[\frac{g_0 \hat{M}}{k \hat{T}_{ex}^2} \Bigg( \zeta + \frac{\hat{T}_0}{\hat{T}_0'} \ln\bigg(\frac{\hat{T}_0}{\hat{T}(\zeta)}\bigg)\Bigg) - \frac{1 + \hat{\alpha} + \hat{\gamma}}{\hat{T}(\zeta)} \left(1 - \frac{\hat{T}_{ex} - \hat{T}(\zeta)}{\hat{T}_{ex} - \hat{T}_0} (1 + \hat{\sigma}\zeta)\right)$}\nonumber\\
&\ \ \ \ + \frac{g_0}{k \hat{T}_{ex}^2} \Bigg(\zeta + \frac{\hat{T}_0}{\hat{T}_0'} \ln\bigg(\frac{\hat{T}_0}{\hat{T}(\zeta)}\bigg)\Bigg) \left(\frac{\sum\displaylimits_{i=1}^{n_\text{species}} M_i^2 \hat{n}_i}{\sum\displaylimits_{i=1}^{n_\text{species}} M_i \hat{n}_i} - \hat{M}\right)\nonumber\\
&\ \ \ \ \resizebox{0.92\hsize}{!}{$+ \frac{1 - \frac{\hat{T}_{ex} - \hat{T}(\zeta)}{\hat{T}_{ex} - \hat{T}_0} (1 + \hat{\sigma}\zeta)}{\hat{T}(\zeta)} \left(\hat{\alpha } + \hat{\gamma} - \frac{\sum\limits_{i=1}^{n_\text{species}} M_i \hat{n}_i \alpha_i}{\hat{n}\hat{M}} - \frac{\sum\limits_{i=1}^{n_\text{species}} M_i \hat{n}_i \gamma_i}{\hat{n}\hat{M}}\right)\vast] \delta T_{ex}$}\nonumber\\
&+ \resizebox{0.92\hsize}{!}{$\Bigg[\frac{g_0 \hat{M}}{k \hat{T}_{ex}\hat{T}_0'} \ln\left(\frac{\hat{T}(\zeta)}{\hat{T}_0}\right) - \frac{1 + \hat{\alpha} + \hat{\gamma}}{\hat{T}(\zeta)} \left(\frac{\hat{T}_{ex} - \hat{T}(\zeta)}{\hat{T}_{ex} - \hat{T}_0} (1 + \hat{\sigma}\zeta) - \frac{\hat{T}(\zeta)}{\hat{T}_0}\right)$}\nonumber\\
&\ \ \ \ + \frac{g_0}{k \hat{T}_0' \hat{T}_{ex}} \ln\left(\frac{\hat{T}(\zeta)}{\hat{T}_0}\right) \left(\frac{\sum\displaylimits_{i=1}^{n_\text{species}} M_i^2 \hat{n}_i}{\sum\displaylimits_{i=1}^{n_\text{species}} M_i \hat{n}_i} - \hat{M}\right)\nonumber\\
&\ \ \ \ \resizebox{0.92\hsize}{!}{$- \frac{\frac{\hat{T}(\zeta)}{\hat{T}_0} - \frac{\hat{T}_{ex} - \hat{T}(\zeta)}{\hat{T}_{ex} - \hat{T}_0}(1+\hat{\sigma}\zeta)}{\hat{T}(\zeta)}\left(\hat{\alpha} + \hat{\gamma} - \frac{\sum\limits_{i=1}^{n_\text{species}} M_i \hat{n}_i \alpha_i}{\hat{n}\hat{M}} - \frac{\sum\limits_{i=1}^{n_\text{species}} M_i \hat{n}_i \gamma_i}{\hat{n}\hat{M}}\right)\vast] \delta T_0$}\nonumber\\
&+\frac{\sum\displaylimits_{i=1}^{n_{\text{species}}} M_i \hat{n}_i \exp(\delta G_i)}{\hat{n}\hat{M}} - 1\nonumber\\
&+ \epsilon_n \epsilon_M
\label{eq:epsRhoCombined}
\end{align}
上述代码的输出是:
--> 任何有关定义可自动处理过长叉(可通过调整大小框识别)的调整大小对齐环境的帮助都将不胜感激。