2

Is there a way to make an enumerated list in moderncv that is formatted similar to \cvlistitem? I tried just using a regular \begin{enumerate} ... \end{enumerate} but then the list is aligned too far to the left rather than being aligned with the section headers as \cvlistitems are.

I saw a lot of other threads here about customizing bullets in moderncv but most or all deal with changing the bullet style; I couldn't find anything about changing the itemize-type list to an enumerate-type list.

Update: Here is an MWE:

\documentclass[10pt,legalpaper,roman]{moderncv}

\moderncvstyle{classic}
\moderncvcolor{blue}

\name{Art}{Vandelay}

\begin{document}

\makecvtitle

\section{Work History}

\cvlistitem {\LaTeX~salesperson}
\cvlistitem {Importer/exporter}

\begin{enumerate}
\item \LaTeX~salesperson
\item Importer/exporter
\end{enumerate}

\end{document}

enter image description here

I would like the enumerated list to be formatted like the bulleted list.

closed as off-topic by Mensch, CarLaTeX, Mico, Zarko, Troy Sep 4 '17 at 0:43

  • 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.

  • Could you post a minimal example code? – Bernard Apr 1 '17 at 0:47
  • 1
    If I understood your question correct than you can use \cvitem{}{% \begin{enumerate} \item \LaTeX~salesperson \item Importer/exporter \end{enumerate}% } – Marco Daniel Apr 1 '17 at 8:42
  • @MarcoDaniel Perfect, didn't realize it was that simple. If you write it up as an answer I'll accept it. – LarrySnyder610 Apr 1 '17 at 13:34
  • One more question -- what's the purpose of the % at the end of two of the lines? – LarrySnyder610 Apr 1 '17 at 13:38
  • 4
    I'm voting to close this question as off-topic because it is solved by comments – Mensch Sep 3 '17 at 19:08
0

I wound up doing the following, hacked from https://tex.stackexchange.com/a/139128/63847:

% customize the enumerate environments (i.e. enumerate, itemize, ...)
\usepackage{enumitem}
\setlist{nolistsep}

% A custom version of the enumerate environment that sets the appropriate left margin 
\newlist{cvenumerate}{enumerate}{1}
\setlist[cvenumerate]{label=\arabic*.,%
leftmargin=\hintscolumnwidth+\separatorcolumnwidth+\labelwidth+\labelsep}

Not the answer you're looking for? Browse other questions tagged or ask your own question.