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. json pickle ;shelve

    import json dic={'name':'alex'} """ f=open("new_hello","w") # dic ...

  2. Linux 在添加一个新账号后却没有权限怎么办

    当添加一个新账号后,我们可能会发现新账号sudo 时会报告不在sudoers中,使用su -s时输入密码后也会认证失败 上网搜索大部分都要求修改/etc/sudoers中的内容,但修改这个文件必须需要 ...

  3. springboot+shiro+redis项目整合

    介绍: Apache Shiro是一个强大且易用的Java安全框架,执行身份验证.授权.密码学和会话管理.使用Shiro的易于理解的API,您可以快速.轻松地获得任何应用程序,从最小的移动应用程序到最 ...

  4. [Luogu 3835]【模板】可持久化平衡树

    Description 您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作(对于各个以往的历史版本): 插入x数 删除x数(若有多个相同的数,因只删除一个,如果没有请忽略该操作 ...

  5. [BZOJ 2144]跳跳棋

    Description 跳跳棋是在一条数轴上进行的.棋子只能摆在整点上.每个点不能摆超过一个棋子.我们用跳跳棋来做一个简单的游戏:棋盘上有3颗棋子,分别在a,b,c这三个位置.我们要通过最少的跳动把他 ...

  6. 51 nod 1456 小K的技术(强连通 + 并查集)

    1456 小K的技术 题目来源: CodeForces 基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题   苏塞克王国是世界上创新技术的领先国家,在王国中有n个城市 ...

  7. SPOJ NSUBSTR

    You are given a string S which consists of 250000 lowercase latin letters at most. We define F(x) as ...

  8. vim的基本介绍

    vim四种模式: 1.正常模式(Normal-mode) 当我们打开vim时就会进入到正常模式,这个时候是不能编辑的,一般用于浏览文件,包括复制,删除一些文本操作.我们可以通过键盘的上下左右来进行光标 ...

  9. js时间比较,获取n天后(前)的日期

    <html> <head> <meta http-equiv="Content-Type" content="textml; charset ...

  10. Java自定义注解的实现

    Java自定义注解的实现,总共三步(eg.@RandomlyThrowsException): 1.首先编写一个自定义注解@RandomlyThrowsException package com.gi ...