I have a table and want to rotate it with the caption by 90 degrees. The table is large and wouldn't even fit when rotated. Hence, I resize it first and rotate it by 90 degrees afterwards (since I don't want to resize the caption as well). To be precise, I resize it to textheight, put it into a minipage and rotate it using sideways. The problem is that the minipage is of width .95\textheight (which is obviously too large in portrait mode) which will create a blank page (i.e. the appendix is not starting on a RHS page). This hack was the closest I could get to the desired result.
I tried different solutions but all of them had a downside (e.g., varwidth inside sideways threw errors for multiline captions of the table).
Here's a full working example with a small table causing the same problem.
\documentclass[twoside,a5paper]{scrbook}
\usepackage{rotating}
\usepackage{setspace}
\begin{document}
\chapter{My chapter}
\begin{sideways}
\begin{minipage}{.95\textheight}
\resizebox{.95\textheight}{!}{%
\setstretch{1.5}
\begin{tabular}{llll}
1 & 2 & 3 & 4 \\
a & b & c & d \\
\end{tabular}
}
\renewcommand\thetable{A.1}
\captionof{table}{A veeeeeeeeeeeeeeeery loooooooooooooooooooong caption that does not fit into one line.}
\label{tab:my_label}
\end{minipage}
\end{sideways}
\end{document}



.95\textheightplus the height of the chapter heading exceeds the allowed\textheight. Whenever that happens, LaTeX inserts a blank page. Reduce.95to.8and the blank page goes away. – Steven B. Segletes Jan 09 '19 at 13:16