I am a new latex user. How can i use package {venndiagram} to draw a picture below? (No shading). Thanks!

enter image description here

  • 2
    Welcome to TeX.SE! Try \documentclass[tikz,border=3.14mm]{standalone} \begin{document} \begin{tikzpicture} \draw (0,0) circle (0.6) node[below=7mm]{$A$}; \draw (2,0) circle (0.6) node[below=7mm]{$B$}; \draw (3,-1.5) rectangle (-1,1) node[above left]{$\Omega$}; \end{tikzpicture} \end{document} – user121799 Oct 30 '18 at 16:07
  • 2
    Please consider looking at section 2 of the documentation. – zyy Oct 30 '18 at 16:14
  • 1
    Thank you all! zyy: I checked the section 2 of the documentation, but I think doesn't contain empty thing like my example. If you could point out where exactly it is? – Liang Oct 30 '18 at 16:36

You should take a look at Section 1 of the venndiagram manual. In particular, the radius and overlap key-value options, and the \setpostvennhook command with its description paragraphs.


\node at ([shift={(-0.2cm,0.2cm)}] venn top left) {$\Omega$};

Or this:

\node at ([shift={(-0.2cm,0.2cm)}] venn top left) {$\Omega$};
  \node[below] at ([shift={(-0.3cm,-1.4cm)}] labelA) {$A$};
  \node[below] at ([shift={(0.3cm,-1.4cm)}] labelB) {$B$};


  • @Liang You are welcome! If this answers you question, you may accept it by clicking the check mark. – Ruixi Zhang Oct 31 '18 at 18:08

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.