beamer add tag
samcarter
Consider the following example:

```
\documentclass{beamer}

\begin{document}

\part{foo}
\label{bar}

\section{alice}
\label{bob}

\begin{frame}
part: \nameref{bar}

section: \nameref{bob}
\end{frame}

\end{document}
```

`\nameref` works fine for sections etc., but does not work for parts.
Top Answer
samcarter
One can work around this problem with this little trick:

```
\documentclass{beamer}

\begin{document}

\part{foo}
\makeatletter
\expandafter\NR@gettitle\expandafter{\beamer@partname}
\makeatother
\label{bar}

\begin{frame}
\nameref{bar}
\end{frame}

\end{document}
```

-----

### Update 2023:

This has been fixed in beamer v3.70 or newer. The above workaround is no longer necessary.

This room is for discussion about this question.

Once logged in you can direct comments to any contributor here.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.