1

I'm a beginner.

I tried to write my CV in LaTeX and I downloaded the template from LaTeX Templates.

I used the \cvitem command but I got a problem. The margin seems too short to show all worlds in one line.

It should like this (This picture is from website):

enter image description here

But it looks like this:

enter image description here

How can I solve this problem? Should I change the moderncv template?

This is my code.

\cvitem{Date of Birth}{}
\cvitem{Place of Birth}{}
\cvitem{Gender}{Male}
\cvitem{Military Service}{}
\cvitem{Marital Status}{}

Thanks for your help.

Ludovic C.
  • 8,888
Ting
  • 13

1 Answers1

1

Okay, I think I figured out the issue. In the preamble of your document, you can add \setlength{\hintscolumnwidth}{3.5cm}. This will change the width of the column that contains the first entry of the \cventry command. Setting it to 3.5cm should give you something like picture 1, but you can of course adjust it as needed.

Adam Liter
  • 12,567