I wrote my CV using moderncv
but the entries (in particular \cventry
) are too compact for me. I tried to change the parskip
but it does not change anything.
Could you tell me how could I increase the spacing between the items?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityAll the \cv...
macros have an optional argument that specifies additional vertical space added after the item.
In the classic theme for example you find:
\renewcommand*{\cvitem}[3][.25em]{%
...
\par\addvspace{#1}}
and \cventry
is defined in terms of \cvitem
:
\renewcommand*{\cventry}[7][.25em]{%
\cvitem[#1]{#2}{%
...
So, to change the spacing of a particular entry you can do for example:
\cventry[2em]{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
In case you want to adjust these spaces globally you can change \parskip
but in order for that to be effective you have to change it after \begin{document}
since moderncv
sets it when the document begins, overriding any previous setting.
To alter the spacing after a specific item use the optional argument as in \cvitem[2em]{...
To alter the spacing globally change \parskip
after \begin{document}
using \setlength{\parskip}{2em}
(obviously 2em
is just an example, change accordingly!)
\setlength{\parskip}{2em}
had to come after \makecvtitle
for me to have an effect.
Mar 2, 2016 at 17:55
\parskip
affects a lot more than just \cventry
spacing. Any way to change it globally but limit it just to the end of \cventry
?
Sep 27, 2021 at 21:08
\cvlistitem
and \cventry
but not for \cvlanguage' nor
\cvline` In those cases a \vspace
command at the end was necessary: '\cvline{}{}\vspace{2ex}` and \cvlanguage{}{}{}\vspace{2ex}
Jul 23, 2022 at 15:31