The code that generates the previous PDF diagram:
\documentclass{standalone} % Imported packages: \usepackage{venndiagram} % Needed for drawing Venn diagrams \begin{document} \begin{venndiagram2sets}[showframe=false, hgap=0.2cm, vgap=0.2cm, labelA={}, labelB={}, overlap=1cm, shade=purple] \fillBNotA % The set B \ A = B - A % The code below sets the locations of the labels $A$, $B$, and $U$ in the diagram: % [You don't need to change the code below:] \setpostvennhook{% \draw (labelA) node[below=0.8cm] {$A\qquad$}; \draw (labelB) node[below=0.8cm] {\color{white} $\qquad B$}; \draw (labelNotAB) node[above right=-4pt] {$U$}; } \end{venndiagram2sets}% \end{document}