0

I want to split the content of a bulleted list in a beamer presentation into several columns. Apparently this can be be easily acomplished through a tasks environment. My problem is that the bullets produced by tasks are different to those produced by itemize. This is what I have attempted so far:

\documentclass{beamer}

\usepackage{tasks}

\setbeamercolor{structure}{fg=RoyalBlue} \useinnertheme[shadow]{rounded}\usesubitemizeitemtemplate{% \tiny\raise1.5pt\hbox{\color{beamerstructure}$\blacktriangleright$}% }

\begin{document}

\begin{frame} \frametitle{Title} Itemize: \begin{itemize} \item foo \item bar \item baz \end{itemize} Tasks: \begin{tasks}label=\textbullet %\begin{tasks}style=itemize % ERROR %\begin{tasks}label=\labelitemi % ERROR \task foo \task bar \task baz \end{tasks} \end{frame}

\end{document}

This is the output I get: Output If I try any of the commented options the following error is thrown:

...
! Undefined control sequence.
\thetask ->\labelitemi

l.25 \end{frame}

?

How could I obtain exactly the same bullets?

Tonechas
  • 976

1 Answers1

2

Adaptations

  • changed color to blue, because RoyalBlue is not defined
  • defined a command \tball that draw a shaded ball with tikz
  • set label-format=\tball
  • set label and label-width

Result

enter image description here

Code

\documentclass{beamer}

\usepackage{tikz}

\usepackage{multicol} \usepackage{tasks}

\setbeamercolor{structure}{fg=blue} \useinnertheme[shadow]{rounded}\usesubitemizeitemtemplate{% \tiny\raise1.5pt\hbox{\color{beamerstructure}$\blacktriangleright$}% }

\newcommand{\tball}{\tikz \shade[ball color=blue] (0,0) circle (2.5pt);}

\begin{document}

\begin{frame}{Title} \texttt{itemize} within \texttt{multicols}: \begin{multicols}{3} \begin{itemize} \item foo \item bar \item baz \end{itemize} \end{multicols}

\texttt{tasks}:
\begin{tasks}[label-format=\tball, label={}, label-width=8pt](3)
\task foo
\task bar
\task baz
\end{tasks}

\end{frame}

\end{document}

dexteritas
  • 9,161