对于我的文档中的以下文本片段:
\documentclass[11pt]{report}
\usepackage{quotes}
\usepackage{amsmath}
\say{For vertical axes deployment, $\theta_t$ = $\theta_r$ = 0 and for horizontal axes deployment, $\theta_t$ = \frac{$\pi$}{2} and $\theta_r$ = \frac{$-\pi$}{2} are used, \dots Hence, we conclude\dots, that the pathloss is dramatically higher for vertical axes deployment \dots}\\
\end{document}
我明白了
! Missing $ inserted.
<inserted text>
$
l.396 ...higher for vertical axes deployment\dots}
\\
我不知道哪里出了问题。有人能指出问题所在吗?
短暂性脑缺血发作
答案1
你使用的$
方式不对。应该是这样的:
\documentclass{book}
\begin{document}
For vertical axes deployment, $\theta_t = \theta_r = 0 $ and for horizontal axes
deployment, $\theta_t = \frac{\pi}{2}$ and $\theta_r = \frac{-\pi}{2}$ are used,
$\dots$ Hence, we conclude$\dots$, that the path loss is dramatically
higher for vertical axes deployment $\dots$
\end{document}
对于内联分数,最好使用\pi/2
(而不是\frac{\pi}{2}
)来获得