On Sun, Feb 07 2010, Wolfgang Schuster wrote:
\def\doPlaceAtPos[#1]#2#3{% \getparameters[PAA][dx=0pt, dy=0pt, #1]% \setbox\scratchbox\hbox{#3}% \setlayer[myBG][% x=\the\dimexpr\MPx{#2} - 0.5\wd\scratchbox\relax, y=\the\dimexpr\paperheight-\MPy{#2}-\ht\scratchbox\relax, dx=\PAAdx, dy=\PAAdy]{#3}}
\def\doPlaceAtPos[#1]#2% {\dowithnextbox {\setlayer [myBG] [x=\the\dimexpr\MPx{#2}-\nextboxwd/2\relax, y=\the\dimexpr\paperheight-\MPy{#2}-\nextboxht\relax, #1] {\flushnextbox}} \normalhbox}
Thank you for this \dowithnextbox command! (I keep \getparameters... because I want to use it for other parameters outside of \setlayer) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/