Without giving it much thought, try something like...
\begin{verbatim}
\endverbatim
\begin{code}
...
\end{code}
\verbatim
\end{verbatim}
That is, recall that...
\begin{verbatim}
is LaTeX's way of saying
\verbatim
and...
\end{verbatim}
is LaTeX's way of saying
\endverbatim
except the \begin and \end macros add some extra protection.
Vim-LaTeX only looks for the \begin and \end varieties, and so it
shouldn't "see" the \endverbatim and the \verbatim, but LaTeX will.
--Ted
On 8/21/09 2:52 PM, rocku wrote:
>
> Hi,
> I defined a custom 'code' environment using fancyvrb package. I would
> like this environment to be treated by latex-suite just like the
> verbatim environment, that is -- turn off all special characters effect
> inside it. Currently when I put code inside, then for example the '$'
> character breaks latex-suite outside of my 'code' environment. Is there
> a way to fix this?
>
> --
> rocku
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Vim-latex-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
--
Ted Pavlic <[email protected]>
Please visit my 2009 d'Feet ALS walk page:
http://web.alsa.org/goto/tedp
My family appreciates your support in the fight to defeat ALS.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Vim-latex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel