So in amsart, there is a header by default but I would like another "header" above this one so that I can place an image in the upper-right hand corner of every page. I'd also like the option to do this with the footer, too. But the package fancyhdr conflicts with the existing header/footer for amsart:

\documentclass{amsart}

\usepackage{lipsum}

\usepackage{fancyhdr}
\pagestyle{fancy}

\lfoot{This is Document ABC DEF GHI JKL MNO}

\begin{document}

\title{This is the title for Document ABC DEF GHI JKL MNO}
\maketitle

\lipsum

\end{document}


As you can see, everything is overlapping in the header/footer. I would like the image to be more upper right (but not touching the corner) and would like the lower left footer to be more lower left (but not touching the corner).

• The overlap is caused by trying to fit a graphic that is about 305pt high into the 8pt of space (\headheight) reserved for the header. – Dan Aug 22 '16 at 21:45
• You mean something like this? – alwaysask Aug 22 '16 at 21:49
• @alwaysask Yes. – mr eyeglasses Aug 22 '16 at 21:50

Here's a way to do it with some values for you to tweak the desired placement/size:

\documentclass{amsart}
\usepackage{graphicx}
\usepackage{lipsum}

\usepackage{fancyhdr}
\pagestyle{fancy}
%
\begin{picture}(0,0)
\put(40,25){\includegraphics[height=15mm]{example-image-a}}
\end{picture}}

\lfoot{%
\begin{picture}(0,0)
\put(-100,-50){\includegraphics[height=15mm]{example-image-b}}
\end{picture}
This is Document ABC DEF GHI JKL MNO}

\begin{document}

\title{This is the title for Document ABC DEF GHI JKL MNO}
\maketitle

\lipsum

\end{document}