Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Something's wrong, perhaps a missing \item" error when using itemize

Tags:

list

latex

I'm trying to make list using itemize, and I honestly can't see whats wrong with this. I'm sure I'm just missing something small.

\documentclass{article}
\author{}
\title{Essay research}
\begin{document}
\maketitle{}
\section{Alternative fuel sources}
Thorium based nuclear power stations offer advantages over classic uranium based ones:
\begin{itemize}:
\item Thorium-232 is much more abundant than Uranium-235
\end{itemize}
\end{document}

I get the following error thrown back:

./Essay notes.tex:9: LaTeX Error: Something's wrong--perhaps a missing \item. [ \item T]
 ./Essay notes.tex:9: LaTeX Error: Something's wrong--perhaps a missing \item. [ \item T]
 ./Essay notes.tex:9: LaTeX Error: Something's wrong--perhaps a missing \item. [ \item T]
 ./Essay notes.tex:10: LaTeX Error: Something's wrong--perhaps a missing \item. [\end{itemize}]
like image 465
Tom Avatar asked Jan 08 '23 17:01

Tom


2 Answers

In my case, I was trying to apply [noitemsep] to a list, but I haven't imported the enumitem package.

like image 182
Paul Razvan Berg Avatar answered Jan 31 '23 11:01

Paul Razvan Berg


You have got a ":" after \begin{itemize}.

Anything enclosed between \begin{itemize} and \end{itemize} must be after \item.

like image 34
Paweł Mach Avatar answered Jan 31 '23 10:01

Paweł Mach