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.

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

\begin{itemize}
\item a
\item b
\end{itemize}
share|improve this question
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
add comment

2 Answers

up vote 6 down vote accepted

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}
share|improve this answer
    
I try that. Yes, nesting. –  user29701 May 3 '13 at 22:54
    
I'd better give you +1 as well for making the right guess:-) –  David Carlisle May 3 '13 at 23:01
    
@DavidCarlisle Thanks for +1. :-) –  mnemonic May 3 '13 at 23:05
    
That works ........... but I cannot vote up. Tnx –  user29701 May 3 '13 at 23:07
add comment

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}
share|improve this answer
    
cool. have never seen that :-) –  mnemonic May 3 '13 at 22:52
    
I did not mean that. –  user29701 May 3 '13 at 22:53
2  
+1 for a reasonable guess at what the question meant:-) –  David Carlisle May 3 '13 at 22:54
    
@user29701: Can you be more specific then? –  Kevin C 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
show 2 more comments

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.