I have a portrait page with a section heading below which I would like to place a table in landscape (as in this orientation it should take up most of the rest of the page).
I can get the whole page in landscape and do it that way, however, if I do this, the section heading does not appear on the same page.
My current attempt (which sticks the table on a new, landscape, page looks like this:
\documentclass[a4paper]{report}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}
\usepackage{booktabs}
\usepackage{float}
\usepackage{tabularx}
\usepackage{pdflscape}
\begin{document}
\section{Appendix B - Risk Assessment}
\begin{landscape}
\begin{table}[H]
\centering\ra{1.3}
\caption{Table to show risks, hazards and mitigation techniques for this experiment}
\label{tbl:RiskMatrix}
\begin{tabularx}{\linewidth}{X X c X c c}
\toprule
Description of Hazard & Consequences & Risk Before & Mitigations Required & Risk After & ALARP? (Yes/No) \\ [0.5ex]
\midrule
Electrocution & Serious injury or death & 0.5 & Ensure hands are dry when plugging in. Do not tamper with any electrical components & 0.1 & Yes \\
Burns from hot components & Non-serious burns & 0.7 & Wear thermally insulated gloves when operating equipment & 0.2 & Yes \\
Burns from steam & Very serious burns, potential loss of sight & 0.6 & Wear safety goggles and a lab coat to protect from steam egress & 0.2 & Yes \\
Loss of apparatus integrity & Injuries from shrapnel, serious burns, potentially fatal & 0.3 & Check equipment for signs of buckling before use. Ensure that it remains within safe operating pressures. Ensure ballistic screen is in place around equipment. & 0.2 & Yes \\\bottomrule
\end{tabularx}
\end{table}
\end{landscape}
\end{document}
If anyone would have any suggestions on how I could achieve this or, if this is not possible, what the best alternative solution might be.
\documentclass
and ending with\end{document}
) would be nice. - Does this question and answers help you?landscape
always starts a new page usesidewaystable
from the rotating package (or just\rotatebox
around the tabular if you don't want to rotate the caption)\begin{table}
to\begin{sidewaystable}
(and the\end
) has caused my table to vanish. Do you know what could be causing this off the top of your head? If not, I'll dig through the docs