This question is related by two questions:
Venndiagram with 4-sets: how to change the .sty file with modifications
Two-set and three-set diagrams: venndiagram package
Now I have this code with 3 sets:
\documentclass[a4paper,12pt]{article}
\usepackage{venndiagram}
\begin{document}
\begin{venndiagram3sets}[labelOnlyA={5},labelOnlyB={4},labelOnlyC={2},
labelOnlyAB={1},labelOnlyAC={3},labelOnlyBC={4},labelABC={5},
labelNotABC={8}]
\setpostvennhook{\node[above right] at (venn top right){$|U|=30$};}
\end{venndiagram3sets}
\end{document}
and another with 2 sets:
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb,venndiagram}
\begin{document}
\begin{venndiagram2sets}[labelOnlyA={5},labelOnlyB={7}, labelAB={4},labelNotAB={15}]
\setpostvennhook{\node[above right] at (venn top right){$|U|=30$};}
\end{venndiagram2sets}
\end{document}
My requests are:
- Is it possible to change the label of
A,BorCwith other letters (for exampleM,F,O, etc.) usingvenndiagrampackage for two or three sets of the drawing?- Is it possible to coloured only the circle of the sets using
venndiagrampackage for two or three sets of the drawing?




\fill…macros. It also has theshadekey. – Qrrbrbirlbel Oct 28 '23 at 22:56\@venn@shade(or use the shade key outside of the optional argument of the environments). We can of course define a bunch of commands that so this for you or patch all the\fill…macros (but most of them are being defined right there in the\begin{venndiagramXsets}). It's either manual, half-automatic with another set of macros or reimplementation. – Qrrbrbirlbel Oct 29 '23 at 20:01