[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] Valid Triangle Number 合法的三角形个数
Given an array consists of non-negative integers, your task is to count the number of triplets chose ...
- scrapy下载图片到自己的目录,创建缩略图,存储入库
环境和工具:python2.7,scrapy 实验网站:http://www.27270.com/tag/333.html 爬去所有兔女郎图片,下面的推荐需要过滤 逻辑:分析网站信息,下载图片和入库 ...
- Event 发布与订阅(一)
前言 主要讲的是发布与订阅在Event中的一个简单实现用来加深理解. C #中的事件(Event)的理解: 事件具有以下属性:(From Events) 发行者确定何时引发事件:订户确定对事件作出何种 ...
- [Codeforces 961G]Partitions
Description 题库链接 给你 \(n\) 个不同的元素组成的集合 \(R\) ,每个元素有一个权值 \(w\) .对于一个子集集合 \(S\) ,它的价值为 \(W(S)=|S|\cdot\ ...
- [CTSC 1999]拯救大兵瑞恩&[网络流24题]孤岛营救问题
Description $1944$ 年,特种兵麦克接到国防部的命令,要求立即赶赴太平洋上的一个孤岛,营救被敌军俘虏的大兵瑞恩.瑞恩被关押在一个迷宫里,迷宫地形复杂,但幸好麦克得到了迷宫的地形图.迷宫 ...
- LGTB 与序列
LGTB 有一个长度为N 的序列A,现在他想构造一个新的长度为N 的序列B,使得B 中的任意两个数都 互质. 并且他要使ai与bi对应项之差最小 请输出最小值 输入 第一行包含一个数N 代表序列初始长 ...
- hdu 5521 最短路
Meeting Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total ...
- hdu 5120(2014北京—求圆相交)
题意:求环的相交面积 思路: 通过画图可知,面积= 大圆相交面积 - 大小圆相交面积*2 + 小小圆相交面积 再通过圆相交模板计算即可 #include <iostream> #incl ...
- 【QAQ的Minecraft】
树套树被QAQ用木斧挖了,只剩二维RMQ了. 题目: QAQ最近爱上了一款很平凡的游戏,叫做<Minecraft>.目前游戏更新到了1.12版本,他发现了一条新的指令:/fill ...
- Mybatis整合Spring实现事务管理的源码分析
一:前言 没有完整看完,但是看到了一些关键的地方,这里做个记录,过程会有点乱,以后逐渐补充最终归档为完整流程:相信看过框架源码的都知道过程中无法完全确定是怎样的流程,毕竟不可能全部都去测试一遍 ,但是 ...