[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Formatting @Verbatim text
From: |
Mark Summerfield |
Subject: |
Formatting @Verbatim text |
Date: |
Mon, 3 Jun 2002 13:26:23 +0100 |
I produce documents that include lots of code quotes, but which don't
(yet) use syntax colouring. Because I want all the code to have the same
format I have a macro, @Code that sets the font, so all my code snippets
look like this:
...
@ID @Code @Verbatim @Begin
// code goes here
@End @Verbatim
...
This is quite tedious to write every time. I'd really like to create a
pair of definitions, @Code and @EndCode, so that I can write:
@Code
// code goes here
@EndCode
Unfortunately, I think that this isn't possible -- or can someone
enlighten me?
Thanks.
--
Mark.
- Formatting @Verbatim text,
Mark Summerfield <=