[LaTex]插图
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]插图的更多相关文章
- matlab作图 latex插图
推荐用saveas eps,再用eps2pdf转成pdf.这样可以之间pdflatex编译. if result.savepic saveas(gcf,[ pwd '/picture/right_' ...
- Latex技巧:LaTex插图命令includegraphics参数详解
Latex插图的命令是\includegraphics[选项]{文件} 这里的选项在表 7.1, 7.2, 7.3 中列出. 因为 \includegraphics 不会结束 当前段落,所以它能够在文 ...
- LaTeX技巧012:LaTeX 插图加载宏包
LaTeX 插图加载宏包.支持 LaTeX - DVIPDFMx; pdfLaTeX; XeLaTeX 三种编译方式,支持 eps/pdf/jpg/png 等图片格式. % Put this snip ...
- latex插图续
LaTeX中一般只直接支持插入eps(Encapsulated PostScript)格式的图形文件, 因此在图片插入latex文档之前应先设法得到图片的eps格式的文件. UNIX下的各种应用软件 ...
- latex 插图排版
LaTeX的图片插入及排版 LaTeX中一般只直接支持插入eps(Encapsulated PostScript)格式的图形文件, 因此在图片插入latex文档之前应先设法得到图片的eps格式的文 ...
- Latex插图操作
1.竖排插入两张图 \begin{figure}[h] //放在当前位置 \centering \subfigure[A given traffic flow set]{ \includegraphi ...
- Latex:入门教程
http://blog.csdn.net/pipisorry/article/details/54571521 总的来说,LaTex是一套排版系统,与word那种所见即所得对排版方式不太,用LaTex ...
- Latex 学习之旅
学习资料 A simple guide to LaTeX - Step by Step LaTeX WikiBook LaTeX 科技排版 TeXdoc Online (TeX and LaTeX d ...
- LaTeX 图片色偏解决方法
本系列文章由 @YhL_Leo 出品,转载请注明出处. 文章链接: http://blog.csdn.net/yhl_leo/article/details/50327113 在LaTeX的编辑模式中 ...
随机推荐
- [LeetCode] 01 Matrix 零一矩阵
Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. The distance b ...
- 2018.4.16Spring.Net入门学习内容
三大方面: IoC:Inversion of Control 控制翻转:就是创建对象的权利由开发人员自己控制New,转到了由容器来控制. DI:Dependency InjectionIt is a ...
- PHPCMS V9 任意文件下载(Windows)
先来看看PHPCMS V9.6.0的任意下载 还是和上次的注入一样,是个由parse_str() 函数引发的变量覆盖. 位于 /phpv9.6.0/phpcms/modules/content/dow ...
- [自用]多项式类数学相关(定理&证明&板子)
写在前面 由于上一篇总结的版面限制,特开此文来记录 \(OI\) 中多项式类数学相关的问题. 该文启发于Miskcoo的博客,甚至一些地方直接引用,在此特别说明:若文章中出现错误,烦请告知. 感谢你的 ...
- bzoj2434阿狸的自动机
转载自 http://www.cnblogs.com/zj75211/p/6934976.html ●BZOJ 2434: [Noi2011]阿狸的打字机 ●赘述题目 (题意就不赘述了) ●解法: ...
- C++是跨平台的语言
最开始学习Java时,老师就说Java是跨平台的,而c++不是,这里要纠正一下观点,c++也是跨平台的,只不过是实现跨平台的方式不同而已. 1.平台 一般我们把CPU处理器与操作系统的整体叫平台.不同 ...
- Spring MVC - 表单处理示例
环境搭建 环境: Intellij IDEA Spring MVC 完整的项目文件结构如下所示: Student.java package com.ktao.controller; public cl ...
- (转)FIDDER教程
Fiddler是最强大最好用的Web调试工具之一,它能记录所有客户端和服务器的http和https请求,允许你监视,设置断点,甚至修改输入输出数据. 使用Fiddler无论对开发还是测试来说,都有很大 ...
- cisco 的六种模式(cisco 系统)
- jquery 数组操作 $.unique() $.inArray()
1.去除重复 $.unique() $.unique() 去掉重复的元素 注意 : 执行unique之前,要先调用sort对数组的内容进行排序. <script src="http:/ ...