所以建議用可以產生這兩種圖形格式的程式去產生圖形,比方說我之前介紹的gnuplot就可以產生eps,然後產生出來還是有些問題orz,如果你有足夠的空間,比方說是單行格式的論文,大致上還可以直接插入,如果說是two-columns的模式,那gnuplot產生的eps可能會有些麻煩,還好網路上有人遇到過這樣的問題,也提出了解決方案,epscrop,可以幫你把多餘的eps空白裁切掉,這樣放入之後就比較不會有問題了
\documentclass[conference]{IEEEtran}
%\documentclass[a4paper,10pt]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage{graphicx}
\usepackage{amsmath}
\title{This is my paper title}
\author{crazyduke}
\date{}
\pdfinfo{%
/Title ()
/Author ()
/Creator ()
/Producer ()
/Subject ()
/Keywords ()
}
\begin{document}
\maketitle
\begin{abstract}
First paragraph. Hellow World!! This is context!! Is the line is long enough to show the effect.
Second paragraph.
\end{abstract}
\section{Introduction}
This is the start of introduction.$x + 2y = 3$
\begin{table}[h]
\centering %居中編排
\caption{Test Table}
\begin{tabular}[c]{|c|c|c|}
\hline
column1 & column2 & column3 \\
\hline
item1 & item2 & item3 \\
\hline
itemA & itemB & itemC \\
\hline
\end{tabular}
\end{table}
According to \eqref{eq:sum1}, we have the results
\begin{equation}
\label{eq:sum1}
\sum_{i=1}^{n}{n^2-3n+4} = f(n)
\end{equation}
As show in the Fig. (\ref{fig:roc}), our algorithm is out performance than the old one.
\begin{figure}[h] % 進入浮動環境
\centering
\includegraphics[scale=0.9]{croc2}
\caption{ROC cure} % 圖號會自動編號
\label{fig:roc}
\end{figure}
Most likely you are using pdflatex what makes sense when using TeXworks - but eps is not directly supported.- but eps is not directly supported.
\end{document}
|
圖形跟table有點像,就是要使用\begin{figure},然後\caption之後才可以接\label,圖片引入主要用\includegraphics後面接了一個[參數]跟一個{檔案名稱},要調整主要考量就是圖形的清楚程度跟美觀,縮小一點比較不會讓空間看起來那麼擁擠,可是文字會小一點
在交互參照的部份還有\refpage,這個方式會顯示出頁數,其實大多的時候用不大到,除非是寫書,不然即使編輯碩博士學位論文還是感覺不是很實用。另外\section{Introduction}後面可以接 \label{sec:introduction},這樣可以用來參考某一段落,這也是一個很方便的用法
沒有留言:
張貼留言