# Subfigures in beamer in 2018 [duplicate]

I recently downloaded the 2018 MacTex suite, and the following MWE fails to compile,

\documentclass{beamer}
\usepackage{subfig}
\begin{document}
\begin{frame}
Testing MWE
\end{frame}
\end{document}


with error code

./Untitled.tex:3: Undefined control sequence.
<argument> \@@magyar@captionfix


So, what is the "correct" way of adding side-by-side subfigures with captions now?

## marked as duplicate by Dr. Manuel Kuehner, Troy, Bobyandbob, Mico, David Carlisle graphics StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); May 1 '18 at 8:48

• i can confirm this error (recent version of beamer). seems to be bug. you should wait to be removed :-(. – Zarko May 1 '18 at 7:39
• I think this might be github.com/axelsommerfeldt/caption/issues/7. Can you update your packages with tlmgr and see if the error persist? See also (duplicate) tex.stackexchange.com/q/426088/35864 – moewe May 1 '18 at 7:50
• Mhh, the relevant update of the caption package arrived on my TeX live mirror this morning. In an update I made a few seconds ago I got the correct version and you MWE works again. Maybe your mirror is a bit slower and takes until later today or tomorrow. In the meantime you can employ the workaround in tex.stackexchange.com/questions/426088 (the duplicate question). – moewe May 2 '18 at 9:05