two ways to make different sizes

August 26, 2008

Is mathURL showing up too big or too small for you? There’s two ways to change the size of your math. Click each equation to see the LaTeX source.

LaTeX size commands

The most obvious way to get your math in different sizes is to use the built-in LaTeX size commands.










Rendering resolution

However, since mathURL must rasterize the output of LaTeX, you can also specify the resolution you want this to occur at, using the \dpi psuedo-command.




The difference

Due to the magic of METAFONT, the Computer Modern TeX font changes shape subtly at different sizes, to make them easier to read: small fonts are proportionally wider and have heavier strokes, while large fonts have thinner strokes. For instance, compare these two examples:



The first is a genuine small font as produced by METAFONT, whereas the second is the normal-size Computer Modern font, optically shrunk smaller.

Which to use? If you’re simply embedding equations in text, use the appropriate LaTeX command to go with your text size. On the other hand, if you’re generating high-resolution images to embed in your presentation, use the \dpi command. (And just say no to Microsoft Equation Editor. Blech!)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: