# Use noitemsep and nolistsep, itemize options in beamer

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

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?

• as pointed out in the answer below you are not even loading package enumitem which is the package providing these options. – user4686 Jan 11 '16 at 7:55

## 3 Answers

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:

• Thank you very much! This really solved it! what if I just want to do it locally and not globally? – Thanos May 11 '15 at 9:11
• @Thanos Sadly, I can't see a local way to do this... – user30471 May 12 '15 at 10:13

What about this code for local way?

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


Here's a way to do it locally without using the package enumitem.

\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{itemize}
\setlength{\itemsep}{0pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
\end{frame}
\end{document}