Latex, overleaf表格宽度溢出问题
·
普遍方法:
\resizebox{\textwidth}{!}{
\begin{tabular}{llccccccc}
...
\end{tabular}
}
# or
\setlength{\tabcolsep}{!}{
\begin{tabular}{llccccccc}
...
\end{tabular}
}
# or
\scalebox{0.6}{
\begin{tabular}{llccccccc}
...
\end{tabular}
}
若没有效果
则考虑调整字体大小
\small
\tiny
\footnotesize
参考链接:Font sizes, families, and styles - Overleaf, Online LaTeX Editor
设置表格长度
\setlength\tabcolsep{2pt}
参考链接: horizontal alignment - table too wide and doesn't fit within textwidth - TeX - LaTeX Stack Exchange
tabular - LaTeX table too wide. How to make it fit? - Stack Overflow
## 顶部导入所需包
\usepackage{array}
\setlength\extrarowheight{2pt}
\begin{document}
\begin{table}[htbp]
\centering
\small
\setlength\tabcolsep{2pt}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|}
..........
..........
..........
\end{tabular}
\caption{Laser specifications}
\label{tab:Laser_Specs}
\end{table}
更多推荐




所有评论(0)