I have a table that has enumerate environment in it.
The issue is that I have a blank line before the first item in the itemize environment. How can I remove it?
\documentclass{article}
\usepackage{booktabs}
\usepackage{enumitem}
\newcommand{\fu}[1]{%
%\tightlist%
\begin{itemize}[nosep]%
#1%
\end{itemize}%
\vspace{-\baselineskip}\mbox{}}
\begin{document}
\begin{table}[htbp]
\centering
\begin{tabular}{l|p{0.6\textwidth}}
\toprule
\textbf{SB Solution Component} & \textbf{BB Data Satisfied}
\\\midrule
\textbf{Registration Module} & \fu{
\item Capability List
\item Representation List}
\\\midrule
\textbf{Sensing Data Module} & \fu{
\item Ready Signal
}
\\\midrule
\textbf{Contexts Module} & \fu{
\item Control List
\item Contexts
}
\\
\bottomrule
\end{tabular}
\caption{BB Data Satisfied for SB Solution Component}
\label{tab:data}
\end{table}
\end{document}
Best Answer
Use a dedicated column type for this (originally posted by Donald Arseneau on c.t.t.)