I wanted to type an equation in LaTeX. But it is too long to fit into one line. It involves big arrays with many columns so I cannot split it. I wanted to reduce the font size so that it can fit in one line. However, \small
doesn't work in the equation
environment.
[Tex/LaTex] Reducing font size in equation
equationsfontsize
Best Answer
The following illustrates font size alterations in mathmode:
This yields:
Note that:
\displaystyle
gives the command to switch the math font size to normal size for displayed formulas.\textstyle
is used to go back to normal size font for inline formulas.\scriptstyle
is used to set the math font to a size used for subscripted and superscripted symbols.\scriptscriptstyle
provides the normal size for doubly subscripted and superscripted symbols.When using the
\scalebox
command from thegraphicx
package one can specify the width (or height) and the other dimension will be scaled proportionally. In a similar manner you can specify both dimensions, but in this case it is all about aesthetics. Therefore we have the following under the\scalebox
command:\scalebox{h-dimension}{v-dimension}{content to be scaled}
: both dimension stated.\scalebox{h-dimension}{content}
: both arguments (h-dim
andv-dim
) scaled with respect to the stated dimension.