[texhax] 'verbatim' inside 'raisebox'?

E. Krishnan ekmath at asianetindia.com
Fri Jun 12 02:49:57 CEST 2009


On Wed, 10 Jun 2009, T Ziomek wrote:

> My simplest test case:
>  \documentclass{article}
>  \begin{document}
>  \raisebox
>     {-1.5 cm}
>     {
>        \begin{verbatim}
>           Some text
>        \end{verbatim}
>     }
>  \end{document}
>
>  ! LaTeX Error: Something's wrong--perhaps a missing \item.

Please see whethere this helps:

   \documentclass{article}
   \usepackage{fancyvrb}

   \begin{document}

   \begin{SaveVerbatim}{verbox}
   Some verbatim text
   \end{SaveVerbatim}

   Some formatted text
   \raisebox{-1.5cm}{\BUseVerbatim{verbox}}

   \end{document}










-- 
Krishnan


More information about the texhax mailing list