Latex排版---图篇、表格竖排排列,各自拥有不同的caption、label

本文介绍了如何在Latex中实现图片和表格的竖排,并确保每个元素都有独立的caption和label,可用于figure或table。
摘要由CSDN通过智能技术生成

Latex排版

让图片与表格竖向排列,各自拥有不同的caption、label。

其中figure也可以替换为table

captionof{args1}{args2}第一个参数表示为图片还是表格设置caption第二个参数是caption的内容。


\begin{figure}
	\centering
	\begin{minipage}{0.4\textwidth}
			\centering
			\includegraphics[width=220pt,height=120pt]{image/ground_truth_Indiana.eps}
			\captionof{figure}{Ground-truth map of the Indian Pines data set (16 land cover classes).} \label{fig:ground_truth_Indiana}
			\
	\end{minipage}
	\begin{minipage}{0.4\textwidth}
		\
		\captionof{table}{LAND COVER CLASSES WITH THE NUMBER OF SAMPLES
			FOR THE INDIAN PINES DATA SET}
		\begin{tabular}{lll}
			\toprule
			Class & Land Cover Type & No. of Samples \\
			\midrule
			C1 & Soybean-Steel-Towers 1 & 95 \\
			C2 & Hay-windrowed 2 & 489 \\
			C3 & Corn-min Till & 834 \\
			C4 & Soybean-no Till & 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值