作者AdamChin (我是畜牲!!!!!!!!)
看板LaTeX
标题[问题] 请问有没有人使用LaTex撰写AIP的期刊
时间Wed Dec 8 13:45:48 2010
各位大大好
我最近使用它的template遇上一点问题
使用的软体是MacTex
我先试着compile它的sample档(aipsamp.tex)
但我无法插入图片,我如果没有在下面的每一行code前加上"%"
compile就会出现error
\begin{figure}
\includegraphics{fig_1}% Here is how to import EPS art
\caption{\label{fig:epsart} A figure caption. The figure captions are
automatically numbered.}
\end{figure}
error log:
Underfull \hbox (badness 3407) in paragraph at lines 368--372
[]\OT1/cmr/m/n/10 Figures are marked up with the \OT1/cmtt/m/n/10 figure \OT1/c
mr/m/n/10 en-vi-
Underfull \hbox (badness 1668) in paragraph at lines 368--372
\OT1/cmr/m/n/10 ron-ment, the con-tent of which im-ports the im-age
Underfull \hbox (badness 1629) in paragraph at lines 368--372
\OT1/cmr/m/n/10 ([]\OT1/cmtt/m/n/10 \includegraphics\OT1/cmr/m/n/10 ) fol-lowed
by the fig-ure cap-tion
LaTeX Warning: Reference `fig:epsart' on page 3 undefined on input line 377.
./aipsamp.tex:379: LaTeX Error: File `fig_1' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.379 \includegraphics{fig_1}
% Here is how to import EPS art
?
不知是否有人遇过类似的问题
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.13.142
1F:→ lovinlover:你有抓图档吗? 12/08 14:30
2F:→ AdamChin:我把图档和tex档放在同个资料夹 12/08 14:33
3F:→ lovinlover:我记得要连副档名一起输入... 12/08 14:43
4F:推 Icthyoblue:不需要副档名 程式会判定 只要你用他支援的格式 12/10 23:32
5F:→ Icthyoblue:所以原PO的图档格式有用对吗? 12/10 23:33
6F:推 YCTzeng:\begin{figure} 09/02 01:03
7F:→ YCTzeng:\includegraphics{fig_1.eps} 09/02 01:05
8F:→ YCTzeng:\caption{A figure caption. The figure captions are 09/02 01:07
9F:→ YCTzeng:automatically numbered.}\label{fig:epsart} 09/02 01:08
10F:→ YCTzeng:\end{figure} 09/02 01:10