[Tex/LaTex] Setting icon in Beamer button

beamerfontawesome

Let's say I have the following MWE (from here):

\documentclass{beamer}

\begin{document}
    \begin{frame}
    \hyperlink{contents}{\beamerbutton{contents page}}

    \hyperlink{columns}{\beamergotobutton{columns page}}

    \hyperlink{pictures}{\beamerskipbutton{pictures page}}

    \hyperlink{pictures}{\beamerreturnbutton{Home page}}
\end{frame}
\end{document}

It gives this:

Now, I want to change the left triangle icon (just before Home page) by another symbol (say, by \faHome from fontawesome package). How can I do that?

Best Answer

The default definition of these symbols can be found in beamerbasenavigation.sty. So for example if you want to modify the symbol for your home page, which uses the returnbutton:

\documentclass{beamer}

\usepackage{fontawesome}

\def\insertreturnsymbol{%
  \faCoffee\space
}

\begin{document}
    \begin{frame}
    \hyperlink{contents}{\beamerbutton{contents page}}

    \hyperlink{columns}{\beamergotobutton{columns page}}

    \hyperlink{pictures}{\beamerskipbutton{pictures page}}

    \hyperlink{pictures}{\beamerreturnbutton{Home page}}
\end{frame}
\end{document}

enter image description here

(the other symbols can be altered in the same way)

Related Question