0

I need to put one image at top of one page that spans through all paperwidth, I've tried the next command in memoir:

\newcommand{\adjustimg}{
\checkoddpage
\ifoddpage\hspace*{\dimexpr\evensidemargin-\oddsidemargin}\else\hspace*{-\dimexpr\evensidemargin-\oddsidemargin}\fi}

\newcommand{\centerimg}[2][width=\textwidth]{\makebox[\textwidth]{\adjustimg\includegraphics[#1]{#2}}}

\mbox{} \par
\vspace*{-3.6cm}\noindent\centerimg[width=\paperwidth]{*myimage*}

The problem here is that it always gets me a white side line like this one:

enter image description here

Could yo help me? If there are other solutions it would be great.

Stefan Pinnow
  • 29,535

0 Answers0