1、不错的Latex参考网站

http://www.ctex.org/documents/latex/graphics/node120.html

http://www.ctex.org/documents/latex/graphics/graphics.html

2、插图

\begin{figure}
\includegraphics[width=0.25\textwidth]{./figures/figure.eps}
\caption{The Figure} \label{fig:figure}
\end{figure} 

3、插入子图

\begin{figure}
\centering
\subfigure[A subfigure.]{\includegraphics[width=0.3\columnwidth]{contour.eps}}
\
\subfigure[A subfigure.]{\includegraphics[width=0.3\columnwidth]{sin.eps}}
\
\subfigure[A subfigure.]{\includegraphics[width=0.3\columnwidth]{contour.eps}} \\
\subfigure[A subfigure.]{\includegraphics[width=0.3\columnwidth]{contour.eps}}
\
\subfigure[A subfigure.]{\includegraphics[width=0.3\columnwidth]{contour.eps}}
\
\subfigure[A subfigure.]{\includegraphics[width=0.3\columnwidth]{contour.eps}}
\caption{a figure.}\label{fig:1}
\end{figure}

注意:twocolumn模式下,单栏宽度为\columnwidth。全栏宽度为\textwidth

4、双栏模式通栏插图

注意区别是否加入 stfloats宏包的区别。

\lipsum

\begin{figure*}[!t]
\centering
\subfigure[A subfigure.]{\includegraphics[width=0.3\textwidth]{contour.eps}}
\hfill
\subfigure[A subfigure.]{\includegraphics[width=0.3\textwidth]{sin.eps}}
\hfill
\subfigure[A subfigure.]{\includegraphics[width=0.3\textwidth]{contour.eps}} \\
\subfigure[A subfigure.]{\includegraphics[width=0.3\textwidth]{contour.eps}}
\hfill
\subfigure[A subfigure.]{\includegraphics[width=0.3\textwidth]{contour.eps}}
\hfill
\subfigure[A subfigure.]{\includegraphics[width=0.3\textwidth]{contour.eps}}
\caption{a figure.}\label{fig:1}
\end{figure*}

\lipsum

\lipsum

注意:代码中最后有两个随机文本段落加入(\lipsum命令用于加入随机文本),通栏图将会出现在第三个页面上。

5、裁切显示图像

\documentclass[10pt,twocolumn,letterpaper]{article}

\usepackage{times}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{adjustbox}
\usepackage{lipsum}

\begin{document}

\begin{figure}
\centering
\includegraphics[width=\columnwidth]{sin.eps}%
\caption{sin.}\label{fig:sin}
\end{figure}

\begin{figure}
\centering
\adjustbox{trim={.05\width} {0.01\height} {0.5\width} {.2\height},clip}%
{%
\includegraphics[width=1.1\columnwidth]{sin.eps}%
}
\caption{cut sin.}\label{fig:cutsin}
\end{figure}

....

\end{document}


6、插入子图,不包含子图的标题

代码

\documentclass[a4paper,12pt]{article}
\usepackage{lipsum}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{graphicx}
\begin{document}
\lipsum
\begin{figure}[!ht]
\centering
\subfloat[]{%
  \includegraphics[width=0.48\columnwidth]{1.png}%
  \label{fig:a} %
}% end subfigure
\hfil
\subfloat[]{%
  \includegraphics[width=0.48\columnwidth]{2.png}%
  \label{fig:b} %
}% end subfigure
\\
\subfloat[]{%
  \includegraphics[width=0.48\columnwidth]{3.png}%
  \label{fig:c} %
}% end subfigure
\hfil
\subfloat[]{%
  \includegraphics[width=0.48\columnwidth]{4.png}%
  \label{fig:d} %
}% end subfigure
\caption{%
Sub-figures illustration. \protect\subref{fig:a} A. \protect\subref{fig:b} B. \protect\subref{fig:c} C. \protect\subref{fig:d} D.%
}
\label{fig:illus}
\end{figure}
\lipsum
\end{document}

[LaTex]插图的更多相关文章

  1. matlab作图 latex插图

    推荐用saveas eps,再用eps2pdf转成pdf.这样可以之间pdflatex编译. if result.savepic saveas(gcf,[ pwd '/picture/right_' ...

  2. Latex技巧:LaTex插图命令includegraphics参数详解

    Latex插图的命令是\includegraphics[选项]{文件} 这里的选项在表 7.1, 7.2, 7.3 中列出. 因为 \includegraphics 不会结束 当前段落,所以它能够在文 ...

  3. LaTeX技巧012:LaTeX 插图加载宏包

    LaTeX 插图加载宏包.支持 LaTeX - DVIPDFMx; pdfLaTeX; XeLaTeX 三种编译方式,支持 eps/pdf/jpg/png 等图片格式. % Put this snip ...

  4. latex插图续

    LaTeX中一般只直接支持插入eps(Encapsulated PostScript)格式的图形文件, 因此在图片插入latex文档之前应先设法得到图片的eps格式的文件.  UNIX下的各种应用软件 ...

  5. latex 插图排版

    LaTeX的图片插入及排版   LaTeX中一般只直接支持插入eps(Encapsulated PostScript)格式的图形文件, 因此在图片插入latex文档之前应先设法得到图片的eps格式的文 ...

  6. Latex插图操作

    1.竖排插入两张图 \begin{figure}[h] //放在当前位置 \centering \subfigure[A given traffic flow set]{ \includegraphi ...

  7. Latex:入门教程

    http://blog.csdn.net/pipisorry/article/details/54571521 总的来说,LaTex是一套排版系统,与word那种所见即所得对排版方式不太,用LaTex ...

  8. Latex 学习之旅

    学习资料 A simple guide to LaTeX - Step by Step LaTeX WikiBook LaTeX 科技排版 TeXdoc Online (TeX and LaTeX d ...

  9. LaTeX 图片色偏解决方法

    本系列文章由 @YhL_Leo 出品,转载请注明出处. 文章链接: http://blog.csdn.net/yhl_leo/article/details/50327113 在LaTeX的编辑模式中 ...

随机推荐

  1. [LeetCode] Repeated String Match 重复字符串匹配

    Given two strings A and B, find the minimum number of times A has to be repeated such that B is a su ...

  2. 从零开始搭建口袋妖怪管理系统(1)-从Angular1.x开始

    开坑,一直喜欢口袋妖怪,想着能写点有关的程序. 最近项目要改写管理系统,所以用Angular1.x搭建一个口袋妖怪管理系统试试. 巩固Ng1.x的知识+学习库的用法,然后算是记录一个系统从零开始到成型 ...

  3. XMLHTTPRequestObject获取服务器数据

    http://www.educity.cn/develop/526316.html 在Web客户端使用xmlhttp对象,可以十分方便的和服务器交换数据,我们可以获取和发送任何类型的数据,甚至二进制数 ...

  4. 十大面试难题解惑,看完秒杀一切 HR 面。程序员必读!

    最能体现求职者能力的就是面试,能不能拿到Offer,取决于你面试时的表现,只有有准备才能在面试过程中游刃有余. 小编收集了10个面试官最爱提的问题,虽然题目千变万化,但是万变不离其宗,只要掌握了答题的 ...

  5. 2015 多校联赛 ——HDU5400(水)

    Sample Input 5 2 -2 0 2 0 -2 0 5 2 3 2 3 3 3 3   Sample Output 12 5 求最多多少序列满足,前半部分满足d(j+1) = d(j)+d1 ...

  6. bzoj 3751: [NOIP2014]解方程

    Description 已知多项式方程: a0+a1x+a2x^2+...+an*x^n=0 求这个方程在[1,m]内的整数解(n和m均为正整数). 解题报告: 这题比较诡,看到高精度做不了,就要想到 ...

  7. Centos下出现read-only file system 的解决办法

    Centos下出现这种情况说明磁盘只能读不能写,出现这种情况一般是因为不正常的关机或者硬盘损坏导致磁盘挂载出现问题. 本萌新也遇到了这个问题,尝试了各种命令都不行,最后用了mount -o remou ...

  8. 《Java技术》第三次作业

    (一)学习总结 1.阅读下面程序,分析是否能编译通过?如果不能,说明原因.应该如何修改?程序的运行结果是什么?为什么子类的构造方法在运行之前,必须调用父 类的构造方法?能不能反过来? class Gr ...

  9. 索引法则--LIKE以%开头会导致索引失效进而转向全表扫描(使用覆盖索引解决)

    Mysql 系列文章主页 =============== 1 准备数据 1.1 建表 DROP TABLE IF EXISTS staff; CREATE TABLE IF NOT EXISTS st ...

  10. RESTful Console Application

    RESTful Console Application Introduction Inspirited by RESTFul architecture, A console application t ...