Showing posts with label Tables. Show all posts
Showing posts with label Tables. Show all posts

Tuesday, January 8, 2013

Everything You Forget About LaTeX: Formatting Tables - Adding space to rows and columns

Everything You Forget About LaTeX: Formatting Tables

Column Width: \tabcolsep
Usage: \renewcommand\tabcolsep{6pt}
Explanation: tabcolsep is HALF the space between two columns. Default value is 6pt

Row Height: \arraystretch
Usage: \renewcommand\arraystretch{1}
Explanation: arraystretch is a FACTOR representing the distance between two rows. Default is 1

Landscape in LaTeX - Good for large figures and/or tables

http://texblog.org/2007/11/10/landscape-in-latex/

To change whole document to landscape use the command:

\usepackage[landscape]{geometry}

To change the page content but not the page layout use:

\documentclass[landscape, 12pt]{report}

To change a section (for printing):

\usepackage{lscape}

To change a section (for screen viewing):

\usepackage{pdflscape}

where sections are wrapped in the environment

\begin{landscape}
...
\end{landscape}

Monday, November 19, 2012