I have begun to compile an appendix for my dissertation and the first I want to include uses the begin{sidewaystable}
command. However, due to the size of the table it doesn't fit on the same page as the Appendix title, as shown below:
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{booktabs}
\usepackage{dcolumn}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{rotating}
\usepackage{adjustbox}
\usepackage{tabularx}
\usepackage{titlesec}
\usepackage[margin=1in, left=1.5in, includefoot]{geometry}
\usepackage{setspace}
\onehalfspacing
\usepackage{float}
\usepackage{here}
\usepackage{siunitx} % added
\usepackage{threeparttable}
\newcommand\mc[1]{\multicolumn{1}{c}{#1}}
\titleformat*{\subsection}{\normalfont\large\itshape}
\makeatletter
\renewcommand\footnoterule{
\kern-3\p@
\hrule\@width \textwidth
\kern2.6\p@}
\makeatother
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyfoot[R]{ \thepage\ }
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage{rotating}
\begin{document}
\appendix
\section{Appendix}\label{Appendix}
\newgeometry{ top=0.6cm, bottom=0.6cm, right=0.5cm, left=0.5cm}
\begin{centering}
\begin{sidewaystable}
\makebox[\textwidth]{%
\begin{tabular}{rrccccccccr}
\multicolumn{1}{l}{Country} & & \multicolumn{2}{c}{Income Group} & Income Group 2005 & Income Group 2009 & CPI 2002 & CPI 2005 & CPI 2009 & EU Member & \multicolumn{1}{c}{Frequency} \\
\midrule
& & \multicolumn{2}{c}{} & & & & & & & \\
\multicolumn{1}{l}{Albania} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Upper-Middle & 2.5 & 2.4 & 3.2 & & 732 \\
\multicolumn{1}{l}{Belarus} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Upper-Middle & 4.8 & 2.6 & 2.4 & & 848 \\
\multicolumn{1}{l}{Georgia} & & \multicolumn{2}{c}{Low } & Low-Middle & Low-Middle & 2.4 & 2.3 & 4.1 & & 747 \\
\multicolumn{1}{l}{Tajikistan} & & \multicolumn{2}{c}{Low } & Low & Low & & 2.1 & 2.0 & & 733 \\
\multicolumn{1}{l}{Ukraine} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Low-Middle & 2.4 & 2.6 & 2.2 & & 1908 \\
\multicolumn{1}{l}{Uzbekhistan} & & \multicolumn{2}{c}{Low } & Low & Low-Middle & 2.9 & 2.2 & 1.7 & & 926 \\
\multicolumn{1}{l}{Russia} & & \multicolumn{2}{c}{Low-Middle} & Upper-Middle & Upper-Middle & 2.7 & 2.4 & 2.2 & & 2111 \\
\multicolumn{1}{l}{Poland} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 4.0 & 3.4 & 5.0 & Yes & 1928 \\
\multicolumn{1}{l}{Romania} & & \multicolumn{2}{c}{Low-Middle} & Upper-Middle & Upper-Middle & 2.6 & 3.0 & 3.8 & Yes & 1396 \\
\multicolumn{1}{l}{Serbia} & & \multicolumn{2}{c}{-} & - & Upper-Middle & & 2.8 & 3.5 & & 901 \\
\multicolumn{1}{l}{Kazakstan } & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Upper-Middle & 2.3 & 2.6 & 2.7 & & 1379 \\
\multicolumn{1}{l}{Moldova} & & \multicolumn{2}{c}{Low} & Low-Middle & Low-Middle & 2.1 & 2.9 & 3.3 & & 887 \\
\multicolumn{1}{l}{Bosnia \& Herzegovina} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Upper-Middle & & 2.9 & 3.0 & & 743 \\
\multicolumn{1}{l}{Azerbaijan} & & \multicolumn{2}{c}{Low} & Low-Middle & Upper-Middle & 2 & 2.2 & 2.3 & & 900 \\
\multicolumn{1}{l}{Macedonia (FYROM)} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Upper-Middle & & 2.7 & 3.8 & & 736 \\
\multicolumn{1}{l}{Armenia} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Low-Middle & & 2.9 & 2.7 & & 896 \\
\multicolumn{1}{l}{Kyrgyzstan } & & \multicolumn{2}{c}{Low} & Low & Low & & 2.3 & 1.9 & & 610 \\
\multicolumn{1}{l}{Estonia} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 5.6 & 6.4 & 6.6 & Yes & 662 \\
\multicolumn{1}{l}{Czech Republic} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 3.7 & 4.3 & 4.9 & Yes & 859 \\
\multicolumn{1}{l}{Hungary} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 4.9 & 5.0 & 5.1 & Yes & 1151 \\
\multicolumn{1}{l}{Lativa} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 3.7 & 4.2 & 4.5 & Yes & 651 \\
\multicolumn{1}{l}{Lithuania} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & Upper-Middle & 4.8 & 4.8 & 4.9 & Yes & 681 \\
\multicolumn{1}{l}{Slovakia} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 3.7 & 4.3 & 4.5 & Yes & 665 \\
\multicolumn{1}{l}{Slovenia} & & \multicolumn{2}{c}{High} & High & High & 6.0 & 6.1 & 6.6 & Yes & 687 \\
\multicolumn{1}{l}{Bulgaria} & & \multicolumn{2}{c}{Low-Middle} & Low-Middle & Upper-Middle & 4.0 & 4 & 3.8 & Yes & 1853 \\
\multicolumn{1}{l}{Croatia} & & \multicolumn{2}{c}{Upper-Middle} & Upper-Middle & High & 3.8 & 3.4 & 4.1 & Yes & 1160 \\
\multicolumn{1}{l}{Montenegro} & & \multicolumn{2}{c}{-} & - & Upper-Middle & & 2.8 & 3.9 & & 153 \\
\midrule
& & \multicolumn{2}{c}{} & & & & & & Total & 26903 \\
\bottomrule
\end{tabular}}%
\caption{Countries in Sample}
\end{sidewaystable}
\label{tab:addlabel}%
\end{centering}
\end{document}
I have tried to redefine the margins using newgeometry
but this hasn't helped and loses the format used in the rest of the document. Any help would be greatly appreciated - thanks in advance.
sidewaystable
is always placed on a new page as far as I know, regardless of the size of it's content. See if tex.stackexchange.com/a/69287/586 helps.