Как выровнять поля по границе?

Как выровнять поля по границе?

Есть идеи, почему документ смещается вверх и вправо на странице? Я пробовал использовать {anysize} и {geometry} для настройки границ, но у меня возникли некоторые проблемы. При использовании {geometry} значения полей не распознаются, пока я не удалю [margin] из documentclass. И это приведет к тому, что разделы заголовка будут отображаться над текстом, а не сбоку. И anysize работает, но правое поле просто становится равным нулю, и текст выпадает со страницы.

Я хочу отцентрировать текст и границу страницы, оставив заголовки разделов слева. Кстати, это всего лишь скелет моего резюме. Надеюсь, это нормально.

% 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{enumitem} 
%\usepackage{Verdana} % uses helvetica postscript font (download helvetica.sty)
%\usepackage{newcent}   % uses new century schoolbook postscript font 
\usepackage{fancybox}
%\usepackage{anysize}
%\marginsize{1in}{1in}{1in}{1in}

\begin{document} 

\thisfancyput(3.25in,-4.5in){
\setlength{\unitlength}{1in}\fancyoval(7,9.5)}


\name{NAME}
\address{[email protected]\\ (111) 111-1111}


\begin{resume} 

\small{\section{Education} 
  text  
\vspace{-.5em}
\section{Related Coursework}    
  text   
\section{Experience}

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

            \end{itemize}

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

             \end{itemize}      
\vspace{-1em}        
    \section{Employment}
     \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}                  
\end{itemize}
\vspace{-1em}        
\section{Honors \\ Affiliations}
\begin{tabular}{ll}
text &text\\  
text &text\\ 
text &text\\
text &text
\end{tabular}

\section{Skills}   
    text



\end{resume} 
\end{document} 

решение1

Дополнительные поля из-за драйвера PDF. Добавьте \pdfpagewidth=8.5in \pdfpageheight=11inв преамбулу.

Связанный контент