title: Trouble wrapping scalebox in an environment with fixed scale factor
body: <p>The <code>graphicx</code> package provides a <code>scalebox</code> command. I'd like to encapsulate it in an environment like that:</p>
  
  <pre><code>\newenvironment{scaleb}{ \scalebox{0.7}{ } {}}
  </code></pre>
  
  <p>However, the second example below works, but the first one outputs the text without scaling and destroys all my layout.</p>
  
  <pre><code>\begin{scaleb}test\end{scaleb}
  \scalebox{0.7}{test}
  </code></pre>
  
  <p>What am I doing wrong ?</p>