I found this answer with search: https://tex.stackexchange.com/a/19678/53832
Is there some way to make all cells in the table to work like this? Some of the cells in the table are multirow cells if that makes any difference.
MWE
\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage{multirow}
\begin{document}
\begin{table}[ht]
\begin{tabular}{c|c|c|c}
\hline
\multirow{8}{*}{\begin{tabular}[x]{@{}c@{}}This is first line\\This is second line\end{tabular}} & \multirow{4}{*}{\begin{tabular}[x]{@{}c@{}}This is first line\\This is second line\end{tabular}} & \multirow{2}{*}{\begin{tabular}[x]{@{}c@{}}This is first line\\This is second line\end{tabular}} & \begin{tabular}[x]{@{}c@{}}This is first line\\This is second line\end{tabular} \\ [30pt] \cline{4-4}
& & & This cell should have also two lines \\ [30pt] \cline{3-4}
& & \multirow{2}{*}{This cell should have also two lines} & This cell should have also two lines \\ [30pt] \cline{4-4}
& & & \begin{tabular}[x]{@{}c@{}}This is first line\\This is second line\end{tabular} \\ [30pt] \cline{2-4}
& This cell should have also two lines & \multirow{2}{*}{\begin{tabular}[x]{@{}c@{}}This is first line\\This is second line\end{tabular}} & This cell should have also two lines \\ [30pt] \cline{4-4}
& & & This cell should have also two lines \\ [30pt]
\hline
\end{tabular}
\end{table}
\end{document}
\documentclass{...}and ending with\end{document}. – Adam Liter Jun 03 '14 at 16:43tabularis vertically[c]entred. There is no[x]alignment. – Werner Jun 03 '14 at 21:31