LaTeX 中使两张表格并排

在使用 LaTeX写论文或者画海报的时候,希望两张较小的表格可以并排,(一般情况的LaTeX插入两张图片是上下布局的)

查找了一下,相关的例子如下:

1\begin{minipage}{\textwidth} 2 \begin{minipage}[t]{0.45\textwidth} 3 \centering 4 \makeatletter\def\@captype{table}\makeatother\caption{表格标题1} 5 \begin{tabular}{cccc} 6 表格内容 7 \end{tabular} 8 \end{minipage} 9 \begin{minipage}[t]{0.45\textwidth} 10 \centering 11 \makeatletter\def\@captype{table}\makeatother\caption{表格标题2} 12 \begin{tabular}{cccc} 13 表格内容 14 \end{tabular} 15 \end{minipage} 16\end{minipage} 17 18\begin{minipage}{\textwidth} 19 \begin{minipage}[t]{0.45\textwidth} 20 \centering 21 \makeatletter\def\@captype{table}\makeatother\caption{title1} 22 \begin{tabular}{ccc} 23\hline 24n & L & $L+n$ \\ \hline 250 & 1 & 1 \\ 261 & 3 & 4 \\ 272 & 5 & 7 \\ 283 & 7 & 10\\ 294 & 9 & 13 \\ 305 & 11 & 16 \\ 316 & 13 & 19\\ 327 & 15 & 22 \\ 338 & 17 & 25 \\ 349 & 19 & 28\\ 3510 & 21 & 31 \\ 3611 & 23 & 34\\ 3712 & 25 & 37 \\ 3813 & 27 & 40 \\ 3914 & 29 & 43 \\ 4015 & 31 & 46 \\ 4116 & 33 & 49 \\ 4217 & 35 & 52\\ 43\hline 44\end{tabular} 45 \end{minipage} 46 \begin{minipage}[t]{0.45\textwidth} 47 \centering 48 \makeatletter\def\@captype{table}\makeatother\caption{title2} 49 \begin{tabular}{ccc} 50\hline 51n & L & $L+n$ \\ \hline 520 & 1 & 1 \\ 531 & 3 & 4 \\ 542 & 5 & 7 \\ 553 & 7 & 10\\ 564 & 9 & 13 \\ 575 & 11 & 16 \\ 586 & 13 & 19\\ 597 & 15 & 22 \\ 608 & 17 & 25 \\ 619 & 19 & 28\\ 6210 & 21 & 31 \\ 6311 & 23 & 34\\ 6412 & 25 & 37 \\ 6513 & 27 & 40 \\ 6614 & 29 & 43 \\ 6715 & 31 & 46 \\ 6816 & 33 & 49 \\ 6917 & 35 & 52\\ 70\hline 71\end{tabular} 72 \end{minipage} 73 \end{minipage}

【Reference】

1、关于Latex并排两张表格的解决方案

点赞
收藏

评论区

加载中...

相关推荐

MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1

文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s

Oracle 分组与拼接字符串同时使用

SELECTT.,ROWNUMIDFROM(SELECTT.EMPLID,T.NAME,T.BU,T.REALDEPART,T.FORMATDATE,SUM(T.S0)S0,MAX(UPDATETIME)CREATETIME,LISTAGG(TOCHAR(

MySQL部分从库上面因为大量的临时表tmp_table造成慢查询

背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_

皕杰报表之UUID

​在我们用皕杰报表工具设计填报报表时,如何在新增行里自动增加id呢?能新增整数排序id吗?目前可以在新增行里自动增加id,但只能用uuid函数增加UUID编码,不能新增整数排序id。uuid函数说明:获取一个UUID,可以在填报表中用来创建数据ID语法:uuid()或uuid(sep)参数说明:sep布尔值,生成的uuid中是否包含分隔符'',缺省为

手写Java HashMap源码

HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22

2020年前端实用代码段,为你的工作保驾护航

有空的时候,自己总结了几个代码段,在开发中也经常使用,谢谢。1、使用解构获取json数据let jsonData  id: 1,status: "OK",data: 'a', 'b';let  id, status, data: number   jsonData;console.log(id, status, number )