I have a tabu table, and I need to make a table like this:
(I don't know how to create correctly 5th column)
Right now my code look like this:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel} % Включаем пакет для поддержки русского
\usepackage{tabu}
\usepackage[a4paper, portrait, margin=1in, hmargin=2cm, top=4cm, bottom=4cm, headheight=3cm, footskip=2.5cm]{geometry}
{\small \begin{center}
\tabulinesep=0.5mm
\begin{tabu} to \textwidth { | X[0.1,l,p] | X[0.8,l,p] | X[0.5,l,p] | X[0.8,l,p] | X[0.8,l,p] | }
\hline
\textbf{№} & \textbf{Описание отклонения:} & \textbf{Департамент:} & \textbf{Идентифицированный риск} & \textbf{Не идентифицированный риск 1} \\ \hline
1 & Отклонение 1 & Департамент 1 & Риск 1 & Описание не идентифицированного риска \\ \hline
\end{tabu}
\end{center}
\end{document}
Best Answer
I don't expect you still need an answer as it's been so long, but for posterity:
The
tabu
documentation: page 12/101 section 2.3 of tabu documentation provides a multicolumn demo that I combined withmultirow
. Please forgive the horrible translation, I didn't want to fight with the character map on my computer.I prefer
longtable
, so I have included a crude implementation of both below.Tabu Version
Long table Version