如何解决标题未使用 LaTeX 呈现
while(True):
if socket_client.recv(1024):
updatestock = socket_client.recv(1024)
updatestock2 = pickle.loads(updatestock)
print(updatestock2)
if updatestock2 == "Quit":
break
else:
update()
mydb.close()
socket_client.close()
\include{preamble}
\title{test title}
\begin{document}
\maketitle
\begin{equation*}
\begin{aligned}
\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\dots}}}}}
\end{aligned}
\end{equation*}
\bibliographystyle{plain}
\bibliography{references}
\end{document}
出于某种原因,当我编译代码时,标题不会包含在 pdf 中,我确定我在正确的位置有 \title{} 和 \maketitle。任何有关为什么会这样的帮助将不胜感激。
解决方法
将标题移到 \begin{document}
之后:
\documentclass{revtex4}
\begin{document}
\title{test title}
\maketitle
\end{document}
(不要对其他文档类这样做。大多数情况下,最好在序言中使用 \title
,例如,如果与 hyperref 结合使用,可以获得合理的 pdf 元数据)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。