Page LayoutRotating a table in a Latex Template

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Jordanb
Posts: 1
Joined: Tue Sep 05, 2017 3:07 am

Rotating a table in a Latex Template

Post by Jordanb »

I would like to rotate a table on one page within a chapter so that it falls horizontally across the page (the rest of the document is in portrait). I have tried multiple commands suggested on other forum pages so I suspect that there is something unique about either my document template or my table.

I am using the Masters-Doctoral-Thesis-Template [https://www.overleaf.com/latex/templates/template-for-a-masters-slash-doctoral-thesis/mkzrzktcbzfl#.Wa35pdN95Bx]

The table in coded as:

\begin{table}
\centering
\caption{Variable names and description}
\label{tab:vardescrip}
\hspace*{-1.5cm}\begin{tabular}{ll}
\hline
\textbf{Variable name} & \textbf{Description} \\ \hline
A1 & 4 \\
A2 & 6 \\
A3 & 2 \\ \hline
\end{tabular}\hspace*{-1.5cm}
\end{table}


Please can you offer any suggestions to rotate this table. Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Rotating a table in a Latex Template

Post by Johannes_B »

What have you tried so far? The template should behave just like any other class, there shouldn't be anything special.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Rotating a table in a Latex Template

Post by Stefan Kottwitz »

Welcome to the forum!
Jordanb wrote:I have tried multiple commands suggested on other forum pages
Please show what you tried and tell us why it did not work. Otherwise it may happen that, without knowing what commands did not work for you, we may suggest the same commands. It's usually easier when you show us what did not work and we fix it.

Stefan
LaTeX.org admin
Post Reply