![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Adam Duck wrote:
\def\aidul{\dosingleempty\doaidul} \def\doaidul[#1]{\inframed[background=underline,frame=off,#1]}
So, one last question remains: why doesn't this work?
\def\uli{backgroundcolor=peachpuff} \aidul[\uli]{test}
parsing .... \def\doaidul[#1]{\expanded{\inframed[background=underline,frame=off,#1]}} would work however, in that case i'd go for: \def\doaidul[#1]{\inframed[background=underline,frame=off,backgroundcolor=#1]} \definecolor[important][red] \definecolor[notimportant][green] and \aidul[important]{test} as well as \aidul[notimportant]{test} since one can redefine the colors Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------