答案1
使用\makecell
后直接使用它01 -
:
\documentclass{article}
\usepackage{makecell}
\begin{document}
\begin{tabular}{l}
Option 2: \\
00 -- first option \\
01 -- \makecell[t{{p{4cm}}}]{second option (this option is defined by default)}
\end{tabular}
\end{document}
但也许最好使用两列并将其设置--
为列分隔符@{...}
:
\documentclass{article}
\begin{document}
\begin{tabular}{l @{~--~} p{4cm}}
\multicolumn{2}{l}{Option 2:} \\
00 & first option \\
01 & second option (this option is defined by default)
\end{tabular}
\end{document}