Answer to Life, the Universe and Everything …

LaTeX Margins

Was writing a formula sheet for my quantum mechanics exam today, and needed to maximize usage of my available space on a piece of A4 paper. So I googled some solutions to get LaTeX to do just that. In addition to using the /tiny command to make small text of course.

Firstly I needed to minimize the margins, so I added this in the header:

\setlength\topmargin{-3cm}
\setlength\textheight{27cm}
\setlength\textwidth{19cm}
\setlength\oddsidemargin{-1.5cm}
\setlength\evensidemargin{-1.5cm}

Then I needed to split the page into 3 columns so I wouldn’t waste too much space at each lineshift:

\usepackage{multicol}

\begin{document}
\tiny
\begin{multicols}{3}
...text...
\end{multicols}

And last but not least, get rid of that annoying huge indent that the align environment has.

\documentclass[fleqn]{article}

\usepackage{amsmath}

\makeatletter
\setlength\@mathmargin{0.2cm}
\makeatother

Trackback URI Comments RSS

Leave a Comment Below