![如何让这个表格看起来更好看?](https://linux22.com/image/324839/%E5%A6%82%E4%BD%95%E8%AE%A9%E8%BF%99%E4%B8%AA%E8%A1%A8%E6%A0%BC%E7%9C%8B%E8%B5%B7%E6%9D%A5%E6%9B%B4%E5%A5%BD%E7%9C%8B%EF%BC%9F.png)
我想不出什么办法让这张桌子看起来更好看。它看起来相当单调。你有什么想法吗?谢谢。
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{amsmath,amssymb,amsthm}
\begin{document}
\title{Title}
\author{Me}
%\date{10 dicembre 2015}
\maketitle
\begin{center}
\begin{tabular}{|c|c|}
\hline
Length target area (mm) & 220\\
\hline
Width target area (mm) & 120\\
\hline
Length upper surface (mm) & 230\\
\hline
Width lower surface (mm) & 180\\
\hline
Length inconel foil (mm) & 250\\
\hline
Width inconel foil (mm) & 125\\
\hline
Conductivity inconel (W/mK) & 14.8\\
\hline
Conductivity duct tape (W/mK) & 0.2\\
\hline
Conductivity steel (W/mK) & 51.9\\
\hline
Thickness inconel (mm) & 0.0254\\
\hline
Thickness duct tape (mm) & 0.18\\
\hline
Thickness steel (mm) & 0.3\\
\hline
$\varepsilon_{steel}$ & 0.3\\
\hline
$\varepsilon_{int}$ & 0.25\\
\hline
$\varepsilon_{amb}$ & 1\\
\hline
\end{tabular}
\captionof{table}{Dimensioni del banco}
\label{tab:dimensioni_banco}
\end{center}
\end{document}
答案1
以下是一些想法:
- 不要使用垂直规则
- 拆分单位列
- 左列应左对齐
- 数字应该右对齐或按小数点对齐
- 文字下标应直立
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{siunitx}
\begin{document}
\title{Title}
\author{Me}
%\date{10 dicembre 2015}
\maketitle
\begin{table}[htp]
\centering
\begin{tabular}{lsS[table-format=3.4]}
\toprule
Length target area & mm & 220 \\
Width target area & mm & 120 \\
Length upper surface & mm & 230 \\
Width lower surface & mm & 180 \\
Length inconel foil & mm & 250 \\
Width inconel foil & mm & 125 \\
Conductivity inconel & W/mK & 14.8 \\
Conductivity duct tape & W/mK & 0.2 \\
Conductivity steel & W/mK & 51.9 \\
Thickness inconel & mm & 0.0254 \\
Thickness duct tape & mm & 0.18 \\
Thickness steel & mm & 0.3 \\
$\varepsilon_{\mathrm{steel}}$ & & 0.3 \\
$\varepsilon_{\mathrm{int}}$ & & 0.25 \\
$\varepsilon_{\mathrm{amb}}$ & & 1 \\
\bottomrule
\end{tabular}
\caption{Dimensioni del banco}\label{tab:dimensioni_banco}
\end{table}
\end{document}