"Something's wrong, perhaps a missing \item" 使用 itemize 时出错
"Something's wrong, perhaps a missing \item" error when using itemize
我正在尝试使用 itemize 制作列表,老实说,我看不出这有什么问题。我确定我只是遗漏了一些小东西。
\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}
我收到以下错误:
./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}]
您在 \begin{itemize}
之后有一个“:”。
\begin{itemize}
和 \end{itemize}
之间的任何内容都必须在 \item
.
之后
在我的例子中,这是在 BibTex BBL 文件的上下文中,经检查是空的。
显然,Overleaf 将 .bib 文件的名称报告为 Mendeley.bib
并且我包含了 \bibliography{Mendeley}
,但文件没有找到。
解决方案: 我将 .bib 文件重命名为全部小写并更新了 \bibliography
条目以匹配并且一切都按预期工作。
就我而言,我试图将 [noitemsep]
应用于列表,但我还没有导入 enumitem
包。
在我的例子中,我删除了文件 'root.bib' 中的所有内容并保存并编译了 LaTex。
它对我有用。
我正在尝试使用 itemize 制作列表,老实说,我看不出这有什么问题。我确定我只是遗漏了一些小东西。
\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}
我收到以下错误:
./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}]
您在 \begin{itemize}
之后有一个“:”。
\begin{itemize}
和 \end{itemize}
之间的任何内容都必须在 \item
.
在我的例子中,这是在 BibTex BBL 文件的上下文中,经检查是空的。
显然,Overleaf 将 .bib 文件的名称报告为 Mendeley.bib
并且我包含了 \bibliography{Mendeley}
,但文件没有找到。
解决方案: 我将 .bib 文件重命名为全部小写并更新了 \bibliography
条目以匹配并且一切都按预期工作。
就我而言,我试图将 [noitemsep]
应用于列表,但我还没有导入 enumitem
包。
在我的例子中,我删除了文件 'root.bib' 中的所有内容并保存并编译了 LaTex。 它对我有用。