I used \DeclareMathSizes{12}{20}{14}{10}
to make my equations larger than the default output of LATeX (the parameters mean, as far as I understand, {font size}{equation regular text size}{equation superscript size}{supersuperscript size}). However, the superscripts outside the equation environment also became 14pt font! I thought that the \DeclareMathSizes
command would only affect the content of my equations. Is there a way to change the superscript size in math mode without affecting the parameters for rest of my text?
EDIT: Here is a minimal example that reproduces my problem, note that changing the third parameter also influences what happens to the superscript outside the equation. Is this normal? How can I stop this from happening?
\documentclass[12pt,oneside,letterpaper,titlepage]{article}
\DeclareMathSizes{12}{20}{14}{10}
\begin{document}
...modulation by Ca\textsuperscript{2+}...
\begin{equation}
\sigma^2 = iI - \frac{I^2}{N}
\end{equation}
\end{document}
**SECOND EDIT/FINAL SOLUTION: I ended up following a suggestion to do something much simpler: I just used the \LARGE
command on my equation. Here's the same example as above, using \LARGE
instead of \DeclareMathSizes
:
\documentclass[12pt,oneside,letterpaper,titlepage]{article}
\begin{document}
...modulation by Ca\textsuperscript{2+}...
\begin{equation}
\LARGE{\sigma^2 = iI - \frac{I^2}{N}}
\end{equation}
\end{document}
Best Answer
The Problem lies within the definition of
\textsuperscript
that uses math mode.A possible workaround is redefining the actual command so that it will not get in the way with your equations, this needs
graphicx
:Or this needs
relsize
I admit that this is just an easy workaround emulating the typrsetting of superscripts. It might be possible, that modern typography defines super/subscript in a certain way.
This also works with various enlargements of text sizes. This MWE also emulates a textsubscript:
Further reading relsize and graphicx.
For chemistry typesetting (I guessed that on the calcium bit) there are some packages available, like bpchem or mhchem, that handle formulas quite well.