2

Could you please help me on how to "retrieve" the color a beamer document currently uses for coloring headline fonts?

I would like to use it to color ordinary text, as in

\textcolor{\beamerheadlinefgcolor}{Some text.}
  • 2
    There is \usebeamercolor[fg]{beamer color name}. – campa Jan 14 '21 at 13:45
  • 2
    Related: https://tex.stackexchange.com/a/33774. The corresponding beamer color template used in headlines is headline. Do distinguish headline (normally containing section titles as links) from frametitle (the <title> in \begin{frame}{<title>}). – muzimuzhi Z Jan 14 '21 at 13:50
  • Thank you very much and my apologies for not having found the related post. – Sinistrum Jan 14 '21 at 13:54

1 Answers1

1

\structure{some text}.

\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\begin{frame}{Test}
    Hello \structure{World}
\end{frame}
\end{document}
Fran
  • 80,769