[comp.text.tex] Drawing a background on a page

r0g2051@tamsun.tamu.edu (Rajesh Godbole) (04/21/91)

I am trying to have the University Logo as the background for some of
my documentation.  I'm using psfig to include the logo, which is in 
postscript format.  But I can't fool LaTeX into going back to the top
of the page, once the background has been drawn.

Here's what I've tried so far:

1)
\def\ambkgnd{
        \setlength{\unitlength}{1in}
        %\begin{figure}[t]
        \begin{picture}(6,6)%(0,1.5)
        \thicklines
        \put(0,0){\psfig{figure=AandM2.ps,height=6in}}
        \end{picture}
        %\end{figure}
}

\def\ps@atm{\let\@mkboth\@gobbletwo
    \def\@oddhead{}\def\@oddfoot{\rm\hfil\thepage\ambkgnd
     \hfil}\def\@evenhead{}\let\@evenfoot\@oddfoot}

\pagestyle{atm}

2)
\pagestyle{myheadings}
\markboth{\ambkgnd}{\ambkgnd}

3)
putting
\nopagebreak{3}
\ambkgnd
\eject
at the end of every page.

This hasn't worked,  LaTeX goes to the next page after drawing the logo
on the page.

Any pointers would be greatly appreciated.  Please reply by e-mail.

-Rajesh

-- 
Rajesh Godbole,				|  preferred: rajeshg@diamond.tamu.edu
Department of Electrical Engineering	|  otherwise: godbole@eemips.tamu.edu
Texas A&M University, College Station.	|  Home:(409)696-3083,Office..845-6484.
------------------------------------------------------------------------------