beamer icon indicating copy to clipboard operation
beamer copied to clipboard

Make beamer botton adjust to button font

Open samcarter opened this issue 2 years ago • 1 comments

Currently, the height of beamer buttons is hard coded in pt. It might be nice to use a font depended unit instead.

\documentclass{beamer}

\setbeamerfont{button}{size=\Huge}

\begin{document}
\begin{frame}
\beamergotobutton{Foo}
\end{frame}
\end{document}

document-1

samcarter avatar May 19 '23 13:05 samcarter

With the upcoming version 1.1 of the tcolorbox inner beamer theme, one can avoid this issue by replacing the beamer buttons with tcboxes:

\documentclass{beamer}

\useinnertheme[
  buttons=true,
  blocks=false,
  titlepage=false
]{tcolorbox}
\setbeamerfont{button}{size=\Huge}

\begin{document}
\begin{frame}
\beamergotobutton{Foo}
\end{frame}
\end{document}

Image

samcarter avatar Jun 18 '25 21:06 samcarter