Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
add comment

migrated from stackoverflow.com Nov 29 '11 at 0:24

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 19 down vote accepted

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

share|improve this answer
add comment

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}
share|improve this answer
    
+1 for mentioning enumitem. –  mbork Mar 24 '12 at 18:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.