看板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