我当前的表格太紧凑,标题太长或太大。有什么想法可以让这个表格更美观吗?
\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}