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
I have this small test case:
test.tex
Description: TeX document
and it comes out with the wrong colors. So, I think I know that this
is because of the same dimensions but I want to have different colors
for the same overlay-dimensions. How do I do that?
bye, Adam.
Here is another approach
% small extension to underbar, accepts [settings]
\unprotected \def\underbarparameter#1{\getvalue{\??on#1}}
\unexpanded\def\dounderbar#1%
{\let\betweenisolatedwords#1%
\dosingleempty\redounderbar}
\unexpanded\def\redounderbar[#1]#2%