I want to create a table with \multirow
and \multicolumn
in LaTeX.
I tried some post 1, 2, 3 to create my table but because I wasn't able to create my table.
Please help me with LaTeX code for the table given below.
I wrote this code so far:
\begin{tabular}{ |p{5cm}|p{4cm}|p{3cm}|p{3cm}| }
\hline
\multicolumn{4}{|c|}{\textbf{Crop field location info}} \\
\hline
\textbf{District name} & \textbf{Tehsil name} & \textbf{UC name}
& \textbf{UC \#}\\ & & &\\
\hline
\multicolumn{4}{|c|}{\textbf{Farmer's info}} \\
\hline
\textbf{Farmer name} & \textbf{Farmer contact \#}
& \multicolumn{2}{ |c| }{\textbf{Farmer's land holding (acres)}} \\
& & \multicolumn{2}{ |c| }{} \\
\hline
\textbf{Item} & \textbf{Unit} & \textbf{Rate/Unit} & \textbf{Total Cost}\\
\hline
\end{tabular}