I am trying to use
\landscape
to rotate a long table. It works fine with the table, but the page number moves to the upper right corner. How can I force it back to the bottom of page as other pages?Thanks!
\landscape
to rotate a long table. It works fine with the table, but the page number moves to the upper right corner. How can I force it back to the bottom of page as other pages?Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\landscape
come from? It isn't standard.\landscape
comes from the package lscape which provides landscape view. Actually, I oringally used rotating package & sidewaystable. It worked fine until I switiched to a new template, then rotating package started to cause problem on all figures by generating the following error message.Code: Select all
! Extra }, or forgotten \endgroup. \color@endbox ->egroup 1.48
\end{figure}
Code: Select all
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[margin=1in]{geometry}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{booktabs,tabularx,threeparttable}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\caption{Table caption}\label{tab:dummy}
\centering
\begin{threeparttable}
\begin{tabularx}{\textheight}{l*8{X}}\toprule
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) \\ \midrule
\multicolumn{9}{c}{Test} \\ \addlinespace
Variable & 0.011\tnote{***} & 0.026\tnote{***} & -0.003\tnote{***}& -0.004\tnote{***} & -0.005\tnote{***} & -0.006\tnote{***} & -0.007\tnote{***} & -0.008\tnote{***}\\ \bottomrule\addlinespace
\end{tabularx}
\begin{tablenotes}
\scriptsize
\item[***] Notes:
\end{tablenotes}
\end{threeparttable}
\end{sidewaystable}
\end{document}
I am willing to use Adobe Professional to rotate pages if need be, but that does not take care of page numbers. In fact, I prefer for the table to come out rotated so that it is not sideways in the end. In the attached .pdf, I prefer for the landscaped table to be aligned like Table 3, although I would like the page number correctly aligned.frabjous wrote:That is not a minimal working example. Please actually read the pages I linked to.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis