# Tikz gives Error: Command \@EveryShipout@Hook already defined

I am trying to use the WACV 2018 conference template. When I add tikz \usepackage{tikz} I get error:

! LaTeX Error: Command \@EveryShipout@Hook already defined.


How do I fix this? I couldnt find where its defined

• Welcome to TeX.SX! It is already defined in wacv_eso.sty. – Bobyandbob Oct 26 '17 at 19:42
• Welcome to TeX.SX!! We can't guess what you're doing so if you'd like help please add a minimal working example to your question to show what you are doing. A MWE should start with a \documentclass command, have a minimal preamble and then \begin{document}...\end{document}. Cutting your code down to a MWE may well reveal what your problem actually is. In any case, it is really difficult to help you without more information. – user30471 Oct 26 '17 at 20:00
• As a workaround you can compile the tikz figures separately to standalone pdfs (using, e.g., \documentclass{standalone}) and include these pdfs in the main document with \includegraphics. – Marijn Oct 26 '17 at 20:52

The WACV 2018 conference template seems to follow a long tradition of conference templates providing custom versions of packages based on copying or hacking (quite often) out-of-date versions.
In this case, another unsatisfactory workaround is to prevent PGF from loading the everyshi package using one of the answers to this question. Putting the following in the preamble somewhere after \usepackage{wacv}:
\makeatletter