9

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?

Jiew Meng
  • 2,479

1 Answers1

8

You need to add \usepackage{pgfplots} to your preamble. In LyX, you can edit the preamble under Document | Settings | LaTeX Preamble.

Jake
  • 232,450