views:

28

answers:

0

Hello,

The graphicx package provides a scalebox command. I'd like to encapsulate it in an environment like that:

\newenvironment{scaleb}{ \scalebox{0.7}{ } {}}

However, the second example below works, but the first one outputs the text without scaling and destroys all my layout.

\begin{scaleb}test\end{scaleb}
\scalebox{0.7}{test}

What am I doing wrong ?