I have the following code, which runs and formats nicely.
\documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{classicthesis} \usepackage[english]{babel} \usepackage{mathtools} \usepackage{enumitem} \begin{document} \section*{Examples} For each function $f$ given, \begin{enumerate} \begin{enumerate} \item Sketch the graph of $f.$ \item Write the open intervals for which $f$ is continuous. \item Write the open intervals for which $f$ is increasing. \item Write the open intervals for which $f$ is decreasing. \item Write the open intervals for which $f$ is concave up. \item Write the open intervals for which $f$ is concave down. \end{enumerate} \item $f(x)=x^3-x^2-x+1.$ \item $f(x)=\dfrac{x^2-2x+2}{x-1}.$ \item $f(x)=x\sqrt{3-x}.$ \item $f(x)=\dfrac{x^3}{36}\sqrt{7-x}.$ \end{enumerate} \end{document} But it gives a missing \item error. The result,
How should I edit the code to avoid the error, yet keep the same format and output?



xypackage. Now, commenting that out, the remaining issue is, thatenumerateexpects an\item, not another\begin{enumerate}lmodernis certainly unnecessary as it will have no effect at all on your document.mathtoolsloadsamsmathanyway. Betterxcolorthancolor. Also, it would be better to usescrbookwithclassicthesis. It would also be better not to useclassicthesis, but that's a different issue. Finally,tabucannot be recommended if you hope your document will remain compilable in the future as the author has promised backwards incompatible changes. Once that happens, documents which use it will break.appendixnecessary here? Orhyperref? You don't really need anything except the document class andenumitem, do you?