24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2369  |  回复: 3

liupq

铁虫 (小有名气)

[求助] 关于elsevier的latex投稿模板

第一次用elsevier的latex投稿模板,用的是elsarticle-template-1-num.tex,
按elsdoc.pdf中的说明写定理时用如下格式:
\begin{thm}
......
\end{end}
可用Latex编译时,报错:
“environment thm undefined”
这是什么原因吗?
请高手指点。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

rockinuk

铁杆木虫 (职业作家)

【答案】应助回帖

感谢参与,应助指数 +1
\usepackage{amsmath, amsthm, amssymb}

\begin{theorem}
....
\end{theorem}
我的爱徒~再撑一下~你快拿到清华全校优秀硕士论文了~
2楼2012-09-08 20:24:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liupq

铁虫 (小有名气)

问过Rishi T. for LaTeX Support at River Valley了,下面是回复,
问题解决了,大家在遇到类似问题的时候也可以这样咨询啊,回复很快。
> Dear  Rishi T.
> Sorry.
> The attached file is a test file

Dear _________,

Thanks for the testfile. I can see that you have loaded amsthm.sty after
declaring \newtheorem.. It will not work. So I changed the order and now it
is working.

The correct order is:

  \usepackage{amsthm}

  \newtheorem{thm}{Theorem}

thank you

--

Rishi T.
for LaTeX Support at River Valley
http://support.river-valley.com/ ... itle=Elsarticle.cls
http://support.river-valley.com/ ... AQ_-_elsarticle.cls
3楼2012-09-10 17:22:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

rockinuk

铁杆木虫 (职业作家)

【答案】应助回帖

引用回帖:
3楼: Originally posted by liupq at 2012-09-10 17:22:42
问过Rishi T. for LaTeX Support at River Valley了,下面是回复,
问题解决了,大家在遇到类似问题的时候也可以这样咨询啊,回复很快。
> Dear  Rishi T.
> Sorry.
> The attached file is a test fi ...

" \usepackage{amsthm}

\newtheorem{thm}{Theorem}   "



这样的话~~
就要改成

\begin{Theorem}
......
\end{Theorem}
我的爱徒~再撑一下~你快拿到清华全校优秀硕士论文了~
4楼2012-09-10 19:49:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 liupq 的主题更新
信息提示
请填处理意见