8

I'm using modercv class with casual style.

At the end there is the preview of 1st page. Note the Education section. It contains date and description and it is produced with the command

\cventry{2011--2012}{Masters of Commerce}{The University of California}{Berkeley}{\textit{GPA -- 8.0}}{First Class Honours}

By the other hand if we insert longer date (e.g. {12/2011--12/2012}) it does not fit in a single line, as we can see:

enter image description here

So I decided to edit the cls and increase a little bit the space reserved for the date. But I'm not able to do this. I can not understand the definition of the command \cventry:

% makes a typical resume job / education entry
% usage: \cventry[spacing]{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description}
\newcommand*{\cventry}[7][.25em]{}

If I'm not wrong, \cventry has 7 arguments and the 1st is optional with default value .25em and the others are textual.

So why the year is typeset as in a tabular, I mean, it has fixed width.

I also checked moderncvstylecasual.sty but no mention to that command.


enter image description here

closed as off-topic by Mensch, barbara beeton, Maarten Dhondt, John Kormylo, user13907 Mar 5 '16 at 23:48

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    You have to adjust \hintscolumnwidth with \setlength :) – user11232 Aug 29 '15 at 9:57
  • In most styles the first column is a p-column in a tabular. The exact location of the definition depends on the style and the moderncv version. In the newest version you find them in the moderncvbodyXXX.sty. – Ulrike Fischer Aug 29 '15 at 10:03
  • @HarishKumar, what a shame! It is written %\setlength{\hintscolumnwidth}{3cm} % Uncomment to change the width of the dates column. But I din't see where this command is used in the cls or sty files. Now, after your comment I found it in moderncvcompatibility.sty. – Sigur Aug 29 '15 at 10:05
  • 1
  • 4
    I'm voting to close this question as off-topic because it is solved by comments. – Mensch Mar 5 '16 at 21:50

Browse other questions tagged or ask your own question.