![关于如何让这张桌子变得更漂亮,您有什么想法吗?](https://linux22.com/image/460809/%E5%85%B3%E4%BA%8E%E5%A6%82%E4%BD%95%E8%AE%A9%E8%BF%99%E5%BC%A0%E6%A1%8C%E5%AD%90%E5%8F%98%E5%BE%97%E6%9B%B4%E6%BC%82%E4%BA%AE%EF%BC%8C%E6%82%A8%E6%9C%89%E4%BB%80%E4%B9%88%E6%83%B3%E6%B3%95%E5%90%97%EF%BC%9F.png)
我当前的表格太紧凑,标题太长或太大。有什么想法可以让这个表格更美观吗?
\documentclass{article}
\usepackage{caption}
\usepackage{booktabs,tabularx}
\begin{document}
\begin{table}[!]
\centering
\caption{Seven semantic models and their symbols representation}
\label{table:semantic models of OCCR model}
\begin{tabular}{p{4cm}<{\centering}p{5cm}<{\centering}}
\toprule
\textbf{Models} & \textbf{Symbol representation} \\
\hline
Assets & AS \\
\hline
Task & T \\
\hline
Product & PRT \\
\hline
Reconfiguration & RS \\
\hline
Process & PRS \\
\hline
Capability & CAB \\
\hline
Capacity & CAP \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
答案1
这对你有帮助吗?
\documentclass{article}
\usepackage{caption}
\usepackage{booktabs,tabularx}
\begin{document}
\begin{table}[!]
\centering
\caption{Seven semantic models and their symbols representation}
\label{table:semantic models of OCCR model}
\begin{tabular}{@{}lc@{}}
\toprule
\textbf{Models} & \textbf{Symbol representation} \\
\midrule
Assets & AS \\
Task & T \\
Product & PRT \\
Reconfiguration & RS \\
Process & PRS \\
Capability & CAB \\
Capacity & CAP \\
\bottomrule
\end{tabular}
\end{table}
\end{document}