I have this:
I want for the first item to be vertically aligned with my other cells. How can I do it? The answers provided here suggested to play with topsep
and partopsep
:
How can I change behaviour of enumitem?
How to get rid of vertical space before and behind the lists
How to reduce space after the end of a tabbing environment
But as you can see in my code, it has no effect:
\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{adjustbox}
\usepackage{enumitem}
\usepackage{array}
\usepackage{tabularx}
\begin{document}
\begin{table}\small
\centering
\caption{Summary of proven determinants for falling}
\label{tab:FallPredictionVariables}
\newcolumntype{Y}{>{\raggedright\arraybackslash}X}
\begin{tabularx}{\textwidth}{lcY}
\textbf{Author} &\textbf{Subject count (M:F)} & \centering\arraybackslash\textbf{Determinants}\\
\firsthline\\
? &
311 (?) &
\begin{itemize}[label={--},noitemsep,leftmargin=*,topsep=0pt,partopsep=0pt]
\item Posture sway
\item Two or more falls in previous year
\item Low hand grip strength
\item Depressive state of mind
\end{itemize}\\\\
\lasthline\\
\end{tabularx}
\end{table}
\end{document}
As mentioned in the past questions, I know it is possible to use \setitemize
, but I don't want to set this globally, just locally for this table.