I have done this before but for some reason it's not working in my current file.
\begin{description}[largest]
\item[small] Foo
\item[largest] Foobar
\end{description}
This above code give the error
package enumitem error: largest undefined
I have done this before but for some reason it's not working in my current file.
\begin{description}[largest]
\item[small] Foo
\item[largest] Foobar
\end{description}
This above code give the error
package enumitem error: largest undefined
You perhaps want
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{description}[widest=largest,itemindent=*,align=left]
\item[small] Foo
\item[largest] Foobar
\end{description}
\end{document}
Fixed. I had imported the enumitem package. It works fine without that.
description does not have an optional argument so [largest] would be an error. This does not seem to answer the question asked.
– David Carlisle
Apr 02 '19 at 16:10
ris missing in\end{description}. Plus you have to post MWE, mimimal working examples. – Denis Apr 02 '19 at 15:52\documentclass{...}and ending with\end{document}. – samcarter_is_at_topanswers.xyz Apr 02 '19 at 16:08