Latex在表格中添加图片
1、不添加图片
\end{table}
\begin{table}[h]\caption{Name of this table}\centering\begin{tabular}{ | c | l | l | }\hlineItems & Advantages & Disadvantages \\ \hlineitem 1& blabla& blabla\\ \hline\end{tabular}
\end{table}
2、在表格中添加图片
\begin{table}[pbt] %[pbt]:表格最优位置
\centering % 表格居中
\caption{Three model results diagram.} %表标题
\vspace{0.15cm} % 表格与表标题之间的距离
\label{tab3} % 表标签
\begin{tabular}{|c|c|c|c|}
\hline
\textbf{Model} & \textit{\textbf{KIND}} & \textbf{Global Graph} & \textbf{Partial Graph} \\ \hline
\multirow{2}{*}{\textbf{XGBoost}} & \textit{Bitcoin} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} \\ \cline{2-4}& \textit{Gold} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} \\ \hline
\multirow{2}{*}{\textbf{\begin{tabular}[c]{@{}c@{}}Random\\ Forest\end{tabular}}} & \textit{Bitcoin} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} \\ \cline{2-4}& \textit{Gold} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} \\ \hline
\multirow{2}{*}{\textbf{LSTM}} & \textit{Bitcoin} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} \\ \cline{2-4}& \textit{Gold} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} & \begin{minipage}[b]{0.3\columnwidth}\raisebox{-.5\height}{\includegraphics[width=\linewidth]{pic5/5-6Weldingeffect.pdf}}\end{minipage} \\ \hline
\end{tabular}
3、在表格中添加图片
\begin{table}[!ht]
\centering
% table caption is above the table
\caption{table figure}
\label{tab:Comparison} % Give a unique label
% For LaTeX tables use
\begin{tabular}{cccc}
\hline
Model& \makecell[c]{Servo Robot\\
\begin{minipage}[b]{0.22\columnwidth}\centering{\includegraphics[width=0.9\textwidth]{pic5/5-6Weldingeffect.pdf}}
\end{minipage}
}& \makecell[c]{Meta Vision\\
\begin{minipage}[b]{0.22\columnwidth}\centering{\includegraphics[width=0.9\textwidth]{pic5/5-6Weldingeffect.pdf}}
\end{minipage}
}&\makecell[c]{Sensor\\
\begin{minipage}[b]{0.22\columnwidth}\centering{\includegraphics[width=0.9\textwidth]{pic5/5-6Weldingeffect.pdf}}
\end{minipage}} \\
\hline
Weight & 0.8kg & 1kg & 1.3kg \\
Vision & Linear & Linear & Hybrid\\
Function & \makecell[c]{Model\\Size}& \makecell[c]{Training\\Time}&\makecell[c]{Detection\\Time} \\
Function & 6 & 7 & 8\\
Price & 2& 3 & 4\\
\hline
\end{tabular}
\end{table}
4、多行表格
\begin{tabular}{lcccc}
\hline
\multirow{2}{*}{Multi-Row}&
\multicolumn{2}{c}{Multi-Column}&
\multicolumn{2}{c}{\multirow{2}{*}{Multi-RowandCol}} \\
\cline{2-3}& column-1&column-2 & \multicolumn{2}{c}{}\\
\hline
label-1 & label-2&label-3 & label-4& label-5\\
\hline\\
\end{tabular}
Latex在表格中添加图片相关推荐
- ag-grid 表格中添加图片
ag-grid是一种非常好用的表格,网上搜索会有各种各样的基本用法,不过对于在ag-grid 表格中添加图片我没有找到方法,看了官方的文档,当然英文的自己也是靠网页翻译,最后发现有这么一个例子,我知道 ...
- iview在table中添加图片
我们知道iview的table封装的太好,如果只是展示数据简直不要太简单,但是比如合并单元格就很麻烦,而我要做的是在table中添加图片 建议大家先看一下这个:https://www.iviewui. ...
- Python3-word文档操作(十):利用docx库创建word文档,添加段落,添加表格,添加图片,设置文字粗体,斜体
1 简介: 作为一个综合例子,本篇主要显示docx库的一些基本操作: 利用docx库创建word文档,添加段落,添加表格,添加图片,设置文字粗体,斜体. 2 举例: 对word文档进行属性的设置,以及 ...
- 【Python】通过xlsxwriter向excel表格中插入图片、本地超链接
通过python向excel表格中插入图片,且设置图片的本地超链接. 代码亲测可行,python版本为3.6.3 import xlsxwriter# 创建一个新Excel文件并添加一个工作表. wo ...
- layui数据表格中展示图片及图片预览
在项目中遇到数据表格中放入图片同时可以点击放大预览.预览方式我才用的是layer方式.代码如下: layui.use('table', function(){var table = layui.tab ...
- html表格中添加超链接,Excel表格中添加超链接的方法教程
在我们使用Excel表格的过程中,有时候需要为表格内的内容添加网站地址的超链接,以方便引入相关的内容,这个时候,我们就需要使用到添加超链接的知识了.那么,怎么在Excel表格内添加超链接呢?接下来由学 ...
- 初次使用Android Studio问题,Android Studio往项目中添加图片
2019独角兽企业重金招聘Python工程师标准>>> 习惯了iOS往项目中直接拖拽的图片的习性,第一次往Android Studio中添加图片为难了,怎么也拖拽不进去,为难了,研究 ...
- java 图片动画_java在窗口中添加图片做动画,怎么一闪一闪的?
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 视频来自:优酷 在java中添加图片做动画效果,怎么一闪一闪的运动啊?怎样才能让它不闪的连续运动呢? 下面是代码,代码项目project里有两个类,一个是 ...
- 【Github】怎么在README.md中添加图片?
原理是将图片作为文档上传,在README.md中引用即可. 参考博客:[GitHub]给GitHub上的ReadMe.md文件中添加图片怎么做 . gitHub创建文件夹
最新文章
- TCP/IP协议——ARP详解
- JVM 监控以及内存分析
- [常用类]Scanner 类
- STL常用对象,不会搞得C++跟没学一样
- vue登录如何存储cookie_vue保持用户登录状态(各种token存储方式)
- 微服务治理框架的选择:对比Spring Cloud和Istio
- C++中如何使类不能继承
- java hadoop makefile_makefile高级用法--make 的运行
- 使用fiddler4和夜神模拟器进行app抓包
- cad放大_如何把CAD图纸转为高清图片?教你两种方法,小白也能轻松学会
- 微信PC版怎么安装旧版本
- 马原复习思维导图-前三章
- MySQL ORDER BY 1 DESC的用法
- wamp5环境配置基础教程
- Python+Docker+Redis-实现分布式爬取阳光问政
- 第三代大数据处理方案Flink
- pcolor和surf画出的图形转存为eps或pdf格式出现横竖斜白色虚线网格,完美去掉!!!
- linux 查看mysql
- 测试功放HT8692HT8299s
- Arcgis中碎小斑块的处理
热门文章
- 做直播要准备些什么(直播硬件和网络要求)
- 设m,n均为自然数,m可表示为一些不超过n的自然数之和, f(m,n)为这种表示方式的数目。 例:f(5,3)=5,有五种表示方式: 3+2,3+1+1,2+2+1,2+1+1+1,1+1+1+1+1
- JAVA中判断是否为闰年的条件是什么_Java判断是否为闰年
- 农村污水处理物联网解决方案
- ajax异步请求——form表单提交 及 表单序列化提交
- 路由器可以运行linux软件吗,用Coyote Linux打造
软件路由器
- openwrt-AR系列flash地址分区及系统烧写
- 一文讲透需求管理(方法+模型工具)
- 压铸PQ实战分享 1/3
- python高级函数,将函数作为变量、返回函数