The following MWE gives me three pages of output in Overleaf.

Project semilog6655:


The two first pages are unintentionally blank while the third page shows the desired graphics.

Correspondingly, I get a blank box (or am I expressing , when I import the file into some other project:


The same output, I get from the following command:

  • 1
    Unnecessary % is distracting. Dec 18, 2017 at 21:51
  • I use % sign routinely to signal extension of a command across lines. Would that be considered bad style? Dec 18, 2017 at 22:33
  • You can separate key-value pairs across lines without %. Using many unnecessary % is not a good style. Dec 18, 2017 at 23:08
  • Point taken, edited Dec 18, 2017 at 23:33
  • 1
    @Engelsmann: it is not a bad style using the %. They are superflous in this case, but not in other cases!
    – user2478
    Dec 19, 2017 at 7:52

1 Answer 1




and not


See When should I use \input vs. \include? for the differences.

Using \include there actually gives an error

! Undefined control sequence.
\set@color ->\special {color push \current@color 
                                                 }\aftergroup \reset@color 
l.8 \include{TECcolors}


which Overleaf for some reason doesn't report.

Regarding the last part, if you include a multi-page PDF with \includegraphics, you get the first page by default I think. You can change which page to include, e.g.


to get the third page. (If you don't specify the extension, LaTeX has a list of extensions it tries, I don't know the order, but PDF is certainly among them.)

You must log in to answer this question.

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