In the following table, I want to place the Name
in the center of the cell while the next row aaaaa-bbbbbb
and ddddd
in the left of the cell. How can I fix the following figure?
\begin{table}
\centering
\caption{X}
\label{d}
\begin{tabular}{|l|c|c|}
\hline
name & X & Y \\
\hline
aaaaa-bbbbbb & * & ** \\
ddddd & ** & * \\
\hline
\end{tabular}
\end{table}