我遇到了以下问题:我正在使用 currVitae 包编写我的简历。我想增加单个“位置”(cvlist)之间的距离。到目前为止,我使用 \vspace{2ex} 手动完成此操作。currvita 包中是否有一个选项可以自动为所有 cvlist 设置距离?
下面我举一个例子:
\documentclass[a4paper,12pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[NoDate]{currvita}
\usepackage{graphicx}
\usepackage{picins}
\usepackage{charter}
\begin{document}
\setlength{\cvlabelwidth}{4cm}
\pagenumbering{gobble}
\begin{cv}{CV}
\begin{cvlist}{Personal Date}
\item[Name] Boss
\item[Prename] Hugo
\item[Birthday] 1.1.1111
\end{cvlist}
% here i want an automated solution %
\vspace{2ex}
\begin{cvlist}{Working Experience}
\item[08/2013 - heute]Sell sausages
\begin{itemize}
\setlength{\parskip}{1pt}
\item[-] buy sausages
\item[-] make sausages
\end{itemize}
\item[04/2013 - 08/2013] Sell Drinks
\begin{itemize}
\setlength{\parskip}{1pt}
\item[-] buy ingredients
\item[-] shake cocktails
\end{itemize}
\end{cvlist}
\end{cv}
\end{document}
感谢您的帮助,
乔吉
答案1
在处添加间距\endcvlist
;我夸大了间距只是为了显示效果。
请注意,您必须添加超过 baselineskip (约 2ex) 的值,所以\addvspace{4ex}
应该这样做。这是因为\endcvlist
已经添加了\topsep
,而包将其设置为\baselineskip
。
\documentclass[a4paper,12pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[NoDate]{currvita}
\usepackage{graphicx}
%\usepackage{picins}
\usepackage{charter}
\usepackage{etoolbox}
\appto\endcvlist{\par\addvspace{20ex}}% <------ fix here!
\begin{document}
\setlength{\cvlabelwidth}{4cm}
%\pagenumbering{gobble}
\pagestyle{empty} % Better!
\begin{cv}{CV}
\begin{cvlist}{Personal Date}
\item[Name] Boss
\item[Prename] Hugo
\item[Birthday] 1.1.1111
\end{cvlist}
\begin{cvlist}{Working Experience}
\item[08/2013 - heute]Sell sausages
\begin{itemize}
\item[-] buy sausages
\item[-] make sausages
\end{itemize}
\item[04/2013 - 08/2013] Sell Drinks
\begin{itemize}
\item[-] buy ingredients
\item[-] shake cocktails
\end{itemize}
\end{cvlist}
\end{cv}
\end{document}