Document Classesmoderncv | Item Labels undefined

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
StarKid
Posts: 21
Joined: Thu May 26, 2011 8:47 pm

moderncv | Item Labels undefined

Post by StarKid »

I'm processing with PDFLaTeX. I get an error saying \labelitemi is undefined when I use the moderncv document class. MWE:

Code: Select all

\documentclass[12pt]{moderncv}
\usepackage{pifont}
\usepackage{paralist}

\firstname{Monty}
\familyname{Python}
\begin{document}
\begin{compactitem}
\renewcommand{\labelitemi}{\ding{51}}
\item something
\end{compactitem}
\end{document}
The same code works fine with the article class:

Code: Select all

\documentclass[12pt]{article}
\usepackage{pifont}
\usepackage{paralist}
\begin{document}
\begin{compactitem}
\renewcommand{\labelitemi}{\ding{51}}
\item something
\end{compactitem}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

moderncv | Item Labels undefined

Post by localghost »

The moderncv class has its own definitions of such lists. Unfortunately there isn't yet a documentation available. So you have to look at either the source of the class (*.cls) or the examples.

I suggest that you present a short sample document with the list you want to have and we will try together to incorporate the item label that you want to have.


Thorsten
Post Reply