paper总结3——Latex图表公式排版

0 写在前面

latex功能十分强大,这里只总结使用过的方法,其余需要的办法请自行百度。

1 图

1.1 正常插图

代码段

\begin{figure}[!ht]
  \begin{center}
  \includegraphics[width=3.3in]{pictures/02.jpg}
  %\vspace{-15pt}
  \caption{{aaaaaaaa}}\label{aaa}
  \end{center}
\end{figure}

效果

在这里插入图片描述
注释

  1. caption是描述图片的指示
  2. label标注标识,在行文中引用
  3. width调整宽度

1.2 横穿双栏大图

代码段

\begin{figure*}[!ht]
  \begin{center}
  \includegraphics[width=6in]{pictures/01.jpg}
  %\vspace{-15pt}
  \caption{{bbbb}}\label{figure1}
  \end{center}
\end{figure*}

效果
在这里插入图片描述
注释

  1. 想要横穿双栏的话*号很重要
  2. 相应的width也需要调大
  3. 想要图片居中的话需要加center

1.3 正常多图

代码段

\begin{figure}[!ht]
    \centering
    \subfigure[]{%
    \includegraphics[width=1.5in]{pictures/fig8/1.jpg}
    \label{fig:subfigure1}}\subfigure[]{%
    \includegraphics[width=1.5in]{pictures/fig8/2.jpg}
    \label{fig:subfigure2}}
    \subfigure[]{%
    \includegraphics[width=1.5in]{pictures/fig8/3.jpg}
    \label{fig:subfigure3}}\subfigure[]{%
    \includegraphics[width=1.5in]{pictures/fig8/4.jpg}
    \label{fig:subfigure4}}
\caption{ aaaa}
\label{fig:figure}
\end{figure}

效果
在这里插入图片描述
注释

  1. 是一个嵌套结构
  2. 调整图片的宽度
  3. 需要在正文最前添加包\usepackage{subfigure}

1.4 横穿中间多行多列

代码段

\begin{figure*}[!ht]
	
 \begin{minipage}{0.24\linewidth}
 	\vspace{3pt}
 	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/11.jpg}}
 	\vspace{3pt}
 	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/12.jpg}}
 	\vspace{3pt}
 	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/13.jpg}}
 	\vspace{3pt}
 	\centerline{(a)}
 \end{minipage}
 \begin{minipage}{0.24\linewidth}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/21.jpg}}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/22.jpg}}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/23.jpg}}
	\vspace{3pt}
	\centerline{(b)}
\end{minipage}
\begin{minipage}{0.24\linewidth}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/31.jpg}}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/32.jpg}}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/33.jpg}}
	\vspace{3pt}
	\centerline{(c)}
\end{minipage}
\begin{minipage}{0.24\linewidth}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/41.jpg}}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/42.jpg}}
	\vspace{3pt}
	\centerline{\includegraphics[width=\textwidth,height=1.5in]{pictures/fig14/43.jpg}}
	\vspace{3pt}
	\centerline{(d)}
\end{minipage}
\caption{ Comparison of test results. The top row is RAWS, the middle row is the results of the proposed
SAGHS method and the bottom row is the results of improved YOLOv5 with CBAM. (a) detection of incomplete objects (b) detection when targets are occluded or overlapped with each other (c) detection of fuzzy objects and (d) detection of the object is similar to the background}
\label{last}
\end{figure*}

效果
在这里插入图片描述

2 表

表比较简单随手可百度。这里举一个Guide for author中的例子。
代码段

\begin{table}
  \caption{This is a test caption.}
  \begin{tabular*}{\tblwidth}{@{} LLLL@{} }
   \toprule
    Col 1 & Col 2\\
   \midrule
    12345 & 12345\\
    12345 & 12345\\
    12345 & 12345\\
    12345 & 12345\\
    12345 & 12345\\
   \bottomrule
  \end{tabular*}
\end{table}

效果
在这里插入图片描述

3 公式

公式有一些需要被注意的的点

  1. 大部分特殊符号:希腊符号、深度学习中的点乘叉乘随手都可以搜到
  2. 可以使用大括号将多个公式括起来
  3. 字母需要用美元符号包围起来
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值