I am using a minipage and an enumerate inside a tabular. However, when I do that, the vertical alignment of the "hello" part in the code is lost.
Here is the code:
\documentclass[12pt]{extarticle}
\usepackage{geometry}
\usepackage{array}
\usepackage{enumitem}
\begin{document}
\begin{tabular}{ >{\centering\arraybackslash} m{2cm} | >{\arraybackslash} m{\textwidth} }
\textit{Hello} & One \newline
Two \newline
\textit{{Three}}
\begin{minipage}[t]{\linewidth}
\begin{itemize}[left=2mm, topsep=0pt, label={-}, noitemsep, nosep, partopsep=0pt, after=\strut]
\item \small Four
\item \small Five
\end{itemize}
\end{minipage} \\
\end{tabular}
\end{document}
And here is the output
Does anyone know how to make it vertically aligned? Thank you in advance.
m{2cm}
andm{\textwidth}
, it's certain that your tabular will be too wide.m{2cm}
andm{11cm}
.