LaTex:图片排版

Posted by 冰河 at 15:54 Add comments 23,495 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文件。

相关日志

2 Responses to “LaTex:图片排版”

  1. 不是支持三种格式,而是最常用的三个图像支持宏包。其中epsfig最为古旧吧?按照注释内容是这样的。此外,文中的示例代码使用了psfig宏包,而非epsfig。

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam
© 2009 - 2024 冰河的博客