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.

I tried using a list in LaTeX (pdflatex, specifically) and I found that the second item does not have a bullet point rendered while the first and third (and remaining ones) does. Why is it? Please compile the code below to see what I mean.

\documentclass{article}

\begin{document}
\begin{list}{$\bullet$}
\item A
\item B
\item C
\end{list}
\end{document}
share|improve this question

migrated from stackoverflow.com May 7 '12 at 10:44

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

    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner May 7 '12 at 14:03
add comment

2 Answers 2

The list environment actually takes two mandatory arguments; not just one. The first is the label, while the second are any commands that require execution before entering the actual list. To obtain the correct output, use

\documentclass{article}
\begin{document}    
\begin{list}{\textbullet}{}
  \item A
  \item B
  \item C
\end{list}
\end{document}

or just use the itemize environment. In fact, both enumerate and itemize use list to set up the appropriate list format.

share|improve this answer
add comment

What's wrong with the itemize environment?

\documentclass{article}

\begin{document}

\begin{itemize}
\item A
\item B
\item C
\end{itemize}

\end{document}
share|improve this answer
add comment

Your Answer

 
discard

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