4

I'm using the beamer class and would like to remove the indentation created for items in the itemize environment.

I have tried the following solutions:

  • the enumitem usepackage - just loading it removes all bullet points entirely
  • \setlength{\itemindent}{-1em} before the item. It only removes the indentation of the first line of an item, but if the item is multi-lined, the other lines are still indented.

This is my MWE:

\documentclass{beamer}
\usepackage[utf8]{inputenc}

\begin{document}
\begin{frame}{Frame Title}
Some text
\begin{itemize}
%\setlength{\itemindent}{-1em}
    \item first item
    \item this is a second item which is longer and should hopefully go over more than one line
\end{itemize}
\end{frame}
\end{document}
  • 1
    Don't try to use the enumitem package with beamer -- they are incompatible. – user36296 Sep 10 '18 at 22:28
5

Is this the layout you are looking for?

\documentclass{beamer}
\usepackage[utf8]{inputenc}

\begin{document}
\begin{frame}{Frame Title}
Some text
\settowidth{\leftmargini}{\usebeamertemplate{itemize item}}
\addtolength{\leftmargini}{\labelsep}
\begin{itemize}
    \item first item
    \item this is a second item which is longer and should hopefully go over more than one line
\end{itemize}
\end{frame}
\end{document}

enter image description here

  • This is exactly what I am looking for, thanks very much! – Jaran Sep 11 '18 at 6:59
  • @Jaran You're welcome! – user36296 Sep 11 '18 at 8:14

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.