I would like to create a table for a large amount of text, following the style shown in the picture 1 (below). I have attempted to do this using tabularx
but with little success. I have tried to describe some of the problems below - they are also highlighted in the picture (red boxes) in case the descriptions are poor.
- Creation of 'empty rows' - as per 'Title 1,2,3 etc..'.
- Creation of an empty box in the top left hand corner of the table.
- Position columns 4 and 5 next to columns 3 and 4.
- Wrap text for all headings (columns 1,2,3 etc...).
MWE:
\documentclass[a4paper,11pt]{article}
\usepackage{tabularx}
\usepackage{booktabs,caption, makecell}
\usepackage{pdflscape,afterpage}
\begin{document}
\begin{landscape}% Landscape page
\begin{table}[ht]
\caption{Cognitive walkthrough goals, tasks and actions}
\small
\begin{tabularx}{\linewidth}{@{}*{3}{>{\arraybackslash}X}}
\toprule\midrule[0.5pt]
\thead{\textbf{Column 1}}& \thead{\textbf{Column 2}} & \thead{\textbf{Column 3}} & \thead{\textbf{Column 4}} & \thead{\textbf{Column 5}}\\
\midrule
To make your document look professionally produced, Word provides header, footer, cover page, and text box designs that complement each other. For example, you can add a matching cover page, header, and sidebar. Click Insert and then choose the elements you want from the different galleries. & To make your document look professionally produced, Word provides header, footer, cover page, and text box designs that complement each other. For example, you can add a matching cover page, header, and sidebar. Click Insert and then choose the elements you want from the different galleries. & To make your document look professionally produced, Word provides header, footer, cover page, and text box designs that complement each other. For example, you can add a matching cover page, header, and sidebar. Click Insert and then choose the elements you want from the different galleries.
\\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\addlinespace
Text & Text & Text \\
\bottomrule
\end{tabularx}%
\hspace*{-12mm}%
\label{table:comparison of techniques}
\end{table}
\end{landscape}
\end{document}
Grateful for any advice. I'm happy to use another package tabularx
is the one that I'm familiar with.
Thanks in advance!
*{3}
in order to specify 3 columns. In order to make your MWE compilabel, change this to*{5}
.