[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] Output Contest Matches 输出比赛匹配对
During the NBA playoffs, we always arrange the rather strong team to play with the rather weak team, ...
- python 简单实现淘宝关键字商品爬取
本文有2个文件 1:taobao_re_xpath 2:taobao_re_xpath_setting # 1:taobao_re_xpath # -*- coding:utf-8 -*- # aut ...
- 【转】Apache服务器安全配置
源URL:http://foreversong.cn/archives/789 偶然下载了今年ISC大会360应急响应中心的一个ppt,在最后有个攻防领域专家注册考试目录,其中有很大一块就是中间件的安 ...
- Codeforces Round #401 (Div. 2)
和FallDream dalao一起从学长那借了个小号打Div2,他切ABE我做CD,我这里就写下CD题解,剩下的戳这里 AC:All Rank:33 小号Rating:1539+217->17 ...
- C++ 中私有继承、保护继承与公有继承
区别 下面通过一个示例来介绍三种继承的区别. 定义一个基类(假设为一个快退休的富豪): class RichMan { public: RichMan(); ~RichMan(); int m_com ...
- TensorFlow + Keras 实战 YOLO v3 目标检测图文并茂教程
运行步骤 1.从 YOLO 官网下载 YOLOv3 权重 wget https://pjreddie.com/media/files/yolov3.weights 下载过程如图: 2.转换 Darkn ...
- TensorFlow LSTM 注意力机制图解
TensorFlow LSTM Attention 机制图解 深度学习的最新趋势是注意力机制.在接受采访时,现任OpenAI研究主管的Ilya Sutskever提到,注意力机制是最令人兴奋的进步之一 ...
- 阿里 & 酷家乐:实习生面试
最近海投了十家公司,暂时有阿里两面(已凉).酷家乐两面(大概凉了).网易一面.前两个都是基础知识发挥得还可以,两家公司二面都凉凉. 阿里一面(3.21 26min) 刚好买了中饭回宿舍打开正准备吃的时 ...
- a++与 ++a
a++先执行表达式再自增执行表达式使用a原值++a先自增再执行表达示执行表达式使用自增a例:int a=0printf("%d",a++); //输0,执行完a=1int a=0p ...
- mysql 拼接
SELECT RTRIM(CONCAT(belong_master_ip ,'(',host_name,')')) AS cloudIP FROM `cloud_master_cfg`