答案1
我不知道这是否是所需要的:
\documentclass[]{article}
\usepackage{longtable,makecell}
\begin{document}
\begin{center}
with makecell
\begin{longtable}{|c|m{.2\textwidth}|}
\hline
\makecell[cm{0.2\textwidth}]{\centering this is a test test test test test test
\\ a test too} & bear \\\hline
\end{longtable}
\end{center}
\begin{center}
without makecell
\begin{longtable}{|>{\centering}m{0.2\textwidth}|m{.2\textwidth}|}
\hline
this is a test test test test test test
\\ a test too & bear \\\hline
\end{longtable}
\end{center}
\end{document}
第二个建议基于@leandriis 的评论