Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
2  
use a smaller font size ... –  Herbert Aug 19 '12 at 20:16
add comment

1 Answer

up vote 9 down vote accepted

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}%
}  
share|improve this answer
    
accepted but no upvote? d'oh! –  cmhughes Aug 19 '12 at 20:30
1  
unsung hero anyone? :P –  percusse Aug 19 '12 at 20:43
    
@percusse you're right- every cloud has a silver lining :) I don't think anyone would get that badge on tex exchange though- the voting is too good :) –  cmhughes Aug 19 '12 at 20:51
    
Don't worry with an upvote, I'm here! :) –  Paulo Cereda Aug 20 '12 at 1:04
    
@PauloCereda you da man! :) thanks! –  cmhughes Aug 20 '12 at 1:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.