# Change font size relative to current font size

For some small macros I'm writing I would need to change the font size relative to the font size of the text that surrounds to macro later on. I only know how to change the font size for the whole document (documentclass/fontspec), or for some text, but only relative to the default font size for the document (\Large, \small).

What I was thinking of was something like:

\newcommand*\mycommand{\smaller ipsum}
\Large lorem \mycommand
\small lorem \mycommand

If I use \Large, \small etc in the command itself, it will not care about the font size of the surrounding text but set the font size relative to the default font size. I would want it to be e.g. 1.2 times smaller than \Large or \small, depending on where it is used.

-
IMO, adding the macro tag or not was a close call here. –  lockstep May 21 '12 at 15:52
After reading the tag description a second time (for another question) I though that it did not fit since the question was not on the "mechanics" of macros, but rather on a specific macro. But you are right...we surely could discuss this –  Andreas Wallner May 21 '12 at 16:22