LaTex:图片排版

Posted by 冰河 at 15:54 2 Responses » 23,928 Views
102010

一般支持三种格式的图片排版

%% if you use PostScript figures in your article

%% use the graphics package for simple commands

%% usepackage{graphics}

%% or use the graphicx package for more complicated commands

%% usepackage{graphicx}

%% or use the epsfig package if you prefer to use the old commands

%% usepackage{epsfig}

eps格式图片的排版举例:

首先需要在导言部分引入相关包:usepackage{epsfig}

排版效果图:

排版代码:

%Latex排版之图片排版

begin{figure*}[!htbp]

centering

psfig{file=pic/Ex4-20ga.eps,width=1.5in,origin=br,angle=-90}

psfig{file=pic/Ex4-20gb.eps,width=1.5in,origin=br,angle=-90}

%psfig{file=pic/Ex4-20gc.eps,width=1.5in,origin=br,angle=-90}

caption {Experiment result for uneven data distribution.}

label{fig:ex4}

end{figure*}

需要注意的:在论文中排版eps图片后,编译tex文件的顺序为:先运行编译TeXify ,再运行dvi2pdf 得到pdf文件。

© 2009 - 2024 冰河的博客