You can use the rotating
package to automatically rotate wide figures or tables. It provides {sidewaystable}
/{sidewaysfigure}
as a alternatives for {table}
/{figure}
and rotates the environment content by 90°. The direction of the rotation can be set with package options clockwise
or counterclockwise
; if you set twoside
as class or package option the tables/figures are rotated by extra 180° on odd pages.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
\documentclass{article} \usepackage{rotating} \usepackage{booktabs} \begin{document} \begin{sidewaystable} \centering \begin{tabular}{ l l l l l l } \toprule \textbf{No.} & \textbf{Name} & \textbf{Symbol} & \textbf{Atomic Mass (u)} & \textbf{Melting Point (K)} & \textbf{Boiling Point (K)} \\ \midrule 2 & Helium & He & 4.002602 & 0.95 & 4.216 \\ 10 & Neon & Ne & 20.1797 & 48 & 27.1 \\ 18 & Argon & Ar & 39.948 & 83.8 & 87.3 \\ 36 & Krypton & Kr & 83.8 & 116.6 & 120.85 \\ 54 & Xenon & Xe & 131.29 & 161.3 & 166.1 \\ 86 & Radon & Rn & 222.0176 & 202 & 211.4 \\ \bottomrule \end{tabular} \caption{A very wide table} \end{sidewaystable} \end{document} |
PS: Use booktabs
for a nicer styling of your tables 😉