[Tex/LaTex] Different colors for beamergotobutton and beamerreturnbutton


In This thread, @luigi_tiburzi shows how to change the color of a beamer button, i.e.,


Unfortunately it changes both the goto and return buttons

I tried the obvious thing:


Is there a way to do this?

Best Answer

The different buttons don't have individual colors, so just \setbeamercolor won't work.

But you can redefine one of the button commands and set the colors therein.


    \begingroup% keep color changes local
    \beamerbutton{\insertreturnsymbol#1}% original definition

\begin{frame}{Colorful Buttons}
\beamergotobutton{Goto 1}


\beamergotobutton{Goto 2}

enter image description here