Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I run pdflatex on the following:

\documentclass[class=minimal,border=0pt]{standalone}
\usepackage{tikz}
\usepackage{varwidth}
\usepackage{upquote}
% \usepackage{enumitem}
\usetikzlibrary{arrows,calc,chains,shapes,scopes}
\renewcommand{\familydefault}{\sfdefault}

\begin{document}
\end{document}

I get no error. However, if I uncomment \usepackage{enumitem} then running pdflatex on the document produces the following error:

! LaTeX Error: Environment description undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.775 \renewenvironment{description}
                                    [1][]
?

Why is this, and what can be done about it?

share|improve this question
add comment

1 Answer 1

up vote 12 down vote accepted

From my comment to a proper answer. :)

With the option class=minimal, you are telling standalone to use minimal as underlying class, which is not a "real" document class and does not have the description environment defined.

You can either use the loadonly option for enumitem which will load the package but the three lists are not redefined, or use the default standalone underlying class, which is article.

share|improve this answer
5  
Related Question: Why not use the minimal class. –  Peter Grill Jul 4 '12 at 17:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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