【问题标题】:Reduce space between columns in res.cls latex resume减少 res.cls 乳胶简历中的列之间的空间
【发布时间】:2021-12-11 07:39:49
【问题描述】:

如何减少 res.cls 中两列之间的空间?

我的乳胶文档中现在有以下代码

这是主要的 Latex 文件。

  %---
%   PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%---

\documentclass[margin, 10pt]{res} % Use the res.cls style, the font size can be changed to 11pt or 12pt here
\usepackage{hyperref}

\usepackage{helvet} % Default font is the helvetica postscript font

\usepackage{enumitem}

\setlength{\sectionwidth}{1.8in}
\setlength{\textwidth}{5.2in} % Text width of the document

\newcommand{\ts}{\textsuperscript}

\begin{document}

%----
%   NAME AND ADDRESS SECTION
%-----

\moveleft.5\hoffset\centerline{{\LARGE {{Google}}}} % Name at the top
 \moveleft.5\hoffset\centerline{\href{https://google.com}{https://google.com}}

%------

\begin{resume}

%----
%   EDUCATION SECTION
%----
\section{{\sc{Education}}}

{\textbf{Institute Name} }  \hfill Jul. 2018 - Jul. 2018 \\
Undergraduate \hfill USA

\begin{itemize} [leftmargin=0.5cm]
    \item GPA of 4.0 / 4.0
\end{itemize} 

我正在使用 res.cls 文件进行样式设置,与上述文件位于同一目录中。在这里找到我正在使用的 res.cls https://drive.google.com/file/d/1JhjCG846CW_21DP3XQdv2u4o_0LLh88i/view?usp=sharing

【问题讨论】:

标签: class latex pdflatex resume


【解决方案1】:

你有

\setlength{\sectionwidth}{1.8in}

在此之后添加以下长度变化组合:

\addtolength{\sectionwidth}{-0.5in}
\addtolength{\oddsidemargin}{-0.5in}

\oddsidemargin 中的任何调整都会将部分标题进一步推到左边距,因此进行双重调整,使其保持在当前位置。更改长度以满足您的需要。

【讨论】:

  • 这会增加左侧的边距。如何在不影响边距的情况下增加右侧内容的宽度?
  • @R.Pal:这会减少左侧边距,将部分标题带到文本块。也许您可以通过包含您具体想要什么的指针的绘图来更清楚地了解您想要什么。你能做到吗?
  • 将 sectionwidth 设为 0.8 将增加左侧边距并减小两列之间的间隙。但是,我希望边距固定(小),并减少两列之间的空间。
  • @R.Pal:查看更新后的答案。
猜你喜欢
  • 1970-01-01
  • 2016-12-25
  • 1970-01-01
  • 2011-11-17
  • 1970-01-01
  • 2016-11-03
  • 1970-01-01
  • 1970-01-01
  • 2021-07-05
相关资源
最近更新 更多