josephwright / beamer

A LaTeX class for producing presentations and slides
Other
1.44k stars 143 forks source link

define \fnum@table #905

Closed u-fischer closed 4 months ago

u-fischer commented 4 months ago

beamer defines the table counter but doesn't define \fnum@table. That puts longtable out of the track:

\documentclass{beamer}
\makeatletter
%\def\fnum@table{\tablename~\thetable}
\makeatother
\usepackage{longtable}

\begin{document}%
\begin{frame}
\begin{longtable}{l}
\caption{blub}\\
abc
\end{longtable}
\end{frame}
\end{document}
! Undefined control sequence.
<argument> \fnum@table 
                       : 

(I do not claim, that is makes much sense to use longtable in beamer, but it seems that pandoc does it. )

samcarter commented 4 months ago

Thanks for the report!