使用 res.cls 将简历的部分内容左对齐

使用 res.cls 将简历的部分内容左对齐

我正在使用res.cls包裹我使用了margin样式选项,指定章节标题位于正文的左侧。这实际上使它看起来像有两列——左侧列是章节标题,右侧列是正文。这对于大多数简历来说都很好,但是,在某些地方,我希望正文完全位于页面的左侧。例如,我想要一行写着“此信息截至日期为最新”,位于页面左侧,而不仅仅是正文列的左侧。有人知道我该怎么做吗?

\documentclass[margin,line]{res}
\oddsidemargin -.5in
\evensidemargin -.5in
\textwidth=6.0in
\itemsep=0in
\parsep=0in
\newenvironment{list1}
  {\begin{list}{\ding{113}}{%
    \setlength{\itemsep}{0in}
    \setlength{\parsep}{0in}
    \setlength{\parskip}{0in}
    \setlength{\topsep}{0in}
    \setlength{\partopsep}{0in}
    \setlength{\leftmargin}{0.17in}}}
  {\end{list}}
\newenvironment{list2}
  {\begin{list}{$\bullet$}{%
    \setlength{\itemsep}{0in}
    \setlength{\parsep}{0in}
    \setlength{\parskip}{0in}
    \setlength{\topsep}{0in}
    \setlength{\partopsep}{0in}
    \setlength{\leftmargin}{0.2in}}}
  {\end{list}}
\begin{document}
\name{Name \vspace*{.1in}}
\begin{resume}
\section{\sc Research Interests}
Bayesian statistics, spatial and spatio-temporal statistics, 
statistical methods for environmental and public health data, 
statistical computing, statistical methods for large datasets. 
{Current information as of May 2012}
\end{resume}
\end{document}

另外,下面是我正在使用的模板的链接:http://biosun1.harvard.edu/~paciorek/computingTips/Latex_template_creating_CV_.html

答案1

对于与左边距齐平的小部分,你可以使用负水平空间。部分标题的宽度由 给出\sectionwidth,因此使用

\hspace*{-\sectionwidth}<your content>

有效。这是包含此调整的 MWE:

在此处输入图片描述

\documentclass[margin,line]{res}
\oddsidemargin -.5in
\evensidemargin -.5in
\textwidth=6.0in
\itemsep=0in
\parsep=0in
\newenvironment{list1}
  {\begin{list}{\ding{113}}{%
    \setlength{\itemsep}{0in}
    \setlength{\parsep}{0in}
    \setlength{\parskip}{0in}
    \setlength{\topsep}{0in}
    \setlength{\partopsep}{0in}
    \setlength{\leftmargin}{0.17in}}}
  {\end{list}}
\newenvironment{list2}
  {\begin{list}{$\bullet$}{%
    \setlength{\itemsep}{0in}
    \setlength{\parsep}{0in}
    \setlength{\parskip}{0in}
    \setlength{\topsep}{0in}
    \setlength{\partopsep}{0in}
    \setlength{\leftmargin}{0.2in}}}
  {\end{list}}
\begin{document}
\name{Name \vspace*{.1in}}
\begin{resume}
\section{\sc Research Interests}
Bayesian statistics, spatial and spatio-temporal statistics, 
statistical methods for environmental and public health data, 
statistical computing, statistical methods for large datasets.

\hspace*{-\sectionwidth}Current information as of May 2012.
\end{resume}
\end{document}

相关内容