Venn diagrams show + - = underneathHow can I put a coloured outline around fraction lines?venn diagrams using tikzTikZ: remove margin, padding, border around nodes containing imagesCaption/Space problem in tikz/pgf/subcaptionboxHow to draw a square and its diagonals with arrows?Editing Venn diagrams in LaTeXVenn Diagrams for 4 sets
Is there a penalty for switching targets?
Why is the final chapter of "The Midwich Cuckoos" entitled "Zellaby of Macedon"?
"Es gefällt ihm." How to identify similar exceptions?
How do I know how many sub-shells deep I am?
Is there any problem with students seeing faculty naked in university gym?
How do lasers measure short distances (<1cm) when electronics are too slow for time-of-flight to work?
Meaning/translation of title "The Light Fantastic" By Terry Pratchett
How much money should I save in order to generate $1000/month for the rest of my life?
Injection from two strings to one string
Is there a difference between historical fiction and creative non-fiction?
How long could a human survive completely without the immune system?
What is the difference between 山道【さんどう】 and 山道【やまみち】?
How to catch creatures that can predict the next few minutes?
Is there any way to ward an area against Sending?
Who became a professor?
Characters in a conversation
What is the size of Neverwinter?
What kind of nut is this
How does Donald Trump manage to remain so popular over a rather long period of time?
Does SQL Server's serializable isolation level lock entire table
Would we have more than 8 minutes of light, if the sun "went out"?
Power Adapter for Traveling to Scotland (I live in the US)
What is a practical use for this metric?
"To Verb a Noun"
Venn diagrams show + - = underneath
How can I put a coloured outline around fraction lines?venn diagrams using tikzTikZ: remove margin, padding, border around nodes containing imagesCaption/Space problem in tikz/pgf/subcaptionboxHow to draw a square and its diagonals with arrows?Editing Venn diagrams in LaTeXVenn Diagrams for 4 sets
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I have the following code:
documentclassarticle
usepackagevenndiagram
usepackagemulticol
begindocument
beginfigure
beginmulticols4
centering
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
$P(A cup B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
$P(A) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
$P(B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets
$P(A cap B)$
endmulticols
endfigure
enddocument
It produces this picture:
I want to add =
between the captions of the first and second images; +
between the captions of the second and third; and -
between the third and fourth.
That is, the caption should read: P(A cup B) = P(A) + P(B) - P(A cap B).
I want the symbols to align between each figure. That is, there is white space between the first two images and I want the = sign under that white space, in line with the caption. Same idea for the + and -.
How can I do this?
tikz-pgf venn-diagrams
add a comment
|
I have the following code:
documentclassarticle
usepackagevenndiagram
usepackagemulticol
begindocument
beginfigure
beginmulticols4
centering
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
$P(A cup B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
$P(A) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
$P(B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets
$P(A cap B)$
endmulticols
endfigure
enddocument
It produces this picture:
I want to add =
between the captions of the first and second images; +
between the captions of the second and third; and -
between the third and fourth.
That is, the caption should read: P(A cup B) = P(A) + P(B) - P(A cap B).
I want the symbols to align between each figure. That is, there is white space between the first two images and I want the = sign under that white space, in line with the caption. Same idea for the + and -.
How can I do this?
tikz-pgf venn-diagrams
add a comment
|
I have the following code:
documentclassarticle
usepackagevenndiagram
usepackagemulticol
begindocument
beginfigure
beginmulticols4
centering
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
$P(A cup B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
$P(A) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
$P(B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets
$P(A cap B)$
endmulticols
endfigure
enddocument
It produces this picture:
I want to add =
between the captions of the first and second images; +
between the captions of the second and third; and -
between the third and fourth.
That is, the caption should read: P(A cup B) = P(A) + P(B) - P(A cap B).
I want the symbols to align between each figure. That is, there is white space between the first two images and I want the = sign under that white space, in line with the caption. Same idea for the + and -.
How can I do this?
tikz-pgf venn-diagrams
I have the following code:
documentclassarticle
usepackagevenndiagram
usepackagemulticol
begindocument
beginfigure
beginmulticols4
centering
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
$P(A cup B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
$P(A) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
$P(B) $
hfill
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets
$P(A cap B)$
endmulticols
endfigure
enddocument
It produces this picture:
I want to add =
between the captions of the first and second images; +
between the captions of the second and third; and -
between the third and fourth.
That is, the caption should read: P(A cup B) = P(A) + P(B) - P(A cap B).
I want the symbols to align between each figure. That is, there is white space between the first two images and I want the = sign under that white space, in line with the caption. Same idea for the + and -.
How can I do this?
tikz-pgf venn-diagrams
tikz-pgf venn-diagrams
asked 9 hours ago
StatsSorceressStatsSorceress
2007 bronze badges
2007 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Two possible solutions using tabular
:
documentclassarticle
usepackagevenndiagram
begindocument
beginfigure
centering
begintabular*3c@c@c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
beginfigure
centering
setlengthtabcolsep2pt
begintabular*7c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
enddocument
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f510292%2fvenn-diagrams-show-underneath%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Two possible solutions using tabular
:
documentclassarticle
usepackagevenndiagram
begindocument
beginfigure
centering
begintabular*3c@c@c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
beginfigure
centering
setlengthtabcolsep2pt
begintabular*7c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
enddocument
add a comment
|
Two possible solutions using tabular
:
documentclassarticle
usepackagevenndiagram
begindocument
beginfigure
centering
begintabular*3c@c@c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
beginfigure
centering
setlengthtabcolsep2pt
begintabular*7c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
enddocument
add a comment
|
Two possible solutions using tabular
:
documentclassarticle
usepackagevenndiagram
begindocument
beginfigure
centering
begintabular*3c@c@c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
beginfigure
centering
setlengthtabcolsep2pt
begintabular*7c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
enddocument
Two possible solutions using tabular
:
documentclassarticle
usepackagevenndiagram
begindocument
beginfigure
centering
begintabular*3c@c@c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
beginfigure
centering
setlengthtabcolsep2pt
begintabular*7c
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillA
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillB
endvenndiagram2sets
&&
beginvenndiagram2sets[tikzoptions=scale=0.5]
fillACapB
endvenndiagram2sets\
$P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
endtabular
endfigure
enddocument
answered 9 hours ago
leandriisleandriis
20.8k1 gold badge11 silver badges40 bronze badges
20.8k1 gold badge11 silver badges40 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f510292%2fvenn-diagrams-show-underneath%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown