[Tex/LaTex] Problem resizing an itemize environment with a \scalebox: “Something’s wrong”

boxeserrorsitemizescaling

I have a \block containing a \itemize:

\begin{block}{title}
  % \scalebox{0.8}{
  \begin{itemize}
      \item 1...
      \item 2...
  \end{itemize}
  % }  
\end{block}

I try to use \scaleboxand resizebox to scale it, but I got an error ERROR: LaTeX Error: Something's wrong--perhaps a missing \item. Could anyone help?

Best Answer

The problem is that the scalebox command needs to operate on a box, and the itemize environment is not in one.

Perhaps the easiest way to fix this is to put it in a vbox

\scalebox{0.8}{%
\vbox{%
    \begin{itemize}
      \item 1...
      \item 2...
     \end{itemize}
 }}  

Or you might prefer a minipage

\scalebox{0.8}{%
\begin{minipage}{\textwidth}
\begin{itemize}
      \item 1...
      \item 2...
  \end{itemize}
\end{minipage}%
}  
Related Question