I have the following tex code





\draw (0,0) grid (3,3);
\foreach \c in {(0,0), (1,0), (2,0), (2,1), (1,2)}
    \fill \c + (0.5,0.5) circle (0.42);



The \renewcomand overwrites the \includegraphics and replaces all my pixel images with frameboxes for faster compile time during document writing. However the images with a .tikz extension still get loaded.

As far as I understand it tikzscale overwrites the \includegraphics from graphicx and I overwrite it with my definition. Why does this not work? Is there a way to make it work?

  • Thats a nice way of speeding up document creation! Especially when \tikzexternalize doesn´t work. – Paul Paulsen Jun 22 '16 at 7:42

The package tikzscale delays its redefinition of \includegraphics at begin document, so you should do


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.