LATEX表格

\documentclass{article} 
\usepackage{float}%提供float浮动环境
\usepackage{booktabs}%提供命令\toprule、\midrule、\bottomrule
 
\begin{document}
 
%经典三线表
\begin{table}[H]
%\caption{\textbf{Example 1}}%标题
\centering%把表居中
\begin{tabular}{cc}%四个c代表该表一共四列,内容全部居中
\toprule%第一道横线
Scaling&Implication \\
\midrule%第二道横线 
1&equal importance\\
3&The former is slightly more important than the latter\\
5&The former is obviously more important than the latte\\
7&The former is more important than the latter\\
9&The former is extremely important than the latter\\
2,4,6,8&Represents the median value of the above adjacent judgments\\
reciprocal&$a_{ij}=1/a_{ij}$\\
\bottomrule%第三道横线
\end{tabular}
\end{table}





\begin{table}[H]
\centering%居中
\begin{tabular}{|c|c|}
\hline
The value range of  $\vert r \vert$ & meaning of $ \vert r \vert $ \\
\hline
0.00-0.19 & very low correlation  \\
\hline
0.20-0.39&low correlation\\
\hline
0.40-0.69&Moderately relevant\\
\hline
0.70-0.89&Highly correlated\\
\hline
0.90-1.00&Very high correlation\\
\hline
\end{tabular}
\end{table}
\end{document}
\end{document}

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
引用\[1\]: 【写博客常用】latex表格详细教程(table, tabular, multirow, multicolumn)&latex表格内如何自动换行 看本文先看,本文是基于此篇做表格方法上加了换行的改进,原文有教表格怎么做,两篇都看了你就能做成下面👇这样。\[1\] 引用\[2\]:我们用了上文链接制作出了表格之后,我们发现无法换行,文字可能会超出表格,这里笔者研究了很多方式最后发现:首先加上这个包 \usepackage{multirow} \usepackage{makecell} \usepackage{hyperref}。\[2\] 问题:latex表格不接着 回答: 如果你在使用latex制作表格时遇到了无法换行的问题,可以尝试使用一些包来解决。其包括multirow、makecell和hyperref。\[2\]这些包可以帮助你在表格实现自动换行的效果。另外,你也可以参考一些详细的教程,如【写博客常用】latex表格详细教程,该教程提供了关于table、tabular、multirow和multicolumn等方面的详细指导。通过学习这些教程,你可以更好地掌握latex表格的制作方法,并解决表格不接着的问题。\[1\] #### 引用[.reference_title] - *1* *2* [【写博客常用】latex表格详细教程(table, tabular, multirow, multicolumn)&latex表格内如何自动换行](https://blog.csdn.net/liuyiming2019/article/details/115740137)[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^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

lune_one

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

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

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

打赏作者

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

抵扣说明:

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

余额充值