6

I'm using beamer with 14pt and when I use enumerate or itemize it doesn't look just right:

itemize example

I'd like to have:

  • The squares slightly larger
  • The squares centered vertically

I have tried to play around with:

\setbeamertemplate{enumerate item}
{%
  \hbox{%
    \usebeamerfont*{item projected}%
    \usebeamercolor[bg]{item projected}%
    \vrule width3.25ex height3.85ex depth.4ex%
    \hskip-3.25ex%
    \hbox to3.25ex{%
      \hfil%
      \color{fg}\insertenumlabel%
      \hfil}%
  }%
}

which does make the bullet larger but how could I make the \insertnumlabel larger? And how would I center it?

  • 3
    Why not: \setbeamertemplate{enumerate item} {\usebeamercolor[bg]{item projected}\colorbox{bg}{\color{fg}\insertenumlabel}}? – Werner Sep 29 '13 at 2:20
  • That looks good. I settled for \footnotesize\insertnumlabel, the default was too large for my taste. Though, it still doesn't look picture perfect since the box still is too low: i.imgur.com/1GeBPc8.png – ClojureMostly Sep 29 '13 at 2:45
  • Could you create a minimal working example (MWE) rather than just code snippets? – Werner Sep 29 '13 at 3:19
  • Sorry about that: writelatex.com/read/kmxtpyrrjzmh – ClojureMostly Sep 29 '13 at 3:39
  • 1
    Try \setbeamertemplate{enumerate item} {\usebeamercolor[bg]{item projected}\raisebox{1.5pt}{\colorbox{bg}{\color{fg}\footnotesize\insertenumlabel}}}. – karlkoeller Sep 29 '13 at 6:09
11

(Since half of the answer comes from Werner's comment I made it CW).

Use

\setbeamertemplate{enumerate item}{%
  \usebeamercolor[bg]{item projected}%
  \raisebox{1.5pt}{\colorbox{bg}{\color{fg}\footnotesize\insertenumlabel}}%
}

Complete MWE

\documentclass[14pt]{beamer}
\useinnertheme{rectangles}
\title{Your Presentation}

\begin{document}

\begin{frame}
\begin{itemize}
  \item Your introduction goes here!
\end{itemize}
\begin{enumerate}
  \item Enum
  \item Enum
  \item Enum
\end{enumerate}
\end{frame}

\setbeamertemplate{enumerate item}{%
  \usebeamercolor[bg]{item projected}%
  \raisebox{1.5pt}{\colorbox{bg}{\color{fg}\footnotesize\insertenumlabel}}%
}

\begin{frame}
\begin{itemize}
  \item Your introduction goes here!
\end{itemize}
\begin{enumerate}
  \item Enum
  \item Enum
  \item Enum
\end{enumerate}
\end{frame}


\end{document} 

Output

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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