Venn diagrams show + - = underneathHow can I put a coloured outline around fraction lines?venn diagrams using...

I've been fired, was allowed to announce it as if I quit and given extra notice, how to handle the questions?

How much money should I save in order to generate $1000/month for the rest of my life?

How is the speed of nucleons in the nucleus measured?

Find the percentage

Who became a professor?

"Es gefällt ihm." How to identify similar exceptions?

What is the origin of the minced oath “Jiminy”?

How does Donald Trump manage to remain so popular over a rather long period of time?

Which accidental continues through the bar?

Why didn't Snape ask Dumbledore why he let "Moody" search his office?

Spiral Stumper Series: Instructionless Puzzle

Is there any problem with students seeing faculty naked in university gym?

Meaning/Translation of title "The Light Fantastic" By Terry Pratchet

What is the next number in the sequence 21, 21, 23, 20, 5, 25, 31, 24, ...?

Had there been instances of national states banning harmful imports before the Opium wars?

Is there a penalty for switching targets?

Why didn't he give Sam the antidote?

What should I do if I find a mistake in my submitted master's thesis?

Is there a difference between historical fiction and creative non-fiction?

Injection from two strings to one string

Minimum perfect squares needed to sum up to a target

How to know the size of a package

Should I be able to see patterns in a HS256 encoded JWT?

The work of mathematicians outside their professional environment



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;
}








4















I have the following code:



documentclass{article}

usepackage{venndiagram}
usepackage{multicol}

begin{document}

begin{figure}
begin{multicols}{4}
centering
begin{venndiagram2sets}[tikzoptions={scale=0.5}]
fillA fillB
end{venndiagram2sets}
$P(A cup B) $
hfill
begin{venndiagram2sets}[tikzoptions={scale=0.5}]
fillA
end{venndiagram2sets}
$P(A) $
hfill
begin{venndiagram2sets}[tikzoptions={scale=0.5}]
fillB
end{venndiagram2sets}
$P(B) $
hfill
begin{venndiagram2sets}[tikzoptions={scale=0.5}]
fillACapB
end{venndiagram2sets}
$P(A cap B)$
end{multicols}
end{figure}

end{document}


It produces this picture:



enter image description here



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?










share|improve this question































    4















    I have the following code:



    documentclass{article}

    usepackage{venndiagram}
    usepackage{multicol}

    begin{document}

    begin{figure}
    begin{multicols}{4}
    centering
    begin{venndiagram2sets}[tikzoptions={scale=0.5}]
    fillA fillB
    end{venndiagram2sets}
    $P(A cup B) $
    hfill
    begin{venndiagram2sets}[tikzoptions={scale=0.5}]
    fillA
    end{venndiagram2sets}
    $P(A) $
    hfill
    begin{venndiagram2sets}[tikzoptions={scale=0.5}]
    fillB
    end{venndiagram2sets}
    $P(B) $
    hfill
    begin{venndiagram2sets}[tikzoptions={scale=0.5}]
    fillACapB
    end{venndiagram2sets}
    $P(A cap B)$
    end{multicols}
    end{figure}

    end{document}


    It produces this picture:



    enter image description here



    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?










    share|improve this question



























      4












      4








      4


      2






      I have the following code:



      documentclass{article}

      usepackage{venndiagram}
      usepackage{multicol}

      begin{document}

      begin{figure}
      begin{multicols}{4}
      centering
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillA fillB
      end{venndiagram2sets}
      $P(A cup B) $
      hfill
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillA
      end{venndiagram2sets}
      $P(A) $
      hfill
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillB
      end{venndiagram2sets}
      $P(B) $
      hfill
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillACapB
      end{venndiagram2sets}
      $P(A cap B)$
      end{multicols}
      end{figure}

      end{document}


      It produces this picture:



      enter image description here



      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?










      share|improve this question














      I have the following code:



      documentclass{article}

      usepackage{venndiagram}
      usepackage{multicol}

      begin{document}

      begin{figure}
      begin{multicols}{4}
      centering
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillA fillB
      end{venndiagram2sets}
      $P(A cup B) $
      hfill
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillA
      end{venndiagram2sets}
      $P(A) $
      hfill
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillB
      end{venndiagram2sets}
      $P(B) $
      hfill
      begin{venndiagram2sets}[tikzoptions={scale=0.5}]
      fillACapB
      end{venndiagram2sets}
      $P(A cap B)$
      end{multicols}
      end{figure}

      end{document}


      It produces this picture:



      enter image description here



      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      StatsSorceressStatsSorceress

      2007 bronze badges




      2007 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          4
















          Two possible solutions using tabular:



          enter image description here



          documentclass{article}
          usepackage{venndiagram}


          begin{document}

          begin{figure}
          centering
          begin{tabular}{*{3}{c@{}c@{}}c}
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillA fillB
          end{venndiagram2sets}
          &&
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillA
          end{venndiagram2sets}
          &&
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillB
          end{venndiagram2sets}
          &&
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillACapB
          end{venndiagram2sets}\

          $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
          end{tabular}
          end{figure}

          begin{figure}
          centering
          setlength{tabcolsep}{2pt}
          begin{tabular}{*{7}{c}}
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillA fillB
          end{venndiagram2sets}
          &&
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillA
          end{venndiagram2sets}
          &&
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillB
          end{venndiagram2sets}
          &&
          begin{venndiagram2sets}[tikzoptions={scale=0.5}]
          fillACapB
          end{venndiagram2sets}\

          $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
          end{tabular}
          end{figure}

          end{document}





          share|improve this answer



























            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
            });


            }
            });















            draft saved

            draft discarded
















            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









            4
















            Two possible solutions using tabular:



            enter image description here



            documentclass{article}
            usepackage{venndiagram}


            begin{document}

            begin{figure}
            centering
            begin{tabular}{*{3}{c@{}c@{}}c}
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillA fillB
            end{venndiagram2sets}
            &&
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillA
            end{venndiagram2sets}
            &&
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillB
            end{venndiagram2sets}
            &&
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillACapB
            end{venndiagram2sets}\

            $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
            end{tabular}
            end{figure}

            begin{figure}
            centering
            setlength{tabcolsep}{2pt}
            begin{tabular}{*{7}{c}}
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillA fillB
            end{venndiagram2sets}
            &&
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillA
            end{venndiagram2sets}
            &&
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillB
            end{venndiagram2sets}
            &&
            begin{venndiagram2sets}[tikzoptions={scale=0.5}]
            fillACapB
            end{venndiagram2sets}\

            $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
            end{tabular}
            end{figure}

            end{document}





            share|improve this answer






























              4
















              Two possible solutions using tabular:



              enter image description here



              documentclass{article}
              usepackage{venndiagram}


              begin{document}

              begin{figure}
              centering
              begin{tabular}{*{3}{c@{}c@{}}c}
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillA fillB
              end{venndiagram2sets}
              &&
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillA
              end{venndiagram2sets}
              &&
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillB
              end{venndiagram2sets}
              &&
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillACapB
              end{venndiagram2sets}\

              $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
              end{tabular}
              end{figure}

              begin{figure}
              centering
              setlength{tabcolsep}{2pt}
              begin{tabular}{*{7}{c}}
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillA fillB
              end{venndiagram2sets}
              &&
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillA
              end{venndiagram2sets}
              &&
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillB
              end{venndiagram2sets}
              &&
              begin{venndiagram2sets}[tikzoptions={scale=0.5}]
              fillACapB
              end{venndiagram2sets}\

              $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
              end{tabular}
              end{figure}

              end{document}





              share|improve this answer




























                4














                4










                4









                Two possible solutions using tabular:



                enter image description here



                documentclass{article}
                usepackage{venndiagram}


                begin{document}

                begin{figure}
                centering
                begin{tabular}{*{3}{c@{}c@{}}c}
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillACapB
                end{venndiagram2sets}\

                $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
                end{tabular}
                end{figure}

                begin{figure}
                centering
                setlength{tabcolsep}{2pt}
                begin{tabular}{*{7}{c}}
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillACapB
                end{venndiagram2sets}\

                $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
                end{tabular}
                end{figure}

                end{document}





                share|improve this answer













                Two possible solutions using tabular:



                enter image description here



                documentclass{article}
                usepackage{venndiagram}


                begin{document}

                begin{figure}
                centering
                begin{tabular}{*{3}{c@{}c@{}}c}
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillACapB
                end{venndiagram2sets}\

                $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
                end{tabular}
                end{figure}

                begin{figure}
                centering
                setlength{tabcolsep}{2pt}
                begin{tabular}{*{7}{c}}
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillA
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillB
                end{venndiagram2sets}
                &&
                begin{venndiagram2sets}[tikzoptions={scale=0.5}]
                fillACapB
                end{venndiagram2sets}\

                $P(A cup B) $ & = & $P(A) $ & + & $P(B) $ & - & $P(A cap B)$\
                end{tabular}
                end{figure}

                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 8 hours ago









                leandriisleandriis

                20.8k1 gold badge11 silver badges40 bronze badges




                20.8k1 gold badge11 silver badges40 bronze badges


































                    draft saved

                    draft discarded



















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...