当前位置:网站首页>Latex如何控制表格的宽度和高度
Latex如何控制表格的宽度和高度
2022-08-05 10:26:00 【weiweiweimengting】
原始的表格这样
\begin{table}[htbp]
\centering
\caption{Effect of Uncertainty Estimation.}
\label{uncertain}
\begin{tabular}{lccccccc}
\toprule
\multirow{2}{*}{~} &\multicolumn{3}{c}{Acc(\%)} &~ &\multicolumn{3}{c}{F1-score(\%)}\\
\cline{2-4} \cline{6-8} & CASME II & SAMM & SMIC-HS &~ & CASME II & SAMM & SMIC-HS \\
\midrule
Deterministic &1 &1 &1 &~ &1 &1 &1\\
Uncertainty-Aware &\textbf{1} &\textbf{1} &\textbf{1} &~ &\textbf{1} &\textbf{7} &\textbf{78.64}\\
\bottomrule
\end{tabular}
\end{table}
可以手动输入设置自定义的表格宽度和高度:
\resizebox{10mm}{12mm}
其中第一个括号表示的表格的宽度(或者也可以直接写为\textwidth,表示与文字宽度一致),第二个括号表示表格的高度。
整理后为:
\begin{table}[htbp]
\centering
\caption{Effect of Uncertainty Estimation.}
\label{uncertain}
\resizebox{10mm}{12mm}{
\begin{tabular}{lccccccc}
\toprule
\multirow{2}{*}{~} &\multicolumn{3}{c}{Acc(\%)} &~ &\multicolumn{3}{c}{F1-score(\%)}\\
\cline{2-4} \cline{6-8} & CASME II & SAMM & SMIC-HS &~ & CASME II & SAMM & SMIC-HS \\
\midrule
Deterministic &1 &1 &1 &~ &1 &1 &1\\
Uncertainty-Aware &\textbf{1} &\textbf{1} &\textbf{1} &~ &\textbf{1} &\textbf{7} &\textbf{78.64}\\
\bottomrule
\end{tabular}}
\end{table}
边栏推荐
- [Strong Net Cup 2022] WP-UM
- Huawei's lightweight neural network architecture GhostNet has been upgraded again, and G-GhostNet (IJCV22) has shown its talents on the GPU
- 我们的Web3创业项目,黄了
- Go compilation principle series 6 (type checking)
- 【 temperature warning program DE development 】 event driven model instance
- FPGA: Basic Getting Started Button Controlling LED Lights
- Microcontroller: temperature control DS18B20
- 第九章:activit内置用户组设计与组任务分配和IdentityService接口的使用
- MySQL transactions
- FPGA: Use of the development environment Vivado
猜你喜欢

E-sports, convenience, efficiency, security, key words for OriginOS functions

气象数据数据处理实例——matlab字符串切割匹配与R语言日期匹配(数据拼接)

NowCoderTOP35-40 - continuous update ing

STM32+ULN2003驱动28BYJ4步进电机(根据圈数正转、反转)

教你本地编译运行一个IDEA插件,在IDEA里聊天、下棋、斗地主!

three.js debugging tool dat.gui use

Common operations of oracle under linux and daily accumulation of knowledge points (functions, timed tasks)

Login function and logout function (St. Regis Takeaway)

Use KUSTO query statement (KQL) to query LOG on Azure Data Explorer Database

RT - Thread record (a, RT, RT Thread version - Thread Studio development environment and cooperate CubeMX quick-and-dirty)
随机推荐
nyoj754 黑心医生 结构体优先队列
FPGA: Use of the development environment Vivado
华为轻量级神经网络架构GhostNet再升级,GPU上大显身手的G-GhostNet(IJCV22)
js劫持数组push方法
R语言使用yardstick包的pr_curve函数评估多分类(Multiclass)模型的性能、查看模型在多分类每个分类上的ROC曲线(precision(精准率),R代表的是recall(召回率)
[Strong Net Cup 2022] WP-UM
Login function and logout function (St. Regis Takeaway)
Create a Dapp, why choose Polkadot?
E-sports, convenience, efficiency, security, key words for OriginOS functions
IDEA performs the Test operation, resulting in duplicate data when data is inserted
一个栈的输入序列为1 2 3 4 5 的出站顺序的理解
【温度预警程序de开发】事件驱动模型实例运用
七夕来袭!还要做CDH数据迁移怎么办?来看看DistCp
PHP 操作mangoDb
SQL外连接之交集、并集、差集查询
How to choose coins and determine the corresponding strategy research
百年北欧奢华家电品牌ASKO智能三温区酒柜臻献七夕,共品珍馐爱意
PHP operation mangoDb
Microcontroller: temperature control DS18B20
2022杭电多校 第6场 1008.Shinobu Loves Segment Tree 规律题