Text FormattingOverleaf keeps sending errors saying perhaps a missing \item

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
itsphilip
Posts: 3
Joined: Wed Feb 21, 2024 10:51 am

Overleaf keeps sending errors saying perhaps a missing \item

Post by itsphilip »

Hello friends from the community,

I have a question about my code on Overleaf and wonder if there is anyone is able to answer? I am using resume.cls template for my resume. When I output the following code, it keeps saying that perhaps a missing \item.
I am not sure what went wrong in my code. It says the following:
There are no entries found in a list you have created. Make sure you label list entries using the \item command, and that you have not used a list inside a table.
I'm sure there are entries put in a list, but not sure why it says there are no entries found.

Code: Select all

Code, edit and compile here:
\begin{rSubsection}{The Chinese University of Hong Kong}{April 2023 - Present}{Research Assistant(Full-time)}{Hong Kong SAR}
\begin{minipage}{\linewidth}
Additional text goes here.
\begin{itemize}
\item Monitored and ensured the teaching and learning quality of University Chinese through the collection, processing, analysis, and visualization of learning data.
\item Prepared and presented annual reports to the Senate Committee on Teaching and Learning to facilitate the review and decision-making process.
\item Liaised with internal units, departments, and external stakeholders to maintain relationships and foster future collaborations.
\item Performed administrative duties to support the development of the monitoring project and assisted in organizing academic events within and beyond the university.
\end{itemize}
\end{minipage}
\end{rSubsection}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Really appreciate your help. Thank you!
Last edited by itsphilip on Wed Feb 21, 2024 4:55 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Overleaf keeps sending errors saying perhaps a missing \item

Post by Stefan Kottwitz »

Welcome to the forum!

\end{rSection} is missing here. The itemize code is ok.

Stefan
LaTeX.org admin
itsphilip
Posts: 3
Joined: Wed Feb 21, 2024 10:51 am

Overleaf keeps sending errors saying perhaps a missing \item

Post by itsphilip »

Stefan Kottwitz wrote:Welcome to the forum!

\end{rSection} is missing here. The itemize code is ok.

Stefan
Thank you for your reply. There was a mistake I made previously. There should not be \begin{rSection}. Could you kindly check the code again? When I run it, there is still an error saying "perhaps a missing item\ "

Thank you for your time and help!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Overleaf keeps sending errors saying perhaps a missing \item

Post by Stefan Kottwitz »

If you also remove rSubsection, it works. Click on "Run LaTeX here":

Code: Select all

Code, edit and compile here:
\begin{minipage}{\linewidth}
Additional text goes here.
\begin{itemize}
\item Monitored and ensured the teaching and learning quality of University Chinese through the collection, processing, analysis, and visualization of learning data.
\item Prepared and presented annual reports to the Senate Committee on Teaching and Learning to facilitate the review and decision-making process.
\item Liaised with internal units, departments, and external stakeholders to maintain relationships and foster future collaborations.
\item Performed administrative duties to support the development of the monitoring project and assisted in organizing academic events within and beyond the university.
\end{itemize}
\end{minipage}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
So the issue is with rSubsection or the document class or the preamble. You could post a Infominimal working example here that shows the error when we compile it.

Stefan
LaTeX.org admin
itsphilip
Posts: 3
Joined: Wed Feb 21, 2024 10:51 am

Overleaf keeps sending errors saying perhaps a missing \item

Post by itsphilip »

Stefan Kottwitz wrote:If you also remove rSubsection, it works. Click on "Run LaTeX here":

Code: Select all

Code, edit and compile here:
\begin{minipage}{\linewidth}
Additional text goes here.
\begin{itemize}
\item Monitored and ensured the teaching and learning quality of University Chinese through the collection, processing, analysis, and visualization of learning data.
\item Prepared and presented annual reports to the Senate Committee on Teaching and Learning to facilitate the review and decision-making process.
\item Liaised with internal units, departments, and external stakeholders to maintain relationships and foster future collaborations.
\item Performed administrative duties to support the development of the monitoring project and assisted in organizing academic events within and beyond the university.
\end{itemize}
\end{minipage}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
So the issue is with rSubsection or the document class or the preamble. You could post a Infominimal working example here that shows the error when we compile it.

Stefan
Stefan, thank you for your suggestion. Here's the document class.

Code: Select all

Code, edit and compile here:
\documentclass[11pt
%a4paper, % Uncomment for A4 paper size (default is US letter)
%11pt, % Default font size, can use 10pt, 11pt or 12pt
]{resume} % Use the resume class
\usepackage{charter} % Use the EB Garamond font
\begin{rSection}{Work Experience}
%------------------------------------------------
\begin{rSubsection}{The Chinese University of Hong Kong}{April 2023 - Present}{Research Assistant(Full-time)}{Hong Kong SAR}
\begin{minipage}{\linewidth}
Additional text goes here.
\begin{itemize}
\item Monitored and ensured the teaching and learning quality of University Chinese through the collection, processing, analysis, and visualization of learning data.
\item Prepared and presented annual reports to the Senate Committee on Teaching and Learning to facilitate the review and decision-making process.
\item Liaised with internal units, departments, and external stakeholders to maintain relationships and foster future collaborations.
\item Performed administrative duties to support the development of the monitoring project and assisted in organizing academic events within and beyond the university.
\end{itemize}
\end{minipage}
\end{rSubsection}
\end{rSection}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Also, I am providing the section formatting for your further reference.

Code: Select all

%----------------------------------------------------------------------------------------
% SECTION FORMATTING
%----------------------------------------------------------------------------------------
% Defines the rSection environment for the major sections within the CV
\newenvironment{rSection}[1]{ % The single parameter is for the section title
\medskip % Vertical whitespace
\MakeUppercase{\textbf{#1}} % Section title
\medskip % Vertical whitespace
\hrule % Horizontal rule
\begin{list}{}{ % List to indent the entire content of the section
\setlength{\leftmargin}{1.5em} % Indent to the left of the list
}
\item[] % Empty list item to enable indentation
}{
\end{list}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Thank you!!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Overleaf keeps sending errors saying perhaps a missing \item

Post by Stefan Kottwitz »

Did you click the link I posted above? If not, please click: Infominimal working example

Here's why:
It may seem that all this work is rather excessive for preparing a simple post. There are two responses to that, both based on the relative inefficiency of asking a question on the internet.

First, preparing a minimum document very often leads you to the answer, without all the fuss of posting and looking for responses.

Second, your prime aim is to get an answer as quickly as possible; a well-prepared example stands a good chance of attracting an answer “in a single pass”: if the person replying to your post finds she needs more information, you have to find that request, post again, and wait for your benefactor to produce a second response.

All things considered, a good example file can save you a day, for perhaps half an hour’s effort invested.
I don't have the information needed: unknown document class (it's not on CTAN or TeXlive/MiKTeX) - only a small snippet of it, also only a small section of your document, nothing compilable, and what you posted that doesn't have that error when I take the effort to build a document around it.

Ok, I searched and find a resume.cls on Github, uploaded it to the TeXlive.net online compiler, so it can be used here. Though your version may be different, you can verify with the Github link. I built a document from your code snippets:

Code: Select all

Code, edit and compile here:
\documentclass[11pt
%a4paper, % Uncomment for A4 paper size (default is US letter)
%11pt, % Default font size, can use 10pt, 11pt or 12pt
]{resume} % Use the resume class
\usepackage{charter} % Use the EB Garamond font
\begin{document}
\begin{rSection}{Work Experience}
%------------------------------------------------
\begin{rSubsection}{The Chinese University of Hong Kong}{April 2023 - Present}{Research Assistant(Full-time)}{Hong Kong SAR}
\begin{minipage}{\linewidth}
Additional text goes here.
\begin{itemize}
\item Monitored and ensured the teaching and learning quality of University Chinese through the collection, processing, analysis, and visualization of learning data.
\item Prepared and presented annual reports to the Senate Committee on Teaching and Learning to facilitate the review and decision-making process.
\item Liaised with internal units, departments, and external stakeholders to maintain relationships and foster future collaborations.
\item Performed administrative duties to support the development of the monitoring project and assisted in organizing academic events within and beyond the university.
\end{itemize}
\end{minipage}
\end{rSubsection}
\end{rSection}
\end{document}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Click on "Run LaTeX here", and you can see that it compiles without error. Now, the cause of the problem is with the rest of your document, with Overleaf, or your resume.cls.

Perhaps make a clone of your project (and remove private data), but ensure it has the error, make it public, and share the link here. Or post your code here like I did, a small compilable document where I can click "Run LaTeX here", and it compiles with that error.

Stefan
LaTeX.org admin
Post Reply