
내가 만든 테이블의 결과는 다음과 같습니다.
하지만 체크 표시와 십자 기호를 수직 중앙에 배치하고 싶습니다. 어떻게 해야 하나요? 내 코드는 다음과 같습니다.
\begin{tabular}
{|p{1.5cm}|p{3.5cm}|c|c|c|c|c|c|c|}
\hline
Anonym & Precision degradation, Random shift, Black
marker, Prefix preserving, Truncation & \checkmark & \checkmark & \checkmark & \checkmark & \times & \times & \times\\ \hline
\end{tabular}
답변1
이 방법?
\documentclass{article}
\usepackage{array,amssymb, amstext}
\newcolumntype{C}{>{$}c<{$}} % math-mode version of "c" column type
\begin{document}
\begin{tabular}
{|p{1.5cm}|m{3.5cm}|C|C|C|C|C|C|C|}
\hline
Anonym & Precision degradation, Random shift, Black
marker, Prefix preserving, Truncation & \checkmark & \checkmark & \checkmark & \checkmark & \times & \times & \times\\ \hline
\end{tabular}
\end{document}