I am trying to replicate the table seen at this webpage:
I am trying to make the multiple cells appear in the cells of the second table column. How can this be done? I have tried using the multirow
package.
MWE:
\documentclass{article}
\usepackage{longtable}
\usepackage{multirow}
\usepackage[table]{xcolor}
\begin{document}
\begin{longtable}{|p{3cm}|p{6cm}|p{5cm}|}
\hline
\rowcolor[HTML]{000000}
\multicolumn{1}{|c|}{\cellcolor[HTML]{000000}{\color[HTML]{FFFFFF} \textbf{Object}}}
&\multicolumn{1}{|c|}{\cellcolor[HTML]{000000}{\color[HTML]{FFFFFF} \textbf{Details}}}
& \multicolumn{1}{|c|}{\cellcolor[HTML]{000000}{\color[HTML]{FFFFFF} \textbf{Notes}}} \\ \hline
NAME & \multicolumn{2}{c|}{test} {DATE} \\ {Time (UTC): 22:59:41-23:22:48} \\
{Filter/s used: I, R, B, V} \\ {Telescope/s used: TELESCOPE}
& A total of 20 exposures all taken with an exposure length of 60.0 seconds. \\ \hline
\end{longtable}
\end{document}
Best Answer
As long as your goal is just to reproduce the table, your problem has nothing to do with multirow. Your table has 4 columns and you just have to put partial horizontal lines with \cline{c1-c2}.
However, if you want to fill the cells in your file rather than by hand, you might have to use multirow.