I have problem with alignment of text inside a longtable environment when a table is placed in the cell next to it.
Example in the following:
Code: Select all
\documentclass[a4paper,twoside]{report}
\usepackage{longtable}
\begin{document}
\begin{longtable}{@{}p{40mm}@{}p{110mm}}
Blaa & \tabularnewline
\hline
Blah Blah: & More blaa
\tabularnewline
Problem text: &
\begin{tabular}{p{40mm}p{30mm}p{30mm}}
\hline
\raggedright Type & \raggedright & \raggedright Premie\newline denne periode
\tabularnewline
\hline
Blaa 1 & Blaa 2 & Blaa 3 \tabularnewline
Blaa 1 & Blaa 2 & Blaa 3 \tabularnewline
Blaa 1 & Blaa 2 & Blaa 3 \tabularnewline
Blaa 1 & Blaa 2 & Blaa 3 \tabularnewline
Blaa 1 & Blaa 2 & Blaa 3 \tabularnewline
\cline{3-3}
Superblaa & & some blaa \tabularnewline
\cline{3-3}
\end{tabular} \tabularnewline
Last blas 1: & Last blaa 2 \newline Last blaa 2 \newline Last blaa 2 \tabularnewline
\end{longtable}
\end{document}
What do I do?
Thanks in advance!