Nth Problem with TikZ and Extensive Form GamesAdjust edge endpoints depending on node labelText alignment and form of connectors (edges) in tikz treeLatex and Game Theory: Combining an Extensive and Normal Form for a Three Players GameTikz Tree problem with positionMindmap and trees : length of edges for the 3rd level nodes and the rotation around the Root NodeGame tree in tikz - edge from parent node to label branchesGame theory trees, solid node size

Is “I am getting married with my sister” ambiguous?

Is there a limit on how long the casting (speaking aloud part of the spell) of Wish can be?

What professions would a medieval village with a population of 100 need?

Why does The Ancient One think differently about Doctor Strange in Endgame than the film Doctor Strange?

What does it mean to have a subnet mask /32?

What brought these couples together?

How do I find the fastest route from Heathrow to an address in London using all forms of transport?

Justifying the use of directed energy weapons

Is there a known non-euclidean geometry where two concentric circles of different radii can intersect? (as in the novel "The Universe Between")

Fancy String Replace

Does an object count as "being moved" when placed in a Bag of Holding before its wielder moves, and then after moving they take the object out again?

In what ways can a Non-paladin access Paladin spells?

Why is less being run unnecessarily by git?

Is it safe to remove the bottom chords of a series of garage roof trusses?

Vacuum collapse -- why do strong metals implode but glass doesn't?

Bankers with rancor

If all stars rotate, why was there a theory developed, that requires non-rotating stars?

What’s the difference between something that approaches infinity and something that is infinite.

What to say to a student who has failed?

When translating the law, who ensures that the wording does not change the meaning of the law?

Are illustrations in novels frowned upon?

Would it be possible to have a GMO that produces chocolate?

What magic extends life or grants immortality?

A square inside an equilateral triangle



Nth Problem with TikZ and Extensive Form Games


Adjust edge endpoints depending on node labelText alignment and form of connectors (edges) in tikz treeLatex and Game Theory: Combining an Extensive and Normal Form for a Three Players GameTikz Tree problem with positionMindmap and trees : length of edges for the 3rd level nodes and the rotation around the Root NodeGame tree in tikz - edge from parent node to label branchesGame theory trees, solid node size






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I'd like to typset the tree on the left of the image. Unfortunately, TikZ seems way to complicated to me... I tried with this code, without success enter image description here



documentclassbeamer
usepackagetikz % Game theory packages
usetikzlibrarycalc

% Node styles
tikzset
% Two node styles for game trees: solid and hollow
solid node/.style=circle,draw,inner sep=1.5,fill=black,
hollow node/.style=circle,draw,inner sep=1.5


begindocument

beginframe
begintikzpicture[scale=0.7,font=footnotesize]
% Specify spacing for each level of the tree
tikzstylelevel 1=[level distance=18mm,sibling distance=27mm]
tikzstylelevel 2=[level distance=18mm,sibling distance=27mm]
% The Tree
node(0)[hollow node,label=above:$1$]
childnode(1)[solid node, label=above:$2$]
childnode(0-1-1)[solid node, label=above:$1$] edge from parent node[left]$E$
childnode(0-1-2)[label=below:$(3,1)$] edge from parent node[right]$F$
childnode(0-1-1-1)[label=below:$(1,2)$] edge from parent node[right]$G$ % The error is here
edge from parent node[left,xshift=-3]$C$

childnode(2)[label=below:$(0,3)$] edge from parent node[right, xshift=3]$D$
;

endtikzpicture
endframe
enddocument


I'd like also to ask you if something easier for game theory than Tikz exists for trees.










share|improve this question









New contributor



Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    2















    I'd like to typset the tree on the left of the image. Unfortunately, TikZ seems way to complicated to me... I tried with this code, without success enter image description here



    documentclassbeamer
    usepackagetikz % Game theory packages
    usetikzlibrarycalc

    % Node styles
    tikzset
    % Two node styles for game trees: solid and hollow
    solid node/.style=circle,draw,inner sep=1.5,fill=black,
    hollow node/.style=circle,draw,inner sep=1.5


    begindocument

    beginframe
    begintikzpicture[scale=0.7,font=footnotesize]
    % Specify spacing for each level of the tree
    tikzstylelevel 1=[level distance=18mm,sibling distance=27mm]
    tikzstylelevel 2=[level distance=18mm,sibling distance=27mm]
    % The Tree
    node(0)[hollow node,label=above:$1$]
    childnode(1)[solid node, label=above:$2$]
    childnode(0-1-1)[solid node, label=above:$1$] edge from parent node[left]$E$
    childnode(0-1-2)[label=below:$(3,1)$] edge from parent node[right]$F$
    childnode(0-1-1-1)[label=below:$(1,2)$] edge from parent node[right]$G$ % The error is here
    edge from parent node[left,xshift=-3]$C$

    childnode(2)[label=below:$(0,3)$] edge from parent node[right, xshift=3]$D$
    ;

    endtikzpicture
    endframe
    enddocument


    I'd like also to ask you if something easier for game theory than Tikz exists for trees.










    share|improve this question









    New contributor



    Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      2












      2








      2


      1






      I'd like to typset the tree on the left of the image. Unfortunately, TikZ seems way to complicated to me... I tried with this code, without success enter image description here



      documentclassbeamer
      usepackagetikz % Game theory packages
      usetikzlibrarycalc

      % Node styles
      tikzset
      % Two node styles for game trees: solid and hollow
      solid node/.style=circle,draw,inner sep=1.5,fill=black,
      hollow node/.style=circle,draw,inner sep=1.5


      begindocument

      beginframe
      begintikzpicture[scale=0.7,font=footnotesize]
      % Specify spacing for each level of the tree
      tikzstylelevel 1=[level distance=18mm,sibling distance=27mm]
      tikzstylelevel 2=[level distance=18mm,sibling distance=27mm]
      % The Tree
      node(0)[hollow node,label=above:$1$]
      childnode(1)[solid node, label=above:$2$]
      childnode(0-1-1)[solid node, label=above:$1$] edge from parent node[left]$E$
      childnode(0-1-2)[label=below:$(3,1)$] edge from parent node[right]$F$
      childnode(0-1-1-1)[label=below:$(1,2)$] edge from parent node[right]$G$ % The error is here
      edge from parent node[left,xshift=-3]$C$

      childnode(2)[label=below:$(0,3)$] edge from parent node[right, xshift=3]$D$
      ;

      endtikzpicture
      endframe
      enddocument


      I'd like also to ask you if something easier for game theory than Tikz exists for trees.










      share|improve this question









      New contributor



      Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'd like to typset the tree on the left of the image. Unfortunately, TikZ seems way to complicated to me... I tried with this code, without success enter image description here



      documentclassbeamer
      usepackagetikz % Game theory packages
      usetikzlibrarycalc

      % Node styles
      tikzset
      % Two node styles for game trees: solid and hollow
      solid node/.style=circle,draw,inner sep=1.5,fill=black,
      hollow node/.style=circle,draw,inner sep=1.5


      begindocument

      beginframe
      begintikzpicture[scale=0.7,font=footnotesize]
      % Specify spacing for each level of the tree
      tikzstylelevel 1=[level distance=18mm,sibling distance=27mm]
      tikzstylelevel 2=[level distance=18mm,sibling distance=27mm]
      % The Tree
      node(0)[hollow node,label=above:$1$]
      childnode(1)[solid node, label=above:$2$]
      childnode(0-1-1)[solid node, label=above:$1$] edge from parent node[left]$E$
      childnode(0-1-2)[label=below:$(3,1)$] edge from parent node[right]$F$
      childnode(0-1-1-1)[label=below:$(1,2)$] edge from parent node[right]$G$ % The error is here
      edge from parent node[left,xshift=-3]$C$

      childnode(2)[label=below:$(0,3)$] edge from parent node[right, xshift=3]$D$
      ;

      endtikzpicture
      endframe
      enddocument


      I'd like also to ask you if something easier for game theory than Tikz exists for trees.







      tikz-trees game-tree






      share|improve this question









      New contributor



      Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 8 hours ago







      Matteo Bulgarelli













      New contributor



      Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      Matteo BulgarelliMatteo Bulgarelli

      112 bronze badges




      112 bronze badges




      New contributor



      Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Matteo Bulgarelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          3 Answers
          3






          active

          oldest

          votes


















          3













          Note that there is a package, istgame, which specializes on game trees. For general trees, forest is a very powerful tool. It allows you to draw your tree very easily.



          documentclassarticle
          usepackageforest
          forestsetel/.style=edge label=node [pos=0.7,above,outer sep=3pt] $#1$
          begindocument
          beginforest
          for tree=circle,fill,inner sep=1pt,calign=fixed edge angles
          [,label=above:1
          [,label=above left:2,el=A
          [,label=above left:1,el=C
          [,label=below:0,2,el=E ]
          [,label=below:2,0,el=F ]
          ]
          [,label=below:1,1,el=D]
          ]
          [,label=below:3,3,el=B]
          ]
          endforest
          enddocument


          enter image description here






          share|improve this answer








          New contributor



          Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




























            2













            I propose this short code with pstricks – more specifically pst-tree:



            documentclassarticle
            usepackage[utf8]inputenc
            usepackage[T1]fontenc
            usepackagefourier
            usepackagepst-tree
            usepackageauto-pst-pdf

            begindocument

            beginpspicture
            pssettnsep=1pt, labelsep=3pt
            pstree[nodesep=0pt, levelsep=1.5cm, treesep=3cm]Tc2pt~[ tnpos=a, tnsep=-1pt]1
            pstreeTdotnbput$ A $ uput[ul](pssucc)$ 2 $ %
            pstreeTdot nbput$ C $ uput[ul](pssucc)1%
            pstreeTdot nbput$ E $ uput[ul](pssucc)2%
            Tdotnaput$F$uput[d](pssucc)$0,2$%
            Tdot_$D$ uput[d](pssucc)$1,1$%
            Tdot_$B$ uput[d](pssucc)$3,3$
            endpspicture%

            enddocument


            enter image description here






            share|improve this answer
































              2













              My plain TikZ code is a bit long but easy to read.



              enter image description here



              documentclassarticle
              %documentclassbeamer
              usepackagetikz
              begindocument
              %beginframe
              begincenter
              begintikzpicture[scale=1,
              h/.style=circle,draw=magenta,thick,inner sep=1.5,
              s/.style=h,fill=magenta]
              path
              (0,0) node[h] (1) node[above] 1
              +(1,-1) node[s] (2b) node[below] 3,3
              ++(-1,-1) node[s] (2a) node[left] 2
              +(1,-1) node[s] (3b) node[below] 1,1
              ++(-1,-1) node[s] (3a) node[left] 1
              +(1,-1) node[s] (4b) node[below] 0,2
              +(-1,-1) node[s] (4a) node[below] 2,0;

              draw (1)
              --(2a) node[pos=.4,left]A
              --(3a) node[pos=.4,left]C
              --(4a) node[pos=.4,left]E
              (1)--(2b) node[pos=.4,right]B
              (2a)--(3b) node[pos=.4,right]D
              (3a)--(4b) node[pos=.4,right]F;

              newcommandputcolumn[6]%
              path #1 node#2
              ++(-90:1) node#3 ++(-90:1) node#4
              ++(-90:1) node#5 ++(-90:1) node#6;
              %
              beginscope[shift=(4,0)]
              draw (0,0) grid (2,-4);
              putcolumn(.5,.5)C2,00,23,33,3
              putcolumn(1.5,.5)D1,11,13,33,3
              putcolumn(-.5,.5)AEAFBEBF
              endscope
              endtikzpicture
              endcenter
              %endframe
              enddocument





              share|improve this answer

























              • it works well with article, but some errors appear with beamer. Did I miss something?

                – Black Mild
                4 hours ago






              • 2





                It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                – Schrödinger's cat
                3 hours ago














              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/3.0/"u003ecc by-sa 3.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
              );



              );






              Matteo Bulgarelli is a new contributor. Be nice, and check out our Code of Conduct.









              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f505169%2fnth-problem-with-tikz-and-extensive-form-games%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3













              Note that there is a package, istgame, which specializes on game trees. For general trees, forest is a very powerful tool. It allows you to draw your tree very easily.



              documentclassarticle
              usepackageforest
              forestsetel/.style=edge label=node [pos=0.7,above,outer sep=3pt] $#1$
              begindocument
              beginforest
              for tree=circle,fill,inner sep=1pt,calign=fixed edge angles
              [,label=above:1
              [,label=above left:2,el=A
              [,label=above left:1,el=C
              [,label=below:0,2,el=E ]
              [,label=below:2,0,el=F ]
              ]
              [,label=below:1,1,el=D]
              ]
              [,label=below:3,3,el=B]
              ]
              endforest
              enddocument


              enter image description here






              share|improve this answer








              New contributor



              Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                3













                Note that there is a package, istgame, which specializes on game trees. For general trees, forest is a very powerful tool. It allows you to draw your tree very easily.



                documentclassarticle
                usepackageforest
                forestsetel/.style=edge label=node [pos=0.7,above,outer sep=3pt] $#1$
                begindocument
                beginforest
                for tree=circle,fill,inner sep=1pt,calign=fixed edge angles
                [,label=above:1
                [,label=above left:2,el=A
                [,label=above left:1,el=C
                [,label=below:0,2,el=E ]
                [,label=below:2,0,el=F ]
                ]
                [,label=below:1,1,el=D]
                ]
                [,label=below:3,3,el=B]
                ]
                endforest
                enddocument


                enter image description here






                share|improve this answer








                New contributor



                Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  3












                  3








                  3







                  Note that there is a package, istgame, which specializes on game trees. For general trees, forest is a very powerful tool. It allows you to draw your tree very easily.



                  documentclassarticle
                  usepackageforest
                  forestsetel/.style=edge label=node [pos=0.7,above,outer sep=3pt] $#1$
                  begindocument
                  beginforest
                  for tree=circle,fill,inner sep=1pt,calign=fixed edge angles
                  [,label=above:1
                  [,label=above left:2,el=A
                  [,label=above left:1,el=C
                  [,label=below:0,2,el=E ]
                  [,label=below:2,0,el=F ]
                  ]
                  [,label=below:1,1,el=D]
                  ]
                  [,label=below:3,3,el=B]
                  ]
                  endforest
                  enddocument


                  enter image description here






                  share|improve this answer








                  New contributor



                  Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  Note that there is a package, istgame, which specializes on game trees. For general trees, forest is a very powerful tool. It allows you to draw your tree very easily.



                  documentclassarticle
                  usepackageforest
                  forestsetel/.style=edge label=node [pos=0.7,above,outer sep=3pt] $#1$
                  begindocument
                  beginforest
                  for tree=circle,fill,inner sep=1pt,calign=fixed edge angles
                  [,label=above:1
                  [,label=above left:2,el=A
                  [,label=above left:1,el=C
                  [,label=below:0,2,el=E ]
                  [,label=below:2,0,el=F ]
                  ]
                  [,label=below:1,1,el=D]
                  ]
                  [,label=below:3,3,el=B]
                  ]
                  endforest
                  enddocument


                  enter image description here







                  share|improve this answer








                  New contributor



                  Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share|improve this answer



                  share|improve this answer






                  New contributor



                  Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  answered 7 hours ago









                  Schrödinger's catSchrödinger's cat

                  1,5163 silver badges9 bronze badges




                  1,5163 silver badges9 bronze badges




                  New contributor



                  Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.




                  New contributor




                  Schrödinger's cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.




























                      2













                      I propose this short code with pstricks – more specifically pst-tree:



                      documentclassarticle
                      usepackage[utf8]inputenc
                      usepackage[T1]fontenc
                      usepackagefourier
                      usepackagepst-tree
                      usepackageauto-pst-pdf

                      begindocument

                      beginpspicture
                      pssettnsep=1pt, labelsep=3pt
                      pstree[nodesep=0pt, levelsep=1.5cm, treesep=3cm]Tc2pt~[ tnpos=a, tnsep=-1pt]1
                      pstreeTdotnbput$ A $ uput[ul](pssucc)$ 2 $ %
                      pstreeTdot nbput$ C $ uput[ul](pssucc)1%
                      pstreeTdot nbput$ E $ uput[ul](pssucc)2%
                      Tdotnaput$F$uput[d](pssucc)$0,2$%
                      Tdot_$D$ uput[d](pssucc)$1,1$%
                      Tdot_$B$ uput[d](pssucc)$3,3$
                      endpspicture%

                      enddocument


                      enter image description here






                      share|improve this answer





























                        2













                        I propose this short code with pstricks – more specifically pst-tree:



                        documentclassarticle
                        usepackage[utf8]inputenc
                        usepackage[T1]fontenc
                        usepackagefourier
                        usepackagepst-tree
                        usepackageauto-pst-pdf

                        begindocument

                        beginpspicture
                        pssettnsep=1pt, labelsep=3pt
                        pstree[nodesep=0pt, levelsep=1.5cm, treesep=3cm]Tc2pt~[ tnpos=a, tnsep=-1pt]1
                        pstreeTdotnbput$ A $ uput[ul](pssucc)$ 2 $ %
                        pstreeTdot nbput$ C $ uput[ul](pssucc)1%
                        pstreeTdot nbput$ E $ uput[ul](pssucc)2%
                        Tdotnaput$F$uput[d](pssucc)$0,2$%
                        Tdot_$D$ uput[d](pssucc)$1,1$%
                        Tdot_$B$ uput[d](pssucc)$3,3$
                        endpspicture%

                        enddocument


                        enter image description here






                        share|improve this answer



























                          2












                          2








                          2







                          I propose this short code with pstricks – more specifically pst-tree:



                          documentclassarticle
                          usepackage[utf8]inputenc
                          usepackage[T1]fontenc
                          usepackagefourier
                          usepackagepst-tree
                          usepackageauto-pst-pdf

                          begindocument

                          beginpspicture
                          pssettnsep=1pt, labelsep=3pt
                          pstree[nodesep=0pt, levelsep=1.5cm, treesep=3cm]Tc2pt~[ tnpos=a, tnsep=-1pt]1
                          pstreeTdotnbput$ A $ uput[ul](pssucc)$ 2 $ %
                          pstreeTdot nbput$ C $ uput[ul](pssucc)1%
                          pstreeTdot nbput$ E $ uput[ul](pssucc)2%
                          Tdotnaput$F$uput[d](pssucc)$0,2$%
                          Tdot_$D$ uput[d](pssucc)$1,1$%
                          Tdot_$B$ uput[d](pssucc)$3,3$
                          endpspicture%

                          enddocument


                          enter image description here






                          share|improve this answer













                          I propose this short code with pstricks – more specifically pst-tree:



                          documentclassarticle
                          usepackage[utf8]inputenc
                          usepackage[T1]fontenc
                          usepackagefourier
                          usepackagepst-tree
                          usepackageauto-pst-pdf

                          begindocument

                          beginpspicture
                          pssettnsep=1pt, labelsep=3pt
                          pstree[nodesep=0pt, levelsep=1.5cm, treesep=3cm]Tc2pt~[ tnpos=a, tnsep=-1pt]1
                          pstreeTdotnbput$ A $ uput[ul](pssucc)$ 2 $ %
                          pstreeTdot nbput$ C $ uput[ul](pssucc)1%
                          pstreeTdot nbput$ E $ uput[ul](pssucc)2%
                          Tdotnaput$F$uput[d](pssucc)$0,2$%
                          Tdot_$D$ uput[d](pssucc)$1,1$%
                          Tdot_$B$ uput[d](pssucc)$3,3$
                          endpspicture%

                          enddocument


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 5 hours ago









                          BernardBernard

                          189k7 gold badges85 silver badges224 bronze badges




                          189k7 gold badges85 silver badges224 bronze badges
























                              2













                              My plain TikZ code is a bit long but easy to read.



                              enter image description here



                              documentclassarticle
                              %documentclassbeamer
                              usepackagetikz
                              begindocument
                              %beginframe
                              begincenter
                              begintikzpicture[scale=1,
                              h/.style=circle,draw=magenta,thick,inner sep=1.5,
                              s/.style=h,fill=magenta]
                              path
                              (0,0) node[h] (1) node[above] 1
                              +(1,-1) node[s] (2b) node[below] 3,3
                              ++(-1,-1) node[s] (2a) node[left] 2
                              +(1,-1) node[s] (3b) node[below] 1,1
                              ++(-1,-1) node[s] (3a) node[left] 1
                              +(1,-1) node[s] (4b) node[below] 0,2
                              +(-1,-1) node[s] (4a) node[below] 2,0;

                              draw (1)
                              --(2a) node[pos=.4,left]A
                              --(3a) node[pos=.4,left]C
                              --(4a) node[pos=.4,left]E
                              (1)--(2b) node[pos=.4,right]B
                              (2a)--(3b) node[pos=.4,right]D
                              (3a)--(4b) node[pos=.4,right]F;

                              newcommandputcolumn[6]%
                              path #1 node#2
                              ++(-90:1) node#3 ++(-90:1) node#4
                              ++(-90:1) node#5 ++(-90:1) node#6;
                              %
                              beginscope[shift=(4,0)]
                              draw (0,0) grid (2,-4);
                              putcolumn(.5,.5)C2,00,23,33,3
                              putcolumn(1.5,.5)D1,11,13,33,3
                              putcolumn(-.5,.5)AEAFBEBF
                              endscope
                              endtikzpicture
                              endcenter
                              %endframe
                              enddocument





                              share|improve this answer

























                              • it works well with article, but some errors appear with beamer. Did I miss something?

                                – Black Mild
                                4 hours ago






                              • 2





                                It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                                – Schrödinger's cat
                                3 hours ago
















                              2













                              My plain TikZ code is a bit long but easy to read.



                              enter image description here



                              documentclassarticle
                              %documentclassbeamer
                              usepackagetikz
                              begindocument
                              %beginframe
                              begincenter
                              begintikzpicture[scale=1,
                              h/.style=circle,draw=magenta,thick,inner sep=1.5,
                              s/.style=h,fill=magenta]
                              path
                              (0,0) node[h] (1) node[above] 1
                              +(1,-1) node[s] (2b) node[below] 3,3
                              ++(-1,-1) node[s] (2a) node[left] 2
                              +(1,-1) node[s] (3b) node[below] 1,1
                              ++(-1,-1) node[s] (3a) node[left] 1
                              +(1,-1) node[s] (4b) node[below] 0,2
                              +(-1,-1) node[s] (4a) node[below] 2,0;

                              draw (1)
                              --(2a) node[pos=.4,left]A
                              --(3a) node[pos=.4,left]C
                              --(4a) node[pos=.4,left]E
                              (1)--(2b) node[pos=.4,right]B
                              (2a)--(3b) node[pos=.4,right]D
                              (3a)--(4b) node[pos=.4,right]F;

                              newcommandputcolumn[6]%
                              path #1 node#2
                              ++(-90:1) node#3 ++(-90:1) node#4
                              ++(-90:1) node#5 ++(-90:1) node#6;
                              %
                              beginscope[shift=(4,0)]
                              draw (0,0) grid (2,-4);
                              putcolumn(.5,.5)C2,00,23,33,3
                              putcolumn(1.5,.5)D1,11,13,33,3
                              putcolumn(-.5,.5)AEAFBEBF
                              endscope
                              endtikzpicture
                              endcenter
                              %endframe
                              enddocument





                              share|improve this answer

























                              • it works well with article, but some errors appear with beamer. Did I miss something?

                                – Black Mild
                                4 hours ago






                              • 2





                                It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                                – Schrödinger's cat
                                3 hours ago














                              2












                              2








                              2







                              My plain TikZ code is a bit long but easy to read.



                              enter image description here



                              documentclassarticle
                              %documentclassbeamer
                              usepackagetikz
                              begindocument
                              %beginframe
                              begincenter
                              begintikzpicture[scale=1,
                              h/.style=circle,draw=magenta,thick,inner sep=1.5,
                              s/.style=h,fill=magenta]
                              path
                              (0,0) node[h] (1) node[above] 1
                              +(1,-1) node[s] (2b) node[below] 3,3
                              ++(-1,-1) node[s] (2a) node[left] 2
                              +(1,-1) node[s] (3b) node[below] 1,1
                              ++(-1,-1) node[s] (3a) node[left] 1
                              +(1,-1) node[s] (4b) node[below] 0,2
                              +(-1,-1) node[s] (4a) node[below] 2,0;

                              draw (1)
                              --(2a) node[pos=.4,left]A
                              --(3a) node[pos=.4,left]C
                              --(4a) node[pos=.4,left]E
                              (1)--(2b) node[pos=.4,right]B
                              (2a)--(3b) node[pos=.4,right]D
                              (3a)--(4b) node[pos=.4,right]F;

                              newcommandputcolumn[6]%
                              path #1 node#2
                              ++(-90:1) node#3 ++(-90:1) node#4
                              ++(-90:1) node#5 ++(-90:1) node#6;
                              %
                              beginscope[shift=(4,0)]
                              draw (0,0) grid (2,-4);
                              putcolumn(.5,.5)C2,00,23,33,3
                              putcolumn(1.5,.5)D1,11,13,33,3
                              putcolumn(-.5,.5)AEAFBEBF
                              endscope
                              endtikzpicture
                              endcenter
                              %endframe
                              enddocument





                              share|improve this answer













                              My plain TikZ code is a bit long but easy to read.



                              enter image description here



                              documentclassarticle
                              %documentclassbeamer
                              usepackagetikz
                              begindocument
                              %beginframe
                              begincenter
                              begintikzpicture[scale=1,
                              h/.style=circle,draw=magenta,thick,inner sep=1.5,
                              s/.style=h,fill=magenta]
                              path
                              (0,0) node[h] (1) node[above] 1
                              +(1,-1) node[s] (2b) node[below] 3,3
                              ++(-1,-1) node[s] (2a) node[left] 2
                              +(1,-1) node[s] (3b) node[below] 1,1
                              ++(-1,-1) node[s] (3a) node[left] 1
                              +(1,-1) node[s] (4b) node[below] 0,2
                              +(-1,-1) node[s] (4a) node[below] 2,0;

                              draw (1)
                              --(2a) node[pos=.4,left]A
                              --(3a) node[pos=.4,left]C
                              --(4a) node[pos=.4,left]E
                              (1)--(2b) node[pos=.4,right]B
                              (2a)--(3b) node[pos=.4,right]D
                              (3a)--(4b) node[pos=.4,right]F;

                              newcommandputcolumn[6]%
                              path #1 node#2
                              ++(-90:1) node#3 ++(-90:1) node#4
                              ++(-90:1) node#5 ++(-90:1) node#6;
                              %
                              beginscope[shift=(4,0)]
                              draw (0,0) grid (2,-4);
                              putcolumn(.5,.5)C2,00,23,33,3
                              putcolumn(1.5,.5)D1,11,13,33,3
                              putcolumn(-.5,.5)AEAFBEBF
                              endscope
                              endtikzpicture
                              endcenter
                              %endframe
                              enddocument






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered 4 hours ago









                              Black MildBlack Mild

                              1,8969 silver badges15 bronze badges




                              1,8969 silver badges15 bronze badges















                              • it works well with article, but some errors appear with beamer. Did I miss something?

                                – Black Mild
                                4 hours ago






                              • 2





                                It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                                – Schrödinger's cat
                                3 hours ago


















                              • it works well with article, but some errors appear with beamer. Did I miss something?

                                – Black Mild
                                4 hours ago






                              • 2





                                It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                                – Schrödinger's cat
                                3 hours ago

















                              it works well with article, but some errors appear with beamer. Did I miss something?

                              – Black Mild
                              4 hours ago





                              it works well with article, but some errors appear with beamer. Did I miss something?

                              – Black Mild
                              4 hours ago




                              2




                              2





                              It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                              – Schrödinger's cat
                              3 hours ago






                              It works with beamer if you add [fragile], i.e. use beginframe[fragile]. (+1)

                              – Schrödinger's cat
                              3 hours ago











                              Matteo Bulgarelli is a new contributor. Be nice, and check out our Code of Conduct.









                              draft saved

                              draft discarded


















                              Matteo Bulgarelli is a new contributor. Be nice, and check out our Code of Conduct.












                              Matteo Bulgarelli is a new contributor. Be nice, and check out our Code of Conduct.











                              Matteo Bulgarelli is a new contributor. Be nice, and check out our Code of Conduct.














                              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%2f505169%2fnth-problem-with-tikz-and-extensive-form-games%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

                              ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

                              Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

                              19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу