-3

Is it possible to combine these environments? Now I have this code.

\begin{itemize}
\item a
\item b
\end{itemize}
  • 1
    What do you mean by combine? You can nest them. – Sigur May 3 '13 at 22:48
  • 1
    Combine in what way? Please make a complete document that shows the problem. You can nest enumerate in itemize, or itemize in enumerate or do you mean some other combination? – David Carlisle May 3 '13 at 22:48
  • Nesting these environments – user29701 May 3 '13 at 22:56
  • @user29701, I suggest you to read the documentation of the enumerate package, which provides many ways to set up your lists. – Sigur May 3 '13 at 22:58
  • @Sigur beamer does its own stuff with the standard lists, so packages like enumerate or enumitem won't preserve the beamer way of doing things. – Gonzalo Medina May 4 '13 at 2:50
11

nesting? if yes, then:

\begin{itemize}
\item a
\item b
   \begin{enumerate} 
   \item b 1 
   \item b 2 
   \item b 3 
   \end{enumerate}
\end{itemize}
9

You can pass options to each \item:

enter image description here

\documentclass{beamer}

\begin{document}

\frame{
\begin{itemize}
\item[1.] a
\item b
\end{itemize}
}

\end{document}
  • cool. have never seen that :-) – mnemonic May 3 '13 at 22:52
  • I did not mean that. – user29701 May 3 '13 at 22:53
  • @user29701: Can you be more specific then? – Herr K. May 3 '13 at 22:54
  • @user29701 how can anyone know what you do mean from a single word "combine" ? Please edit the question. – David Carlisle May 3 '13 at 22:55
  • @DavidCarlisle: Thanks for the upvote :) Apparently the OP was looking for nesting the two environments. – Herr K. May 3 '13 at 22:57

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