[Tex/LaTex] How to remove the figures from a draft of the document

draftfloats

I'm working on a research paper with many figures in it. To save paper, I would like to exclude the figures when I print drafts of the paper. Is there an easy way to do this (via command-line option, graphicx option, or something else)?

Best Answer

I would simply use the endfloat package, which places all floats (figures and tables) at the very end of the document. Then you can print only the leading pages with the text using the page range selection of your PDF viewer.

Alternatively, you can make LaTeX ignore all figure environments using the comment package:

\usepackage{comment}
\excludecomment{figure}
\let\endfigure\relax

See How to exclude text portions by simply setting a variable or option? for more details. A drawback here is that the label references won't work properly.

Related Question