4

I have this problem where it seems that itemize starts with a blank space, whereas the next line starts without it. Is there a way to have both the first and second line aligned? I am using LyX.

enter image description here

This is a minimal code with the behaviour:

\documentclass{beamer}
\usepackage[bibstyle=authoryear]{biblatex}
\begin{document} 
\begin{frame}{Test} 
\begin{itemize} 
\item Test Test Test asdjakhsdahsdk aklsdjklajsd akljsakljd tehlasdklhasd asdhkadha asdhasdha asdhashdasd  
\end{itemize} 
\end{frame} 
\end{document}
4
  • It thought it may be a common problem with a straightforward solution. But you are right that I should post also the LateX Code Oct 6 '20 at 18:47
  • 1
    A more minimal example that still allows to reproduce the indentation issue is the following: \documentclass{beamer} \usepackage[bibstyle=authoryear]{biblatex} \begin{document} \begin{frame}{Test} \begin{itemize} \item Test Test Test asdjakhsdahsdk aklsdjklajsd akljsakljd tehlasdklhasd asdhkadha asdhasdha asdhashdasd \end{itemize} \end{frame} \end{document}
    – leandriis
    Oct 6 '20 at 18:56
  • 1
    Probably a bug in biblatex ... Nov 25 '20 at 23:07
  • 1
    ... but actually a beamer bug with biblatex (and authoryear style). Nov 26 '20 at 7:09
5
+50

Update

beamer v3.60 with a fix for this issue was released on 14 Dec. 2020 and is available now in MikTeX and TeX Live. The problem should disappear if you thoroughly update your TeX system.

The workaround shown below is no longer needed and should be removed.


Old answer

This was a timing issue with beamer's biblatex adjustments.

The problem was reported at https://github.com/josephwright/beamer/issues/625 and fixed in https://github.com/josephwright/beamer/pull/626.

The fixed beamer version (v3.60?) hasn't been released yet, though. If you need a fix now, you can use the following temporary workaround suggested by samcarter in https://github.com/josephwright/beamer/issues/625

\documentclass{beamer}
\usepackage[bibstyle=authoryear]{biblatex}

\setlength  \labelwidth{\leftmargini}
\addtolength\labelwidth{-\labelsep}

\begin{document} 
\begin{frame}{Test} 
\begin{itemize} 
\item Test Test Test asdjakhsdahsdk aklsdjklajsd akljsakljd
  tehlasdklhasd asdhkadha asdhasdha asdhashdasd  
\end{itemize} 
\end{frame} 
\end{document}
2

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.