0

In order to make my resume more dense and get more content on a page, I wanted to reduce page margins. I had been struggling with this issue for a long time and couldn't find any good complete solution online.

However, after several pitfalls, I've managed to resolve all problems now and thought I'd share my solution and maybe help others struggling with the same.

Feel free to edit and improve

1
  • Yes, readability should not suffer. However, my document has section titles shiftet to the left (similar to this: i.stack.imgur.com/uuPKw.png), which takes some space and makes lines shorter than usual. Sep 22 '15 at 18:31
1

This guide assumes you use a file res.cls and are able to modify it

Reduce margins

The geometry package helps reducing page margins, e.g. like

\usepackage[margin=0.5in]{geometry}

(Default margin is 1 inch.)

However, this will raise errors when compiling, because res and geometry both use an option named margin. As this post suggests, this can be resolved by changing the line (in res.cls)

\DeclareOption{margin}{\@margintrue}

to

\DeclareOption{resmargin}{\@margintrue}

and in your document

\documentclass[line,resmargin]{res}

Increase content size

Now, content will be positioned closer to the upper left corner, but still remain in the same box, i.e. produce more visual margin on the right/bottom. To resolve this, \textwidth and \textheight need to be adjusted.

They can be overridden by

\setlength{\textwidth}{6.1in}
\setlength{\textheight}{10in}

If this doesn't work, check if those values are overridden later in your file.

2
  • Silly question, where is this res.cls file located? I have been dealing with this margin issue for 2 hours and it is driving me crazy!
    – Jon
    Apr 2 '16 at 2:26
  • It's usually automatically loaded from the package repo, but you can just download the source file from here and place it in the same directory as your .tex file, then go on and edit it. Apr 2 '16 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.