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
感谢您的帮助。我在这里附上输出的图片。
解决方案
这是因为您没有正确使用内联数学模式。在您发布的图片中
它表明您的文本前面是 (what looks like) \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
适用于多线方程(可能需要对齐)。之前没有空行(分段符)
equation
。使用
\label
s 和\ref
s (或者\eqref
,因为你正在使用amsmath
),因为方程编号可以改变。让 TeX 负责存储和调用这些数字。用于
\cite
引用参考书目中的内容。使用
$
...$
(或\(
...\)
)进行内联数学(上面已经讨论过)。
推荐阅读
- c# - ASP.net MVC C# Recaptcha on Identity Login
- in-app-purchase - Google Play Subscription Api:如何区分退款订阅和用户自行取消订阅?
- php - php无法从数组中删除项目
- python - 来自RDD的pyspark过滤列表
- sql - 字符串拆分为列而不是行
- angular - Angular CLI 配置脚本以加载整个外部 javascript 目录
- javascript - 使用 JavaScript jQuery 从 url 获取 GET 变量
- c# - AutoMapper 和实体框架包括无跟踪的循环关系
- gnuplot - 具有重叠的 gnuplot 直方图
- java - Android - 由于 java.lang.NullPointerException,无法显示接收到的位置值