This is a follow-up question to Equations, change the font size
I was trying to have equal font sizes in equations like the ones in the above link. Using \DeclareMathSizes{display size}{text size}{script size}{subscript size}
gives me desired effects in article, exam classes but no effect in beamer slides.
Any suggestion please to see the effects in beamer slides!
My MWE is:
\documentclass{beamer}
\usetheme{Warsaw}
\DeclareMathSizes{12}{24}{24}{24}
\begin{document}
\begin{frame}
\frametitle{test equation to have a same font size}
\[
x = \frac{1}{x + \frac{1}{x + \frac{1}{x}}}
\]
\end{frame}
\end{document}
and its output is:
12pt
class option as in my example:\documentclass[12pt]{beamer}
, or use\makeatletter\DeclareMathSizes{\@xipt}{24}{24}{24}\makeatother
as egreg suggested. .yes, it works after putting 12pt in class option
. Thank you so much for the help.