# Compact latex document given the current formatting?

I am trying to compile a latex document that is compact as possible because I am allowed to bring a one paged sheet into an exam I am writing (may sound kind of funny but I think it may be applicable in many cases) and so I really want to make my document as compact as possible. I don't really care if its microscopic font as long as I can read it really close. Currently I thought of the following,

    \documentclass{article}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[margin=0in,top=0in,bottom=0in]{geometry}
\usepackage{amsmath}
\begin{document}
\fontsize{5}
Some theorem will go here. some math equation $\text{taylor series = } \sum_{k=0}^{n}\frac{f^(k)(x)(x-a)^{k}}{k!}$ and some more theorems. But I think the general idea is conveyed that I want this to be compact as possible.

\end{document}


Does anyone have any more suggestions for this ? I would greatly appreciate it if I could make it even more compact as I am trying to fit a lot of stuff on that 1 page.

This is what I currently have:

Thanks

• 1) \documentclass{article} 2) \usepackage{amsmath} 3) \begin{document} \fontsize{5}{6}\selectfont or some thing 4) multicol or paracol package may be useful – touhami Mar 27 '16 at 19:52
• I made a change following your advice, but do you know how is it that my equation text is at that small font ? Is it possible to make that font universal for the entire document as opposed to using $\text{ }$ ? – PutsandCalls Mar 27 '16 at 20:18
• I will see but it's \begin{document} \fontsize{5}{6}\selectfont – touhami Mar 27 '16 at 20:21
• Ah I see it now, wow that made a huge difference ! – PutsandCalls Mar 27 '16 at 20:25
• Just use \tiny – Mark Mar 27 '16 at 22:17

The savetrees package saves some additional space:

\documentclass{article}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\usepackage[margin=0in,top=0in,bottom=0in]{geometry}
\usepackage{amsmath}
\usepackage{savetrees}

\begin{document}
\fontsize{5pt}{5pt}\selectfont
Some theorem will go here. some math equation $\text{taylor series = } \sum_{k=0}^{n}\frac{f^(k)(x)(x-a)^{k}}{k!}$ and some more theorems. But I think the general idea is conveyed that I want this to be compact as possible.

\end{document}


With savetrees:

Without: