67

When creating a nested itemize environment in LaTeX as follows:

\begin{itemize} 
\item one \dots{}
     \begin{itemize} 
        \item Language Models
        \item Vector Space Models
     \end{itemize}
\item two \dots{}
\item three \dots{}
\end{itemize}

I have tried to change the inner item characters by adding the following line after line 3

\renewcommand{\labelitemi}{$\star$}

Nothing changes!

However, if it is only one "not nested", it works just fine as in the following:

\begin{itemize} 
\renewcommand{\labelitemi}{$\star$}
\item one \dots{}
\item two \dots{}
\item three \dots{}
\end{itemize}

Many thanks in advance.

0

2 Answers 2

75

Without any package, the correct command to be redefined is \labelitemii (note the second i).

\documentclass{article}

\renewcommand{\labelitemii}{$\star$}

\begin{document}

\begin{itemize} 
\item one \dots{}
     \begin{itemize} 
        \item Language Models
        \item Vector Space Models
     \end{itemize}
\item two \dots{}
\item three \dots{}
\end{itemize}

\end{document}

enter image description here

3
  • 3
    Stating the obvious : the number of i denotes the item level. i = first level, ii = second level, etc. Dec 12, 2017 at 9:10
  • 1
    Not "etc." unfortunately - it seems to stop at iii. No iiii: ! LaTeX Error: \labelitemiiii undefined. :-/
    – Sixtyfive
    Jan 4, 2020 at 16:48
  • 4
    \labelitemiv is what you're looking for - ie, using roman numerals
    – Chris Swan
    Aug 22, 2021 at 0:33
51

If you use the enumitem package you can easily reset the label via [label=$\star$] option.

If this is the default behavior you want for nested lists you can use \setlist[itemize,2]{label={$\star$}} to automatically set the 2nd level itemize lists to use the \star.

enter image description here

\documentclass{article}
\usepackage{enumitem}

\begin{document}
\begin{itemize} 
\item one \dots{}
     \begin{itemize}[label=$\star$]
        \item Language Models
        \item Vector Space Models
     \end{itemize}
\item two \dots{}
\item three \dots{}
\end{itemize}
\end{document}
3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .