
나는 \setbeamercolor{math text}{fg=blue}
수학 모드의 모든 텍스트를 파란색으로 바꾸곤 했습니다. 그러나 제목(및 부제목)에도 수학이 포함되어 있으며 수식이 파란색 대신 제목과 동일한 색상을 갖는 것을 선호합니다.
답변1
beamer
\donotcoloroutermaths
수학 색칠을 제거하는 명령이 있습니다 . 아래 예와 같이 제목 템플릿에 이를 삽입할 수 있습니다. red
데모에서 더 나은 명확성을 위해 수학 색상으로 사용합니다 .
\documentclass{beamer}
\setbeamercolor{math text}{fg=red}
\addtobeamertemplate{frametitle}{\donotcoloroutermaths}
\begin{document}
\begin{frame}
\frametitle{A title with $x=y$ maths}
Text and maths \( y=z \).
\end{frame}
\end{document}