我想减少教育部分文本结尾与下一节标题(即 ACADEMIC APPOINTMENT)之间的垂直间距。此外,还要减少 PUBLICATION 和 Economics Journal 之间的间距。最后,想知道如何使简历中每个部分的标题和文本之间的间距相同。
我的最小工作代码如下;
\documentclass[12pt]{res}
\usepackage{datetime}
\usepackage{parskip}
\newdateformat{mydate}{\monthname[\THEMONTH] \THEYEAR}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0.5pt}
\rhead{\footnotesize Name, PhD \thepage}
\headsep = 0.5cm
\fancypagestyle{plain}{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\headsep = 0.0cm
}
\fancyfoot[L]{\footnotesize updated\today}
\setlength{\parindent}{0pt}
%\setlength{\parskip}{0pt}
\setlength\headheight{10pt}
\setlength\headsep{8pt}
\addtolength\topmargin{-18pt}
\AtBeginDocument{\thispagestyle{empty}}
\fontfamily{phv}\selectfont
\topmargin=-0.5in
\oddsidemargin=0.0in
\evensidemargin=0.0in
\textwidth=6.0in
\usepackage[hidelinks]{hyperref}
\setlength{\pdfpagewidth}{\paperwidth}
\setlength{\pdfpageheight}{\paperheight}
\addtolength{\topmargin}{-.3in}
\addtolength{\textheight}{0.6in}
\makeatletter
\renewenvironment{thebibliography}[1]
{\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\makeatother
\begin{document}
\name{\LARGE Name, PhD\\[12pt]}
\begin{resume}
\begin{tabular}{@{}p{0.20in}p{3.75in}p{3.00in}}
& Department of XXX & (XXX) XXX XXXX \\
& XXXX & Email:\href{mailto: [email protected]}{[email protected]} \\
& Street number and name & Fax: (XXX) XXX XXXX\\
&City, Zip XXXXX & \\
\end{tabular}
\section{\line(1,0){475}} %creates a horizontal line below the header
\section{\textnormal{EDUCATION}}
\vspace{0.1in}
{Ph.D.} Economics, XXX University \hfill 2009 \\
{M.S.} Statistics, ZZZ University \hfill 2010 \\
\section{\textnormal{ACADEMIC APPOINTMENTS}}
\vspace{0.1in}
{Assistant Professor,XXX} \hfill 2012-present\\\
{Research Scientist,YYY}\hfill 2010-2012\\
\section{\textnormal{RESEARCH INTERESTS}}
\vspace{0.1in}
Primary:XX and YY \\
Secondary: ZZ
\section{\textnormal{PUBLICATIONS}}
\subsection{\textnormal{Economics Journal}}
\begin{thebibliography}{9}
\renewcommand\refname{}
\bibitem{XX2014a} XX. and XX. "The first publication",\emph{ Name of the journal}, vol.X, pp.XX-YY, YYYY
\end{thebibliography}
\section{\textnormal{TEACHING EXPERIENCE}}
Course \hfill Semester Year \\
Course \hfill Semester Year \\
\end{resume}
\end{document}
答案1
res.cls
节前的垂直间距由设定\sectionskip
,您可以通过在序言中放置类似以下内容来重新定义它:
\sectionskip=1.5ex plus 0.7ex minus -.2ex
另一方面,\subsection
文件中从未提及,但有一行说明\LoadClassWithOptions{article}
必须使用类\subsection
中的默认值article
。节标题前后的间距通常使用包进行调整titlesec
,但尝试将其合并到 MWE 中会产生很多错误。
正如@ChristianHupfer 在他的评论中提到的那样,使用现代软件包会更好。有许多软件包可用于排版简历。