我无法让表格中的条目垂直对齐。有人能帮我吗?
这是我正在使用的代码:
\begin{table}[H]
\caption{What map to be used depending on the level of scope \cite{Process_map_theory}.}
\label{maps}
\begin{tabular}{|c|c|c|}
\hline
\textbf{Level of scope} & \textbf{Map to be used} & \textbf{Key features}\\
\hline
Organisation & Relationship map & \tabitem Supplier-Organisation-costumer interactions.\\
& & \tabitem Key sections of the organisation. \\
& & \tabitem Supplier-costumer supply chain.\\
\hline
Process & Cross-functional process map & \tabitem Swimlane of the process. \\
& & \tabitem Workflow of the process. \\
& & \tabitem Supplier-costumer interactions. \\
\hline
Job/Performer & Process map & \tabitem Value adding time of the system. \\
& & \tabitem Non value adding time of the system. \\
\hline
\end{tabular}
\end{table}
答案1
我宁愿使用列表而不是\tabitem
s 和tabularx
表格环境(现在你的表格溢出了文本区域):
\documentclass{article}
\usepackage{enumitem}
\usepackage{tabularx}
\usepackage{etoolbox}
\AtBeginEnvironment{table}{%
\setlist[itemize]{nosep, % <-- table's list setup
leftmargin = * ,
label = $\bullet$ ,
before = \vspace{-0.6\baselineskip},
after = \vspace{-\baselineskip}
}
}% end of AtBeginEnvironment
\begin{document}
\begin{table}[ht]
\caption{What map to be used depending on the level of scope \cite{Process_map_theory}.}
\label{maps}
\begin{tabularx}{\linewidth}{|l|X|
>{\raggedright\arraybackslash}p{0.45\linewidth}|}
\hline
\textbf{Level of scope} & \textbf{Map to be used} & \textbf{Key features} \\
\hline
Organisation & Relationship map & \begin{itemize}
\item Supplier-Organisation-costumer interactions.
\item Key sections of the organisation.
\item Supplier-costumer supply chain.
\end{itemize} \\
\hline
Process & Cross-functional process map
& \begin{itemize}
\item Swimlane of the process.
\item Workflow of the process.
\item Supplier-costumer interactions.
\end{itemize} \\
\hline
Job/Performer & Process map & \begin{itemize}
\item Value adding time of the system.
\item Non value adding time of the system.
\end{itemize} \\
\hline
\end{tabularx}
\end{table}
\end{document}