# Insert a figure on odd pages

I would like to insert a logo on each odd pages of my document (but the first) I know how to do it for each page but cannot figure out how to only do it on odd pages. So I have

\makeatletter
\setlength{\@tempdimb}{0.24\paperwidth}%
\setlength{\@tempdimc}{1.795\paperheight}%
\setlength{\unitlength}{0.5pt}%
\put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
\includegraphics[width=0.25 \textwidth]{logo.eps}
}%
}
\makeatother


I guess my issue is I do not really know how to put "if" conditions in that code! Could anyone help me on that?

-
The correct if statement here is \ifodd\c@page ... \fi. Put the \if part after 2nd line of your code and the \fi part before the closing }. Does it help? (I would try to test it but you have not provided Minimal Working Example so I don't even know which package you use.) –  yo' Sep 27 '12 at 12:35
thanks a lot. It works very well! –  vince Sep 27 '12 at 12:40

The correct if statement here is \ifodd\c@page ... \fi. Put the \if part after 2nd line of your code and the \fi part before the closing }.