I'm trying to get images in the header. I succeeded in putting one on the left header side of the right page. But I'm unable to put it on the right header side of the left page.
I'm using fancyheaders and the working code for the right page is:
Code: Select all
\lhead[\textsc{\rightmark}]{
\setlength{\unitlength}{1mm}
\begin{picture}(0,0)
\includegraphics[width=16mm,height=8mm]{header.png}
\end{picture}}
Code: Select all
\rhead[
\setlength{\unitlength}{1mm}
\begin{picture}(0,0)
\includegraphics[width=16mm,height=8mm]{header.png}
\end{picture}]{
\textsc{\rightmark}}
But it gives me some four hundred errors (distributed across the whole document) and the first one refers to the line \end{picture} in the \rhead statement.
Too many }'s \end{picture}
But the bracket count is correct.
Does someone know what causes this peculiar problem and how to solve it?
I'd be very happy.
Thanks in Advance!
monstera