[Tex/LaTex] Use noitemsep and nolistsep, itemize options in beamer

#enumeratebeameritemize

I am trying to use the options noitemsep and nolistsep in beamer. My simple code is

\documentclass{beamer}
\begin{document}
  \begin{frame}
    \begin{itemize}[noitemsep, nolistsep]
      \item Item 1
      \item Item 2
      \item Item 3
    \end{itemize}
  \end{frame}
\end{document}

My output is

enter image description here

and I am given the following error

! Use of \beamer@parseitem doesn't match its definition.
\beamer@defaultospec ->n
oitemsep, nolistsep l.9 \end{frame

}

Any idea how to make those options work in beamer?

Best Answer

It seems to be a general theme from Does enumitem conflict with beamer for lists that you need to use \setlist to get beamer and enumitem to play well together. In this case,

\documentclass{beamer}
\usepackage{enumitem}
\setlist[itemize]{noitemsep, nolistsep}
\begin{document}
  \begin{frame}
    \begin{itemize}
      \item Item 1
      \item Item 2
      \item Item 3
    \end{itemize}
  \end{frame}
\end{document}

seems to do what you want:

enter image description here