Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to put a background image on a file which uses the scrartcl class. The target pdf output size is A4 which is exactly the size of the background image (210mm x 297mm). The image should therefore cover the whole page.

This is what I've tried so far:

    Hello World!

Unfortunately I get an error message

Package atveryend Info: Empty hook `BeforeClearDocument' on input line 11. <./bg1.png, id=4, 597.432pt x 845.0772pt> File: ./bg1.png Graphic file (type png)

Package pdftex.def Info: ./bg1.png used on input line 11. (pdftex.def) Requested size: 597.50662pt x 845.0455pt.

! Undefined control sequence. \xwm@makedraftbox ...@begingroup \ttfamily \color {red}\Large (draft mode)\c... l.11 \end{document}

and the result does not look very promising


Do you have any idea what the problem might be?

This is the test-background I've used:


share|improve this question
Related –  Sigur Oct 22 '13 at 22:29
Or better related: Insert a full page image –  Harish Kumar Oct 22 '13 at 23:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.