I am writing the supporting information of a paper whose template can be downloaded here

Basically, it is in draft mode :

\documentclass[draft, grl]{agutexSI2019}

But I also add after this:

%  Uncomment the following command to allow illustrations to print
%   when using Draft:

As a result, figures outside figure environment (those not floats) show:

\includegraphics[scale = 1]{dummyfig.pdf}

but those inside figure environment doe not:

  \includegraphics[scale = 1]{dummyfig.pdf}

Any hint ?

1 Answer 1


The class does

\expandafter\ifx\csname setkeys\endcsname\relax\else

so sets the graphics back to draft mode in at least a couple of places

Probably you can do this:


so you disable the key after setting it the way you want, further uses of draft=anything do nothing.

  • It does not makes floating figures appear :/ To be sure, I typed : \usepackage{graphicx} \makeatletter \setkeys{Gin}{draft=false} \define@key{Gin}{draft}[true]{} \makeatother
    – Liris
    Commented Mar 13, 2020 at 10:29
  • 2
    @Liris hmm you didn't supply a test file (questions should always have a test file, you can use example-image as the image) so this was untested but as far as I could see that should work. An alternative, would be to simply edit your local copy for the class and comment out every use of \setkeys{Gin}{draft} Commented Mar 13, 2020 at 10:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .