| 查看: 1623 | 回复: 2 | |||
| 【悬赏金币】回答本帖问题,作者luckyyjjun将赠送您 10 个金币 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
luckyyjjun铁虫 (正式写手)
|
[求助]
TexWorks使用pdfLaTex编译出现错误,求助各位大佬帮忙。 已有1人参与
|
||
|
使用TexWorks编译以下内容: -------------------------------------------------------------------------------- %!documentclass{article} %!usepackage[version=3]{mhchem} %!usepackage{longtable} \begin{document} \begin{longtable}{c|lc} ID & Reaction & Total Flux \\ \hline 0 & \ce{CH4} + \ce{HO} $\to$ \ce{H2O} + \ce{CH3} & 1 \\ 1 & \ce{C} + \ce{H} + \ce{H} + \ce{H} + \ce{H} $\to$ \ce{CH4} & 1 \\ 2 & \ce{H} + \ce{O} $\to$ \ce{HO} & 1 \\ \hline \end{longtable} \end{document} ---------------------------------------------------------------------------------- 错误内容如下: ------------------------------------------------------------------------------------------- This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./reac.tex LaTeX2e <2020-02-02> patch level 5 L3 programming layer <2020-03-06> (d:/Program Files/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode .def) (./reac.aux) ! LaTeX Error: The font size command \normalsize is not defined: there is probably something wrong with the class file. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.4 \begin{document} ? ------------------------------------------------------------------------------------------------------- |
» 猜你喜欢
现代”学阀”该如何界定
已经有11人回复
各位大神,目前国内有哪些比较好用的逆合成软件?
已经有15人回复
国社科系统bug了,是不是要放榜了?
已经有10人回复
课题组招2027级博士 上海工程技术大学 激光智能制造方向
已经有4人回复
上海工程技术大学 激光智能制造课题组 2027级博士研究生招生
已经有3人回复
上海工程技术大学激光智能制造课题组|2027级博士研究生招生公告
已经有11人回复
申博发邮件
已经有11人回复
我的奶奶
已经有3人回复
【答案】应助回帖
|
为什么前面三行要注释掉呢? 去掉注释就可以编译了: \documentclass{article} \usepackage[version=3]{mhchem} \usepackage{longtable} \begin{document} \begin{longtable}{c|lc} ID & Reaction & Total Flux \\ \hline 0 & \ce{CH4} + \ce{HO} $\to$ \ce{H2O} + \ce{CH3} & 1 \\ 1 & \ce{C} + \ce{H} + \ce{H} + \ce{H} + \ce{H} $\to$ \ce{CH4} & 1 \\ 2 & \ce{H} + \ce{O} $\to$ \ce{HO} & 1 \\ \hline \end{longtable} \end{document} |
3楼2021-01-05 11:39:16
|
本帖内容被屏蔽 |
2楼2021-01-05 11:00:17










回复此楼