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.

We know the use of [draft] in graphicx package


Do we have any option like [draft] in tikz? Sothat we need not compile the tikz picture for every run and need not look at the picture...Is it possible to have something like this?


or do i have any other method to do it?

share|improve this question

1 Answer 1

up vote 15 down vote accepted

You can use \tikzexternalize which is intended to speed up compile times. It converts each tikzpicture into a separate external graphic which is then imported with \includegraphics. And in [draft] mode graphics that are included from external sources do not get displayed.

Here is an example of enabling \tikzexternalize when in [draft] mode. With \documentclass[draft]{article} the MWE produces:

enter image description here





    \draw[fill=yellow] (0,0) -- (3,0) -- (3,3) -- cycle;
share|improve this answer

Your Answer


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

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