I want to define a command to ease the font configuration as below:
\newcommand{\setfont}[2]{\fontsize{#1}{#2}\selectfont}
The new command \setfont takes two parameters: one is the size of the font, the other is the line space.
However, it is not convenient to specify the line spacing in point directly. The more intuitive way is to set, e.g. two line spacing, or 1.5 line spacing. So in my command I want to take the second parameter a scale factor. The problem is how to apply the scale factor to the line spacing arguments? With arithmetic operation or other workaround?

setspacepackage as part of this command? It manages line spacing well. – Werner Dec 06 '13 at 16:21\fontsizecommand, is\newcommand{\setfont}[2]{\fontsize{#1}{#1} \set_linespace_with_#2 \selectfont}ok? Also, what if I want a 1.25 line spacing, I skip the document of the package, but didn't find the proper command :p. – Summer_More_More_Tea Dec 06 '13 at 16:35setspace's\setstretchfactors are not to be interpreted verbatim. See Why is the linespread factor as it is? – Werner Dec 06 '13 at 16:40