Graphics, Figures & Tables ⇒ sidewaystable
sidewaystable
\documentclass[12pt]{book}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\caption{Websites. \label{web} }
\begin{center}
\begin{tabular}{|l|r|}
\hline
Exec & Nonexec \\
\hline
Exec R2 & Nonexec R2 \\
\hline
\end{tabular}
\end{center}
\end{sidewaystable}
\end{document}
No obvious flaw...is some unwritten extra command required?
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
sidewaystable
No, it doesn't and you would have seen this yourself, if you would have tagged your code as CODE:jjramsden wrote:Following code produces a normally oriented table displaced towards the bottom right-hand corner of the page, instead of rotating it sideways as should happen
Code: Select all
\documentclass[12pt]{book}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\caption{Websites. \label{web} }
\begin{center}
\begin{tabular}{|l|r|}
\hline
Exec & Nonexec \\
\hline
Exec R2 & Nonexec R2 \\
\hline
\end{tabular}
\end{center}
\end{sidewaystable}
\end{document}

BTW: You should not use
center
environment inside a float. Use command \centering
instead:
Code: Select all
\documentclass[12pt]{book}
\usepackage{caption}% Because of table headings instead of signatures.
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\centering
\caption{Websites. \label{web} }
\begin{tabular}{|l|r|}
\hline
Exec & Nonexec \\
\hline
Exec R2 & Nonexec R2 \\
\hline
\end{tabular}
\end{sidewaystable}
\end{document}
tivlist
environments [lattex]center[/latex], flushleft
and flushright
add extra vertical space, which is not needed nor wanted here.Note: Tables or
rotating
are not subjects of mine. So don't expect any further support of mine on this topic.