关于Latex并排两张表格的解决方案
2017-11-27 16:34
639 查看
今天在修改latex时,发现两张表格无论怎么修改还是一上一下,网络上有很多方法,但是效果不是特别好,可能是不同的环境会有不同的效果。
这篇博客呢,想给碰到同样问题的同仁一个可供参考的,我自己可行的方案,能不能并排还得请你们反馈~~
csdn上传不了图片?
例子:
这篇博客呢,想给碰到同样问题的同仁一个可供参考的,我自己可行的方案,能不能并排还得请你们反馈~~
csdn上传不了图片?
\begin{minipage}{\textwidth} \begin{minipage}[t]{0.45\textwidth} \centering \makeatletter\def\@captype{table}\makeatother\caption{表格标题1} \begin{tabular}{cccc} 表格内容 \end{tabular} \end{minipage} \begin{minipage}[t]{0.45\textwidth} \centering \makeatletter\def\@captype{table}\makeatother\caption{表格标题2} \begin{tabular}{cccc} 表格内容 \end{tabular} \end{minipage} \end{minipage}
例子:
\begin{minipage}{\textwidth} \begin{minipage}[t]{0.45\textwidth} \centering \makeatletter\def\@captype{table}\makeatother\caption{title1} \begin{tabular}{ccc} \hline n & L & $L+n$ \\ \hline 0 & 1 & 1 \\ 1 & 3 & 4 \\ 2 & 5 & 7 \\ 3 & 7 & 10\\ 4 & 9 & 13 \\ 5 & 11 & 16 \\ 6 & 13 & 19\\ 7 & 15 & 22 \\ 8 & 17 & 25 \\ 9 & 19 & 28\\ 10 & 21 & 31 \\ 11 & 23 & 34\\ 12 & 25 & 37 \\ 13 & 27 & 40 \\ 14 & 29 & 43 \\ 15 & 31 & 46 \\ 16 & 33 & 49 \\ 17 & 35 & 52\\ \hline \end{tabular} \end{minipage} \begin{minipage}[t]{0.45\textwidth} \centering \makeatletter\def\@captype{table}\makeatother\caption{title2} \begin{tabular}{ccc} \hline n & L & $L+n$ \\ \hline 0 & 1 & 1 \\ 1 & 3 & 4 \\ 2 & 5 & 7 \\ 3 & 7 & 10\\ 4 & 9 & 13 \\ 5 & 11 & 16 \\ 6 & 13 & 19\\ 7 & 15 & 22 \\ 8 & 17 & 25 \\ 9 & 19 & 28\\ 10 & 21 & 31 \\ 11 & 23 & 34\\ 12 & 25 & 37 \\ 13 & 27 & 40 \\ 14 & 29 & 43 \\ 15 & 31 & 46 \\ 16 & 33 & 49 \\ 17 & 35 & 52\\ \hline \end{tabular} \end{minipage} \end{minipage}
相关文章推荐
- 使用latex的subfigure并排放置两张图
- Latex系列-关于表格
- LaTeX如何让两张图并排显示?
- 使用latex的subfigure并排放置两张图
- 如何使用latex排版并排放置两张图
- 关于poi导出大数据量EXCEL导出缓慢的解决方案--生成xml格式的表格文件(注意xls格式为03 07下格式会不一样)
- 关于Latex中交叉引用表格时标号不对的问题解决
- 关于jsp+mysql+tomcat数据表格分页的解决方案
- LATEX两个表格并排放,各自有独立的标题和编号
- 使用latex撰写elsevier论文,latex表格,插图以及调用的安装包
- 关于 SCORM 2004 3rd Edition Sample Run-Time Environment 的二次开发(-)跨平台解决方案
- 关于ListView中包含EditText数据复用引起异常的解决方案
- 关于ASP网页无法打开的解决方案
- 关于angular加载未完成页面出现花括号的解决方案
- UI中关于NSBundle mainBundle获取不到数据解决方案
- Latex中的表格总结
- 关于Ubuntu中执行apt-get和get出现Could not get lock /var/lib/dpkg/lock解决方案
- asp.net关于页面不回发的问题,寻求完美解决方案
- XSS解决方案系列之四:关于编码
- 关于中奖用户展示的解决方案