Text Formattingbeamer class | enumeration symbols and \alph

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Farmercy
Posts: 3
Joined: Sun Jun 05, 2011 10:22 pm

beamer class | enumeration symbols and \alph

Post by Farmercy »

hi, i know you can turn the numbers in enumerations to letters with

Code: Select all

\setbeamertemplate{enumerate subitem}{\alph{enumii}}
and i am using a beamertheme which has

Code: Select all

\setbeamertemplate{items}[square]
set, but how do i get both to work together? The first seems to be overriding the second.

Code: Select all

\setbeamertemplate{enumerate subitem}[square]{\alph{enumii}}
and

Code: Select all

\setbeamertemplate{enumerate subitem}{\alph{enumii}}[square]
does not work. Any help would be appreciated!
Last edited by Farmercy on Mon Jun 06, 2011 10:33 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

beamer class | enumeration symbols and \alph

Post by magicmoose »

Hi there,

Try and create a minimal working example for your problem and upload so others can see your problem. Also tell us what behaviour you want. The more information you give, the easier it is to answer questions!

David
Farmercy
Posts: 3
Joined: Sun Jun 05, 2011 10:22 pm

beamer class | enumeration symbols and \alph

Post by Farmercy »

Code: Select all

\documentclass[]{beamer}

\setbeamertemplate{items}[square]

\begin{document}

\frame{	
	\begin{enumerate}
		\item 1
		\begin{enumerate}
			\item A
			\item B
			\item C
			\item D
		\end{enumerate}
	\end{enumerate}
}

\end{document}
Thats the whole thing, and now i would like the numbers in the subenumerate to be letters and still to be in the blue quares.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

beamer class | enumeration symbols and \alph

Post by Stefan Kottwitz »

Hi,

redefining \theenumii after \begin{document} works:

Code: Select all

\documentclass[]{beamer}
\setbeamertemplate{items}[square]
\begin{document}
\renewcommand*{\theenumii}{\Alph{enumii}}
\frame{   
   \begin{enumerate}
      \item 1
      \begin{enumerate}
         \item A
         \item B
         \item C
         \item D
      \end{enumerate}
   \end{enumerate}
}
\end{document}
Stefan
LaTeX.org admin
Farmercy
Posts: 3
Joined: Sun Jun 05, 2011 10:22 pm

Re: beamer class | enumeration symbols and \alph

Post by Farmercy »

Thank you very much!
Post Reply