microtype icon indicating copy to clipboard operation
microtype copied to clipboard

microtype breaks beamer commands like \textbf

Open FrankMittelbach opened this issue 8 months ago • 1 comments

Description

If a \textbf<..>{...} overlay is used at the beginning of an \item it fails and prints the <..> instead

Minimal example demonstrating the issue

\documentclass{beamer}

% ----------------------------------------------------------------------
% Packages
% ----------------------------------------------------------------------

\usepackage[T1]{fontenc}

\usepackage[verbose]{microtype}  
%\microtypesetup{nopatch=item}

\begin{document}

\begin{frame}{Overlays}{test}

  \begin{itemize}
  \item
    \only<1>{Ok} or not
  \item
    \textbf<2>{Fail!} or not
  \end{itemize}
  
\end{frame}

\end{document}

Dropping the item patch makes it work again.

FrankMittelbach avatar Jun 15 '24 20:06 FrankMittelbach