下面的方程式在latex中不显示。此外,介绍性文本不能正确显示(所有单词一起显示,不带空格和斜体)
A common form of this potential is the 12-6 Lennard Jones (LJ) potential
expressed as equation 2.7
\begin{align}
U_{ij}= 4\epsilon_{ij}[(\frac{\sigma_{ij}}{r_{ij})^12-
(\frac{\sigma_{ij}}{r_{ij})^6]
\end{align}另外,在下面的文本中,所有的单词都在一起,没有空格,并且是斜体。
Where \epsilon_{ij} and \sigma{ij} represent well depth and diameter of
the atom respectively. \epsilon_{ij} and \sigma_{ij} for unlike atoms
are determined using Lorentz-Berthelot combination rules [44] given in
equations 2.8 and 2.9非常感谢您的帮助。我在这里附上一张输出的图片。

发布于 2019-01-29 03:16:02
这是因为您没有正确使用内联数学模式。在你发布的图片中

它显示您的文本前面有(看起来像是) \epsilon_{ij}。\epsilon需要数学字体,因此您应该使用$\epsilon_{ij}$。对于要排版的任何内联数学也是如此。这将是建议/正确的编码:
A common form of this potential is the 12-6 Lennard Jones (LJ) potential
expressed as equation~\eqref{eq:lj-potential},
\begin{equation}
U_{ij} = 4 \epsilon_{ij} [ (\frac{\sigma_{ij}}{r_{ij})^{12}
- (\frac{\sigma_{ij}}{r_{ij})^6 ] \label{eq:lj-potential}
\end{equation}
where $\epsilon_{ij}$ and $\sigma{ij}$ represent well depth and diameter of
the atom respectively. $\epsilon_{ij}$ and $\sigma_{ij}$ for unlike atoms
are determined using Lorentz-Berthelot combination rules~\cite{lorentz-berthelot}
given in equations~\eqref{eq:epsilon} and~\eqref{eq:sigma}.请注意以下事项:
对于单行编号的方程式,
equation;因为方程式编号可以更改,所以align用于多行方程式(这可能需要在alignment).aligns和\refs之前使用空行(换行符)(或\eqref,因为您使用的是amsmath)。让TeX负责存储和调用这些数字。\cite在$中引用某些内容...$(或\(...\))用于内联数学(上面已经讨论过)。
发布于 2019-01-30 08:44:33
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
U_{ij}= 4\epsilon_{ij}[
(\frac{
\sigma_{ij}
}{
(r_{ij})^{12} -
\frac{
\sigma_{ij}
}{(r_{ij})^6
}
}]
\end{align}
\end{document}https://stackoverflow.com/questions/54406338
复制相似问题