I just tried coping & pasting code from How to draw Venn diagrams (especially: complements) in LaTeX
and I get errors … I suppose I need to install/configure Lyx to use PGF/Tikz?
lyxtikz-pgf
I just tried coping & pasting code from How to draw Venn diagrams (especially: complements) in LaTeX
and I get errors … I suppose I need to install/configure Lyx to use PGF/Tikz?
Best Answer
You need to add
\usepackage{pgfplots}
to your preamble. In LyX, you can edit the preamble underDocument | Settings | LaTeX Preamble
.