Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    This is defined as the age-old problem of trying to pass verbatim content as a macro argument, which requires special treatment. Perhaps you could elaborate on what you're after really. Commented Apr 23, 2013 at 19:12
  • I want to make an environment for red verbatim text.. Commented Apr 23, 2013 at 19:18
  • 1
    With listings: \lstnewenvironment{vred}{<something before the verbatim part>}{<something after>}. This command also allows to add arguments the same way \newenvironment does. Commented Apr 23, 2013 at 21:04