I am preparing a huge document with tons of pictures and Tikz drawings (based on Beamer package). Is there a command for NOT including all the pictures inserted by \includegraphics? This might speed up the typesetting.


Usually the solution \usepackage[draft]{graphicx} won't work, because beamer loads the graphicx package by itself. You'll get the message

Option clash for package graphicx

You have to pass the draft option to the package before it will be loaded. Therefore write


before \documentclass{...}. This should solve your problem.

  • 5
    Or you could just call \documentclass[draft]{...} - it will do a few things more than just not load the graphics; but in preparation mode most of those are useful as well. – Mikael Vejdemo-Johansson Oct 21 '10 at 15:36

Not related to \includegraphics but something that will speed up your typesetting in development mode: \includeonlyframes. If you label the frames you're "working" on, you can typeset just those without disturbing the auxiliary files, very similar to \includeonly.


    First frame
    Second frame, which will not be seen.

The beamer manual documents this feature as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.