1

I am using the modern CV package to create a CV in Latex. Unfortunately I am in a bit of a rush, so couldn't create a MWE, but hopefully one eagle-eyed user can identify where I've gone wrong!

I just have two errors with my code. I'm just trying to insert bullet points into CV. Using a previous answer, I inserted the code but it is not working:

\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}
\begin{itemize}[label=\textbullet]
\item{\textbf{Statistics}:}Prepared tutorials, marked tests and projects and participating in computer lab sessions.
\item{\textbf{Economics}}: Ensured timely upload of documents and other administrative duties
\end{itemize}

Secondly, the following code won't run, and I have no idea why, especially since the section below it (the Computer Skills section) works...

\section{Awards}
\cvline{UCT Masters Research Scholarship}{2013 - 2014}
\cvline{Commerce Faculty Merit Scholarship} {2010 - 2012}
\cvline{Dean's Merit List (obtaining an aggregate of over 70%)} {2009 - 2012} 

\section{Computer skills}
\cvline{Intermediate}{\small Stata, \LaTeX}
\cvline{Expert}{\small Word, Excel, Powerpoint}
3
  • 1
    Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    Feb 15, 2015 at 17:16
  • 70%)} {2009 - 2012} ... % is the comment character Feb 15, 2015 at 17:24
  • Please indicate in the title of your question what your question is about, beyond just mentioning that you have questions about the moderncv package.
    – Sverre
    Feb 15, 2015 at 20:46

1 Answer 1

5

You have two errors.

  1. In the line

    \cvline{Dean's Merit List (obtaining an aggregate of over 70%)} {2009 - 2012}
    

    replace % with \%

  2. \cventry has six arguments and you are giving it only five. So write

    \cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}{}
    

    instead of

    \cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}
    

MWE:

\documentclass[11pt,a4paper,sans]{moderncv}

\usepackage{enumitem}

\moderncvstyle{casual}
\moderncvcolor{blue}

\name{John}{Doe}

\begin{document}

\section{Awards}
\cvline{UCT Masters Research Scholarship}{2013 - 2014}
\cvline{Commerce Faculty Merit Scholarship} {2010 - 2012}
\cvline{Dean's Merit List (obtaining an aggregate of over 70\%)} {2009 - 2012}

\section{Computer skills}
\cvline{Intermediate}{\small Stata, \LaTeX}
\cvline{Expert}{\small Word, Excel, Powerpoint}

\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}{}
\begin{itemize}[label=\textbullet]
\item{\textbf{Statistics}:}Prepared tutorials, marked tests and projects and participating in computer lab sessions.
\item{\textbf{Economics}}: Ensured timely upload of documents and other administrative duties
\end{itemize}

\end{document} 

enter image description here


EDIT (per OP's comment)

If you want to align the itemize items with the entries above them, add the following option to your itemize:

leftmargin=\hintscolumnwidth+\separatorcolumnwidth

\hintscolumnwidth is the width of the first column of a \cventry and \separatorcolumnwidth is the separator width. Note that this can be done this way (without \dimexpr) because moderncv loads calc.

MWE:

\documentclass[11pt,a4paper,sans]{moderncv}

\usepackage{enumitem}

\moderncvstyle{casual}
\moderncvcolor{blue}

\name{John}{Doe}

\begin{document}

\section{Awards}
\cvline{UCT Masters Research Scholarship}{2013 - 2014}
\cvline{Commerce Faculty Merit Scholarship} {2010 - 2012}
\cvline{Dean's Merit List (obtaining an aggregate of over 70\%)} {2009 - 2012}

\section{Computer skills}
\cvline{Intermediate}{\small Stata, \LaTeX}
\cvline{Expert}{\small Word, Excel, Powerpoint}

\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}{}
\begin{itemize}[label=\textbullet,leftmargin=\hintscolumnwidth+\separatorcolumnwidth]
\item{\textbf{Statistics}:}Prepared tutorials, marked tests and projects and participating in computer lab sessions.
\item{\textbf{Economics}}: Ensured timely upload of documents and other administrative duties
\end{itemize}

\end{document} 

Output:

enter image description here

7
  • Hi, thanks for this. The \cventry is still giving me an error "Something's wrong - perhaps a missing \item". I copied and pasted your code exactly. I really can't see a "missing" item. Feb 16, 2015 at 16:13
  • @Chris Try deleting auxiliary files like .aux, .bbl. Also, what version of moderncv do you have? Mine is v1.5.1 Feb 16, 2015 at 16:37
  • How do I check which version I have? Feb 16, 2015 at 17:41
  • Look in the .log file. One of the first lines should contain Document Class: moderncv...... Feb 16, 2015 at 17:44
  • 1
    I don't know then. Anyway I'm here if you need more help. Feb 16, 2015 at 17:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .