Stefan_K wrote:Don't forget the & symbols for the empty cells in the next rows
Oh yes, I've been so silly! I tried to enter & symbols but i did it in the wrong way...
Ok, we are near to the goal. The only thing that still distress me is the length of text in cells: using a long text like in the code below, I see in the pdf the text going over the bottom line of the row. You can see the result in the attachment.
Code: Select all
\begin{tabular}{| p{2,5cm} | p{2cm} | p{4cm} | p{4,5cm} |}
\hline
\multirow{4}{2,5cm}{Stufa} & \multirow{4}{2cm}{Sinonimo di Stufa} &
\multirow{4}{4cm}{Prodotto composito destinato al riscaldamento di un ambiente. Molto semplicisticamente, bruciando combustibile (nella fattispecie, \emph{pellet}) produce calore, che viene diffuso nell'ambiente. Si può scomporre macroscopicamente in una \emph{carrozzeria} ed in un \emph{corpo caldaia}.}
& haComponente Carrozzeria1 \\\cline{4-4}
& & & haComponente Carrozzeria2 \\\cline{4-4}
& & & haComponente Carrozzeria3 \\\cline{4-4}
& & & haComponente Carrozzeria4 \\\cline{4-4}
\hline
\end{tabular}
The row fits to the height of the fourth cell, and maybe this is the best behavior in most cases, but is there a way to change it without adding empty rows in the multirow command? I can use this trick:
Code: Select all
\begin{tabular}{| p{2,5cm} | p{2cm} | p{5cm} | p{3,5cm} |}
\hline
\multirow{8}{2,5cm}{Stufa} & \multirow{8}{2cm}{Sinonimo di Stufa} &
\multirow{8}{5cm}{Prodotto composito destinato al riscaldamento di un ambiente. Molto semplicisticamente, bruciando combustibile (nella fattispecie, \emph{pellet}) produce calore, che viene diffuso nell'ambiente. Si può scomporre macroscopicamente in una \emph{carrozzeria} ed in un \emph{corpo caldaia}.}
& haComponente Carrozzeria1 \\
& & & haComponente Carrozzeria2 \\
& & & haComponente Carrozzeria3 \\
& & & haComponente Carrozzeria4 \\
& & & \\
& & & \\
& & & \\
& & & \\
\hline
\end{tabular}
but it's quite laborious and expensive for a big table.
Thank you for your patience.
Fedner