Any ideas as to why the document seems to shift up and to the right on the page? I've tried using {anysize} and {geometry} to adjust the borders but I've had some issues. With {geometry} the margin values aren't recognized unless I remove [margin] from documentclass. And doing so causes the title sections to appear above the text instead of to the side. And anysize works, but the right margin just goes to zero and the text falls off the page.

I'm looking to center the text and the border of the page while maintaining the section titles to the left. This is just a skeleton of my resume by the way. I hope that's ok.

% LaTeX file for resume 
% This file uses the resume document class (res.cls)

\documentclass[margin]{res}  % the margin option causes section titles to appear to the left of body text 
%\textwidth=5.2in % increase textwidth to get smaller right margin
%\usepackage{Verdana} % uses helvetica postscript font (download helvetica.sty)
%\usepackage{newcent}   % uses new century schoolbook postscript font 



\address{First@last.com\\ (111) 111-1111}


\section{Related Coursework}    

 {\bf text,} text  \hfill   {\bf date} 
             \item text
             \item text             
             \item text


{\bf text,} text \hfill {\bf date}                
             \begin{itemize} [noitemsep,topsep=-5pt]
             \item text                                 
             \item text                 
             \item text

     \begin{itemize} \itemsep -2pt
                \item {\bf text,} text \hfill   {\bf date} \newline                                                                              
                    \indent {text} 
                 \item {\bf text,}  text \hfill   {\bf date} \newline                                        
                    \indent {text} \newline
                    \indent {text}
                 \item {\bf text,}  text  \hfill   {\bf date} \newline                                          
                    \indent {text}\newline
                    \indent {text}                  
\section{Honors \\ Affiliations}
text &text\\  
text &text\\ 
text &text\\
text &text


  • 1
    The extra margin is coming from the pdf driver. Add \pdfpagewidth=8.5in \pdfpageheight=11in in the preamble. Feb 19, 2015 at 0:33
  • Wow. Thank you SO SO much. That was perfect. Concise and simple. I was tweaking so many things. THANKS!
    – Tikiyetti
    Feb 19, 2015 at 0:53
  • @JohnKormylo Do you want to write an answer?
    – TeXnician
    Jul 14, 2017 at 17:27
  • @TeXnician - There is probably a duplicate question somewhere. It turns out that the geometry package takes care of this detail, so it doesn't come up very often. Jul 14, 2017 at 18:34

1 Answer 1


The extra margin is due to the pdf driver. Add \pdfpagewidth=8.5in \pdfpageheight=11in in the preamble.

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.