I have this table
\begin{tabular}{ | p{2cm} | p{4cm} | p{4cm} | p{4cm} | }
\hline
Název & \multicolumn{3}{ l }{vypsatZapojeniResiteluDoProjektu} \vline\\
\hline
Popis & \multicolumn{3}{ l }{Vedouci pracovnik} \vline \\
\hline
Priorita & 1 = vysoka & \textbf{Frekvence} & nekolikrat denne \\
\hline
Vstupni podminky & \multicolumn{3}{p{12cm}}{sdgsdgsg.} \vline \\
\hline
Vystupni podminky & \multicolumn{3}{p{12cm}}{sdgsdgsga.} \vline \\
\hline
Uzivatele & \multicolumn{3}{p{12cm}}{sdgsdgsdg.} \vline \\
\hline
\multirow{3}{2pt}{Zakladni posloupnost} & \multicolumn{3}{p{12cm}}{sgdsgsdg.} \vline \\
\cline{2-4}
& \multicolumn{3}{p{12cm}}{sdgsdgg.} \vline \\
\cline{2-4}
& \multicolumn{3}{p{12cm}}{sgsdggdsg.} \vline \\
\hline
\end{tabular}
But \cline
doesn't work and my LaTeX IDE singalize some error. I need to have hline only by last 3 columns.
Best Answer
Your table, after suitable completion, will compile with some warnings about over/under full boxes which I solved with the following modifications:
And here's the result:
I would like to suggest you, however, some changes to your table, using the features provided by the booktabs package:
Now the table has the following aspect:
As you can see, the spacing between the horizontal lines and the cell contents has improved; also, the absence of vertical rules improves the readability (vertical rules are superfluous). Depending on the actual content of the cells, it would even be possible to remove more lines; refer to the package documentation to see additional features provided by
booktabs
.