文本之间的巨大间距 [英] Huge Spacing between text

查看:62
本文介绍了文本之间的巨大间距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下给定的乳胶代码中:

In the given latex code below:

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\begin{equation*} N_{i}=\sum_{i\ne j} r_{i} \times F_{i}^{j}=\sum_{i\ne j} r_{j} \times F_{i}^{j} \text{()used dummy varialble concept} \end{equation*}
\end{document}

我希望方程和给定代码右侧的文本部分之间有间距(正如我们在任何物理书中通常看到的那样),以便我能够轻松地处理它们,并且如果右侧的文本在文本中包含的内容更多我希望它走到它的下面,然后开始正常地写其他东西.

i want spacing between the equation and the text part on right hand side in the given code (as we normally see in any physics book) as am i comfortable on working them and also if the text on right side is more in text i want it to go just below of it and then to start writing other things normally.

推荐答案

听起来您可能正在寻找 \ tag 命令?这会将您的文本推到页面上最右边的位置.

It sounds that you might be looking for the \tag command? This will push your text to the right-most position on the page.

\begin{equation*}
    N_{i}=\sum_{i\ne j} r_{i} \times F_{i}^{j}=\sum_{i\ne j} r_{j} \times F_{i}^{j} \tag*{()used dummy variable concept}
\end{equation*}

flalign 环境可用于获得类似的结果:

The flalign enviornment can be used to get a similar result:

\begin{flalign*}
   &&N_{i}=\sum_{i\ne j} r_{i} \times F_{i}^{j}=\sum_{i\ne j} r_{j} \times F_{i}^{j} && \text{()used dummy varialble concept}
\end{flalign*}

我敢肯定,还有很多其他方法可以实现您想要的目标,但是 \ tag 似乎最接近您想要的目标.

I'm sure there are lots of other ways to get at what you desire, but it seems that \tag might be closest to what you're looking for.

这篇关于文本之间的巨大间距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆