29 Jan
2007
29 Jan
'07
3:15 p.m.
On Mon, 29 Jan 2007, Wolfgang Schuster wrote:
Hi all,
I have a module with a envrionment defined in the following way:
\def\startFOO#1\stopFOO{...#1...}
I try currently to write a command \defineFOO[MYFOO] that expands to my already created environment.
\startMYFOO#1\stopMYFOO -> \startFOO#1\stopFOO
I know it is possible to make this in the following way:
\def\startMYFOO#1\stopMYFOO{\startFOO#1\stopFOO}
but this not what I want.
Something like this \def\defineFOO[#1]% {\setvalue{\c!start#1}{\startFOO} \setvalue{\c!stop#1} {\stopFOO}} Aditya