LaTeX Over Leaf Awesome CV - 条目之间的空格

LaTeX Over Leaf Awesome CV - 条目之间的空格

在此处输入图片描述

我想删除公司名称和标题之间的空格,如图所示。\cventry使用时无法删除空格\vspace

    \cvsection{Experience}
     \begin{cventries}
     \cventry
{Game Developer Intern at Global Internship Program}
{NEXON}
{Seoul, S.Korea \& LA, U.S.A}
{Jan. 2013 - Feb. 2013}
{
  \begin{cvitems}
    \item {Developed in Cocos2d-x an action puzzle game(Dragon Buster) targeting U.S. market. Implemented API server which is communicating with game client and In-App Store, along with two other team members who wrote the game logic, designed game graphics.}
    \item {Won the 2nd prize in final evaluation.}
  \end{cvitems}
}

答案1

转到awesome-cv.cls并搜索\cventry宏。然后您可以插入负行间空间。我选择了-2pt(参见标记的行)。

% Define an entry of cv information
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
\newcommand*{\cventry}[5]{%
  \vspace{-2.0mm}
  \setlength\tabcolsep{0pt}
  \setlength{\extrarowheight}{0pt}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
    \ifempty{#2#3}
      {\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
      {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\[-2pt] % <--
      \entrypositionstyle{#1} & \entrydatestyle{#4} \\}
    \multicolumn{2}{L{\textwidth}}{\descriptionstyle{G#5}}
  \end{tabular*}%
}

Overleaf 上的实例

答案2

请在您的问题中添加一个 MWE(最小工作示例)!现在我使用您上一个问题中的代码...

在您的情况下,您需要\cventry在 cv 代码的序言中重新定义命令:

% Define an entry of cv information
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
\renewcommand*{\cventry}[5]{% <=========================================
  \vspace{-2.0mm}
  \setlength\tabcolsep{0pt}
  \setlength{\extrarowheight}{0pt}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
    \ifempty{#2#3}
      {\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
      {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\[-5pt] % <=================================
      \entrypositionstyle{#1} & \entrydatestyle{#4} \\}
    \multicolumn{2}{L{\textwidth}}{\descriptionstyle{G#5}}
  \end{tabular*}%
}

参见标有 的两条重要线路。根据需要<=========更改 的值...[-5pt]

因此,有了以下 MWE

\documentclass[11pt, a4paper]{awesome-cv} % A4 paper size by default, use 'letterpaper' for US letter
%\usepackage{multicol}
\geometry{%
  showframe,
  left=2cm, top=1.5cm, right=2cm, bottom=2cm, footskip=.5cm
} % Configure page margins with geometry
\usepackage{graphicx}
\fontdir[fonts/] % Specify the location of the included fonts
\usepackage[autostyle=true,german=quotes]{csquotes}
%\usepackage{polyglossia}
%\setdefaultlanguage[spelling=new]{german}

\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{multicol}
\usepackage{parallel}


% Color for highlights
\colorlet{awesome}{awesome-skyblue} % Default colors include: awesome-emerald, awesome-skyblue, awesome-red, awesome-pink, awesome-orange, awesome-nephritis, awesome-concrete, awesome-darknight
\colorlet{emphasis}{black}
\colorlet{body}{black!80!white}
%\definecolor{awesome}{HTML}{CA63A8} % Uncomment if you would like to specify your own color

\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} % If you would like to change the social information separator from a pipe (|) to something else

% Define an entry of cv information
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
\renewcommand*{\cventry}[5]{% <=========================================
  \vspace{-2.0mm}
  \setlength\tabcolsep{0pt}
  \setlength{\extrarowheight}{0pt}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
    \ifempty{#2#3}
      {\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
      {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\[-5pt] % <=================================
      \entrypositionstyle{#1} & \entrydatestyle{#4} \\}
    \multicolumn{2}{L{\textwidth}}{\descriptionstyle{G#5}}
  \end{tabular*}%
}

%----------------------------------------------------------------------------------------
%   PERSONAL INFORMATION
%   Comment any of the lines below if they are not required
%----------------------------------------------------------------------------------------

\name{James}{Bond}
\mobile{(+01) 234 56789}

\email{[email protected]}

\makecvfooter{\today}{James Bond~~~--~~~Curriculum Vitae}{\thepage}
%----------------------------------------------------------------------------------------


\begin{document}

\makecvheader % Print the header

%----------------------------------------------------------------------------------------
%   CV/RESUME CONTENT
%   Each section is imported separately, open each file in turn to modify content
%----------------------------------------------------------------------------------------

%----------------------------------------------------------------------------------------
%   SECTION TITLE
%----------------------------------------------------------------------------------------

\cvsection{Education}

%----------------------------------------------------------------------------------------
%   SECTION CONTENT
%----------------------------------------------------------------------------------------

\begin{cventries}

%------------------------------------------------
\cventry
{Something} % Degree
{Highschool} % Institution
{Springfield} % Location
{2025} % Date(s)
{ % Description(s) bullet points
\begin{cvitems}
\item {Test, Test, Test}
\end{cvitems}
}

\cventry
{Something} % Degree
{Highschool} % Institution
{Springfield} % Location
{2025} % Date(s)
{ % Description(s) bullet points
\begin{cvitems}
\item {Test, Test, Test}
\end{cvitems}
}

\cventry
{Something else} % Degree
{University} % Institution
{Springfield} % Location
{2025} % Date(s)
{ % Description(s) bullet points
\begin{cvitems}
\item {Test, Test, Test}
\item {Test, Test, Test}
\item {Test, Test, Test}
\end{cvitems}
}
%------------------------------------------------
\end{cventries}

\cvsection{Experience}
\begin{cventries}
\cventry
{Game Developer Intern at Global Internship Program}
{NEXON}
{Seoul, S.Korea \& LA, U.S.A}
{Jan. 2013 - Feb. 2013}
{
  \begin{cvitems}
    \item {Developed in Cocos2d-x an action puzzle game(Dragon Buster) targeting U.S. market. Implemented API server which is communicating with game client and In-App Store, along with two other team members who wrote the game logic, designed game graphics.}
    \item {Won the 2nd prize in final evaluation.}
  \end{cvitems}
}
\end{cventries}

%----------------------------------------------------------------------------------------
%   SECTION TITLE
%----------------------------------------------------------------------------------------

\cvsection{Technical Skills}
  \begin{cvskills}
    \cvskill
      {Programming Languages:}
      {Java, Python, C, C++, R, JavaScript}
     \cvskill
       {Web Technologies:}  
        {HTML5, CSS3, XML, AngularJS, PHP, JSON, Ajax, .Net}
     \cvskill
        {Databases:}  
        {Oracle 12c, SQL, MySQL, MongoDB}
      \cvskill
         {Platforms/Tools:}  
         {Amazon EC2, Docker, Linux, Eclipse, Visual Studio, GIT}
     \end{cvskills}

\cvsection{Skills}
{ % start group for font
% \fontsize{9pt}{1em}\bodyfont
  \fontsize{9pt}{9pt}\bodyfontlight\color{text}
  \begin{multicols}{2}
    \begin{itemize}
        \item item 1 text text text text text text text text text text 
          text text text text text text text text text text text text 
          text text text text text text text text text text 
        \item item 2 text text text text text text text text text text 
        \item item 3 text text text text text text text text text text 
          text text text text text text text text text text text text 
          text text text text text text text text text text 
        \item item 4
        \item item 5
        \item item 6
    \end{itemize}
  \end{multicols}
} % end group

%----------------------------------------------------------------------------------------
\end{document}

您将获得以下结果:

在此处输入图片描述

相关内容