Latex 记录

表格制作

\setlength{\floatsep}{5pt}  // 设置浮动体之间的距离(有作用域)
\begin{table}[!htb] // table设置(“表格转换器”得到基础代码)(!htb浮动设置)
\footnotesize // 设置字体大小,(tiny small large)
\centering // 表格居中
\caption{Influence of the first SAM} // 表解释
\label{tab8} // 表标签
\setlength{\tabcolsep}{1.4mm}{ // 设置列宽
\renewcommand{\arraystretch}{1.1} //设置行宽
\begin{tabular}{cccccc}
\toprule
      & \textbf{1st SAM} & \textbf{CNNs} & \textbf{Model   size} & \textbf{PSNR} & \textbf{SSIM} \\ \midrule
MS    & W                & WO            & 52.47 M               & 27.67         & 0.920         \\
MS\_3 & WO               & WO            & 22.13 M               & 27.11         & 0.911         \\
MS\_4 & WO               & W             & 69.25 M               & 27.40         & 0.916         \\ \botrule
\end{tabular}%
}
\end{table}

图片设置

\begin{figure*}[!htb] // 图像设置,加*表示占满双栏, [!htb]万金油设置
\centering // 居中
\label{fig4} // 图标号,可能自动标号根据这个来的
\captionsetup[subfloat]{labelsep=none,format=plain,labelformat=empty} 
\subfloat[]{ // 设置不加(a)序号的图像模式

\begin{minipage}[t]{0.49\textwidth} // minipage表示subfloat的子图像设置(数量、宽度);textwidth表示双栏长度,linewidth表示单栏长度。
\centering
\includegraphics[width=\textwidth]{fig/4_left.pdf}
\end{minipage}
\begin{minipage}[t]{0.49\textwidth}
\centering
\includegraphics[width=\textwidth]{fig/4_right.pdf}
\end{minipage}
}

\centering // 图解释居中
\caption{PSNRs and SSIMs of the deblurring results} // 图解释设置
\end{figure*}

技巧

1. 设置浮动体之间的距离

\setlength{\floatsep}{5pt}

2. 优先设置为【!htb】或者强制设置【h】

3. \clearpage 为换页操作

4. \noindent 为去除段落换行

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值