Latex表格设置-表格并排

1.引入库

代码如下(示例):

\documentclass{article}

\usepackage{ctex}

% 更多表格设置见 texdoc booktab 三线表
% texdoc longtab 跨越长表格
% texdoc tabu    综合表格宏包

2.正文区

代码如下(示例):

% 正文区
\begin{document}
\begin{table}[h]
    \caption{Analysis into the effects of different designs and hyperparameters for our propose model.}
    \begin{subtable}[h]{0.45\textwidth}
        \centering
        \caption{Ablation on design of reconstruction and prediction model.}
        \begin{tabular}{ccc}
            \toprule
            \small{\textbf{Reconstruction Model}}    & \small{\textbf{MSE} ($\downarrow$)} \\
            \midrule
            \small{Pose-VQVAE-joint} & \small{0.0242} \\
            \small{Pose-VQVAE-seperate} & \small{\textbf{0.0139}} \\
            \hline \hline
            \small{\textbf{Prediction Model}}    & \small{\textbf{WER} ($\downarrow$)} \\
            \midrule
            \small{Transformer} & \small{80.36}\\
            \small{CodeUnet} & \textbf{\small{78.21}}\\
            \bottomrule
        \end{tabular}
       \label{abl:model_design}
    \end{subtable}
    \hfill
    \begin{subtable}[h]{0.49\textwidth}
        \centering
        \caption{Ablation on the hyperparameters of training steps and length candidates.}
        \begin{tabular}{cc|cc}
            \toprule
            \makecell[c]{\textbf{Training} \\ \textbf{Steps}} & \textbf{\small{WER}} ($\downarrow$) & \makecell[c]{\textbf{Length} \\\textbf{Candidates}} & \textbf{\small{WER}} ($\downarrow$) \\
            \hline
            \small{10} & \small{81.06} & \small{1} & \small{79.45}\\
            \small{50} & \small{79.31} & \small{2} & \small{78.69}\\
            \small{100} & \small{78.21} & \small{3} & \small{78.21}\\
            \small{150} & \small{78.17} & \small{4} & \small{78.74}\\
            \small{200} & \small{78.15} & \small{Gold} & \small{77.26} \\
            \bottomrule
        \end{tabular}
        \label{abl:timesteps}
     \end{subtable}
     \label{tab:temps}
\end{table}
\end{document}

pdf示例:

在这里插入图片描述

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
LaTeX中,可以使用minipage环境和figure*环境将表格和图片进行并排排列。首先,通过使用graphicx包和caption包来加载所需的功能。然后,在figure*环境中,使用两个minipage环境来分别放置表格和图片。 在minipage环境的参数中,可以通过指定宽度的百分比来设置它们在水平方向上的相对宽度。例如,通过设置一个minipage环境的宽度为0.6 \linewidth,另一个minipage环境的宽度为0.5 \linewidth,可以实现表格和图片的并排排列。在每个minipage环境内部,可以使用includegraphics命令来插入图片,并使用tabular环境来创建表格。 在minipage环境中,可以使用caption命令来为表格和图片添加标题。通过在minipage环境外部再次使用caption命令,可以为整个并排组合添加一个总的标题。<span class="em">1</span><span class="em">2</span> #### 引用[.reference_title] - *1* [Latex表格与图片排版示例](https://download.csdn.net/download/qq_42679415/87881658)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [latex图片和表并排](https://blog.csdn.net/bagba/article/details/130632965)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

笔下万码生谋略

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值