我正在制作精彩简历(从这里下载https://www.overleaf.com/latex/templates/awesome-cv/dfnvtnhzhhbm)。我想删除“语言”和逐项列表之间的空格,使其看起来像这样:
这是我正在使用的代码:
\documentclass[]{awesome-cv}
\usepackage{multicol}
\newenvironment{cvitems*}[1][2]
{\setlength{\multicolsep}{0pt}%
\vspace{-\baselineskip}%
\begin{multicols}{#1}
\begin{cvitems}}
{\end{cvitems}%
\end{multicols}
\vspace{-\baselineskip}\vspace{2mm}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Personal Data
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Essentials
\name{Some}{Name}
\address{An Address, 3245}
\mobile{(+57) 45-45654-434}
%%% Social
\email{[email protected]}
\homepage{www.SomePage.com}
\github{Someone2}
\linkedin{Someone2}
%%% Optionals
\position{My Position}
\quote{``I am me.''}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make a footer for CV with three arguments(<left>, <center>, <right>)
\makecvfooter
{\today}
{My Resume}
{\thepage}
\begin{document}
%%% Make a header for CV with personal data
\makecvheader
\cvsection{Skills}
\begin{cventries}
\cventry
{} % Job title
{Languages} % Organization
{} % Location
{} % Date(s)
{ % Description(s) of tasks/responsibilities
\begin{cvitems*}[4]
\item \textbf{Spanish}
\item \textbf{German}
\item \textbf{Italian}:
\item \textbf{French}:
\color{white}\item \textbf{smh}:
\item item 6
\end{cvitems*}
}
\end{cventries}
\color{black}
\begin{cventries}
\cventry
{} % Job title
{Programming} % Organization
{} % Location
{} % Date(s)
{ % Description(s) of tasks/responsibilities
\begin{cvitems*}[4]
\item \textbf{Languages}: Python \LaTeX
\color{white}
\item
\item
\item
\item
\item item 6 with words describing it
\end{cvitems*}
}
\end{cventries}
预先感谢您的帮助;
答案1
对于未来的任何人来说,使用\vspace{-2\baselineskip}%
并不能完全解决问题。这是输出:
我能做的最好的就是这个代码:
\documentclass[]{awesome-cv}
\usepackage{multicol}
\newenvironment{cvitems*}[1][2]
{\setlength{\multicolsep}{0pt}%
\vspace{-2\baselineskip}%
\begin{multicols}{#1}
\begin{cvitems}}
{\end{cvitems}%
\end{multicols}
\vspace{+0\baselineskip}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Personal Data
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Essentials
\name{Some}{Name}
\address{An Address, 3245}
\mobile{(+57) 45-45654-434}
%%% Social
\email{[email protected]}
\homepage{www.SomePage.com}
\github{Someone2}
\linkedin{Someone2}
%%% Optionals
\position{My Position}
\quote{``I am me.''}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make a footer for CV with three arguments(<left>, <center>, <right>)
\makecvfooter
{\today}
{My Resume}
{\thepage}
\begin{document}
%%% Make a header for CV with personal data
\makecvheader
\cvsection{Skills}
\begin{cventries}
\cventry
{} % Job title
{Languages} % Organization
{} % Location
{} % Date(s)
{ % Description(s) of tasks/responsibilities
\begin{cvitems*}[2]
\item \textbf{Spanish}
\item \textbf{German}
\item \textbf{Italian}
\item \textbf{French}
\end{cvitems*}
}
\end{cventries}
\color{black}
\begin{cventries}
\cventry
{} % Job title
{Programming} % Organization
{} % Location
{} % Date(s)
{ % Description(s) of tasks/responsibilities
\begin{cvitems*}[4]
\item \textbf{Languages}: Python \LaTeX
\end{cvitems*}
}
\end{cventries}
输出如下:
希望能帮助到你。