I need to build one environment that obeys spaces, but not new lines, and also change tabulation into four spaces.
I can't use verbatim because I would also like to use macros in my environment.
|
I need to build one environment that obeys spaces, but not new lines, and also change tabulation into four spaces. I can't use verbatim because I would also like to use macros in my environment. |
|||
|
The |
|||
|
|
|
I would tackle this by making spaces and tabs active. You could do this directly, but using the 'lower case trick' is my favoured approach:
|
|||
|
|
|
For tabs you may want to use
The |
|||
|
\obeyspacesis for obeying spaces. About tabulation, I'm not sure what you mean, but you should be able to realise that withtabbing? – Stephan Lehmke Apr 29 '12 at 13:42