I want to achieve this simple list via overleaf.
1. xxx
2. xxx
3. xxx
(a) First line,
(b) xxxxx
(c) xxxx
4. xxx
And below is my code now, I am new in latex. I stuck here and don't know how to fix the problem.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\title{Computer Security HW1}
\author{Student Name: Chen-I Chang }
\date{09/13 2018}
\begin{document}
\maketitle
\section{}
\section{}
\section{}
\begin{enumerate}[(a)]
\item an apple
\item a banana
\item a carrot
\item a durian
\end{enumerate}
\section{}
\end{document}
The console threw the error.
something wrong perhaps missing item

\begin{enumerate}[(a)]is not defined in standard LaTeX. – Bernard Sep 09 '18 at 19:40\begin{enumerate}[label=(\Alph*)], refer to this answer https://tex.stackexchange.com/questions/129951/enumerate-tag-using-the-alphabet-instead-of-numbers – rj487 Sep 09 '18 at 19:46\usepackage{enumitem}. This is what @Bernard says – koleygr Sep 09 '18 at 19:54