How do I change the font size of something like this: I want to increase the font but it always seems to remain the same.
\documentclass[30pt]{article}
\DeclareMathSizes{20}{20}{20}{20}
\begin{document}
\[
x = \frac{1}{x + \frac{1}{x + \frac{1}{x}}}
\]
\end{document}
Best Answer
The first parameter of
\DeclareMathSizes
specifies the font size to which these settings are applied to. So, for a12pt
document, if the first parameter is not12
, then this command will have no effect. So for the code as below, the output is:but with the line
\DeclareMathSizes{12}{24}{24}{24}
un-commented you get:Also see How to make math font huge.