input venn;
pair A,B,T[];
A = (.4venn_width-.5venn_circle_diameter,.5venn_height);
B = (.6venn_width+.5venn_circle_diameter,.5venn_height);
T1 = (.5venn_width,0);
T2 = (.5venn_width,.5venn_height-.5venn_circle_diameter);
transform S;
S = identity shifted (4cm,0);
beginfig(1);
draw_venn_two(false,true,true,true);
label.lft(btex $A$ etex,A);
label.rt(btex $B$ etex,B);
label.bot(btex $A\cup B$ etex,T1);
draw_venn_two(false,true,true,true) transformed S withcolor white;
label.lft(btex $A$ etex,A transformed S);
label.rt(btex $B$ etex,B transformed S);
label.bot(btex $A\cup B$ etex,T2 transformed S);
endfig;
end
|