1\documentclass[a4paper, oneside, 10pt]{article}
2\usepackage[utf8x]{inputenc}
3\usepackage[czech]{babel}
4\usepackage{multirow}
5\usepackage{longtable}
6\begin{document}
7
8\begin{longtable}{|l|l|l|}
9\hline
10\textbf{Heading 1}   &  \textbf{Heading 2}    &  \textbf{Heading 3}  \\
11\hline
12 Row 1 Col 1\newline aaaa     &  Row 1 Col 2      &  Row 1 Col 3         \\
13\hline
14 Row 2 Col 1     & \multicolumn{2}{|l|}{ some colspan (note the double pipe) } \\
15\hline
16 Row 3 Col 1     &  Row 3 Col 2      &  Row 3 Col 3         \\
17\hline
18\end{longtable}
19
20\begin{longtable}{|l|l|l|}
21\hline
22  &  \textbf{Heading 1}    &  \textbf{Heading 2}  \\
23\hline
24 \textbf{Heading 3}    &  Row 1 Col 2      &  Row 1 Col 3         \\
25\hline
26 \textbf{Heading 4}      & no colspan this time &  \\
27\hline
28 \textbf{Heading 5}     &  Row 2 Col 2      &  Row 2 Col 3         \\
29\hline
30\end{longtable}
31
32\begin{longtable}{|l|l|l|}
33
34\hline
35 \textbf{Heading 1}  &  \textbf{Heading 2}    &  \textbf{Heading 3}  \\
36\hline
37 Row 1 Col 1    &  \multirow{3}{*}{ this cell spans vertically }      &  Row 1 Col 3         \\
38\hline
39 Row 2 Col 1      &  & Row 2 Col 3 \\
40\hline
41 Row 3 Col 1    &        &  Row 2 Col 3         \\
42\hline
43\end{longtable}
44\begin{longtable}{|l|l|l|}
45
46\hline
47 \multicolumn{3}{|c|}{\textbf{Table with alignment}}  \\
48\hline
49 \multicolumn{1}{|r|}{right}   &  \multicolumn{1}{|c|}{center}       &  left        \\
50\hline
51 left      & \multicolumn{1}{|r|}{right} & \multicolumn{1}{|c|}{center} \\
52\hline
53 xxxxxxxxxxxx    & xxxxxxxxxxxx  &  xxxxxxxxxxxx         \\
54\hline
55\end{longtable}
56
57\end{document}
58