2014-09-01 77 views
0

我用乳胶写我的简历,但对于恢复文档类型的默认页边距太宽。解决此问题的最佳方法是使用anysize程序包,然后设置边距大小,但这样做会导致“= .5 = .75”显示在pdf中的标题之前。以下是标题代码Marginsize乳胶简历显示尺寸

% LaTeX resume using res.cls 
\documentclass[margin]{res} 
% \usepackage[margin=0.75in,bottom=.5in,top=.5in]{geometry} 
\usepackage[none]{hyphenat}%%%% 
\usepackage{anysize} 
\setlength{\textwidth}{5.8in} % set width of text portion 

\begin{document} 

\marginsize{.5}{.5}{.75}{.75} 

% Center the name over the entire width of resume: 
\centerline{\large\bf John Doe} 

回答

3

您需要使用某个度量单位指定长度。例如:

\marginsize{.5in}{.5in}{.75in}{.75in} 

然而,如在anysizeREADME

提到这个包是过时的。使用包装typearea来定义您的 页边正确印刷。使用包geometryvmargin 的一切。

我的建议是坚持使用geometry包来设置文档布局。另外,不要使用resume来设置简历。有moderncv作为替代方案,或者您也可以在默认的article类中做好。