Latex --- 有没有办法将方程式编号为一个制表符的空格从右边距移动(向左移动)?
我一直在格式化我的论文,但一个小问题困扰着我。 我使用以下代码来排版方程
\begin{align}
& R=\frac{P^2}{P+S'} \label{eqn:SCS}\\
&\mbox {where} \quad \mbox R = \mbox {Watershed Runoff} \notag\\
&\hspace{0.63in} \mbox P = \mbox{Rainfall} \notag\\
&\hspace{0.63in} \mbox S' = \mbox{Storage in the watershed $=\frac{1000}{CN}-10$ }\notag
\end{align}
我的输出要求是这样的: 方程应从左边距开始一个制表符空间 方程编号应以距离右边距一个制表符空格结束。
使用上面的代码,我让方程从正确的位置开始,但没有编号。
任何帮助将不胜感激。
谢谢 国会议员
I have been formatting my dissertation and one little problem is stucking me up.
I used the following code to typeset an equation
\begin{align}
& R=\frac{P^2}{P+S'} \label{eqn:SCS}\\
&\mbox {where} \quad \mbox R = \mbox {Watershed Runoff} \notag\\
&\hspace{0.63in} \mbox P = \mbox{Rainfall} \notag\\
&\hspace{0.63in} \mbox S' = \mbox{Storage in the watershed $=\frac{1000}{CN}-10$ }\notag
\end{align}
My output requirement is such that:
The equation should begin one tab space from the left margin
The equation number should end at one tab space from the right margin
With the above code, I have the equation begin at the right place but not the numbering.
Any help will be extremely appreciated.
Thanks
MP
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我能做到的最好的。请注意
fleqn
选项和minipage
环境。如果您始终需要此功能,则必须相应地重新定义align
环境。编辑
更优雅和对称的版本:
Best I could do. Notice the
fleqn
option and theminipage
environment. If you need this all the time, you'll have to redefine thealign
environment accordingly.EDIT
A more elegant and symmetric version:
没关系,我一直在使用 \setlength{\mathindent}{0.5in} 这使得我的方程从左边距 1in 开始。我将代码修改如下,就像这样工作!!!!甜蜜...
你让我很开心!!!!
Nevermind, I had been using \setlength{\mathindent}{0.5in} that made my equation begin at 1in from left margin. I modified the code as follows at is worked JUST LIKE THAT!!!! SWEET...
You made my day!!!!
\hspace{.63in}
brrrrr...以下代码解决了您的问题。
\hspace{.63in}
brrrr....The following code solves your problem.