看板LaTeX
标 题Re: [问题] 加入eps图档的问题
发信站交大资科_BBS (Tue Nov 6 19:04:28 2007)
转信站ptt!ctu-reader!ctu-peer!news.nctu!csnews.cs.nctu!news.cs.nctu!cis_nctu
我都是用 eps 档,我的写法是
\begin{figure}[ht]
\begin{center}
\leavevmode \hbox{ \epsfxsize = 2.5in \epsffile{fim.eps}}
\end{center}
\caption{Illustration of {\bf Case1}.}
\label{fig}
\end{figure}
在 title 附近需要加入下面这行
\input epsf
==> 在 [email protected] (宿醉) 的文章中提到:
> 您好,
> 我想请问latex加入图档的问题,
> 我中文是用cwTEX,
> 如果我是加入jpg档就可以,
> 但是如果我加eps档就不行,
> 相关语法如下:
> \includegraphics[width=.9\textwidth]{fim.jpg}
> 就可以,
> 如果改成:
> \includegraphics[width=.9\textwidth]{fim.eps}
> 就不行,
> compile会过,
> 但再要开启pdf的时候,
> 会出现
> There was an error opening this document.
> The file is damaged and could not be repaired.
> 麻烦高手帮忙一下谢谢!
--
圣经查询系统
http://springbible.fhl.net
芳苑教会
http://fychurch.fhl.net
hypercube 与 star networks
http://blog.xuite.net/springman/hypercube
网路城邦
http://city.udn.com/v1/blog/index.jsp?uid=springman
我的 blog
http://blog.xuite.net/springman
--
* Origin: ★ 交通大学资讯科学系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>
1F:推 naturalskyss:还是不行耶 不过还是感谢你的回答 11/07 15:06
2F:推 naturalskyss:後来解决了 自问自答 11/08 11:33
3F:→ naturalskyss:在cmd加上-shell-escape参数就可以了 11/08 11:35