2

I'm trying to use IguanaTex to include some TikZ pictures in a presentation, but I'm finding that if I'm drawing in white (or even a colour really close to white), the picture won't show.

So

\documentclass{article}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\color{white}

hi

\begin{tikzpicture}
\draw[<->, thick, white] (3.5,0) -- (7.5,0);
\end{tikzpicture}

\end{document}

produces this:

enter image description here

with the TIkZ picture ignored. If I don't include the "hi" or something like that, it errors:

enter image description here

But if I draw the line in a different colour, it'll come up properly, so

\documentclass{article}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\color{white}

\begin{tikzpicture}
\draw[<->, thick, yellow] (3.5,0) -- (7.5,0);
\end{tikzpicture}

\end{document}

produces this:

enter image description here

as expected.

It's probably some interaction I don't understand with the conversion process but any help would be greatly appreciated.

  • 2
    Please provide a complete MWE. – user121799 Sep 9 '18 at 3:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.