Graphics, Figures & TablesRotating a table (sidewaystable)

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Rotating a table (sidewaystable)

Post by rajini »

Hello all,
by using the following code:

Code: Select all

\begin{sidewaystable}
\caption{Details of the fitting procedure}\label{tab:1stas}
\vspace{3mm}
\centering
\begin{tabular}[width=1\linewidth]{lccccl}
\hline\hline
Experimental & Calculated\\[0ex]
[cm$^{-1}$] & [cm$^{-1}$]\\[0ex]
\hline
37.9  (35)  & -- \\ 
140.9 (141) &140 \\
\hline\hline
\end{tabular}
\end{sidewaystable}
I get a table rotated in a single full page. If this table comes in odd page (right side of book) side i like. But in some case the table spears on left side so in such cases i like to rotate 90 anticlockwise..how to do it?
thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Rotating a table (sidewaystable)

Post by localghost »

Code snippets are absolutely useless [1]. Get used to posting a full and minimal example. That is not a request but a demand. Read the rotating manual.

[1] View topic: Avoidable mistakes


Best regards
Thorsten
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Re: Rotating a table (sidewaystable)

Post by rajini »

Hello,
I agree that i have not posted fully my codes. I guess it the inability to understand the problem for the readers of my post asking for help. I just need to add one word [figuresright] before {rotating}. Off course learned by wasting time!
But if experts could understand, then why you never say in a straightforward way.
However it is worth reading the rotating package (like a person who works for latex)

thanks, rajini
Post Reply