[pstricks] Putting Graphic in \header.

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Feb 5 21:31:44 CET 2008


John Culleton schrieb:
> Currently in pdftex I am using the following code as my \headline:
> \def\gentleheadline{%
> \ifodd\pageno
>  \sl\authorname\hfil\bf\folio\rm
>     \else
>  \raise .7in\hbox{\bf\folio}\hfil\raise .7in\hbox{\pdfrefximage 1}\rm
> %  \hbox{\bf\folio}\hfil\hbox{\pdfrefximage 1}\rm
>    
>     \fi
> }
> But despite all the \raise commands etc. the even sided header is lower than 
> the odd sided header. The culprit is the image, which is about .3in high. If 
> I use pstricks can I get the even side header to match the odd side header? I 
> am thinking \rput.  

yes, with \rput[lb](...){..} you have the image exactly
with its lower left on the baseline.

Herbert



More information about the PSTricks mailing list