![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
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/