關於為什麼文件似乎在頁面上向上移動和向右移動有什麼想法嗎?我嘗試使用 {anysize} 和 {geometry} 來調整邊框,但遇到了一些問題。對於 {geometry},除非我從文件類別中刪除 [margin],否則無法辨識邊距值。這樣做會導致標題部分出現在文字上方而不是側面。任何大小都可以,但右邊距為零,文字會從頁面上脫落。
我希望將文字和頁面邊框居中,同時將部分標題保持在左側。順便說一下,這只是我履歷的一個框架。我希望沒關係。
% 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
在序言中加入。