Game theory trees, solid node size The Next CEO of Stack OverflowGame tree with Forest - circle at node not joined to edges

How to avoid supervisors with prejudiced views?

Pulling the principal components out of a DimensionReducerFunction?

How to Implement Deterministic Encryption Safely in .NET

How to explain the utility of binomial logistic regression when the predictors are purely categorical

Can Sneak Attack be used when hitting with an improvised weapon?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Help/tips for a first time writer?

How do I fit a non linear curve?

Can I use the word “Senior” as part of a job title directly in German?

Won the lottery - how do I keep the money?

Would a completely good Muggle be able to use a wand?

In the "Harry Potter and the Order of the Phoenix" videogame, what potion is used to sabotage Umbridge's speakers?

Where do students learn to solve polynomial equations these days?

Is it okay to majorly distort historical facts while writing a fiction story?

What is the difference between "hamstring tendon" and "common hamstring tendon"?

Audio Conversion With ADS1243

Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank

Is it correct to say moon starry nights?

Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens

What does "shotgun unity" refer to here in this sentence?

Can this note be analyzed as a non-chord tone?

Is there an equivalent of cd - for cp or mv

What is the difference between Statistical Mechanics and Quantum Mechanics

What connection does MS Office have to Netscape Navigator?



Game theory trees, solid node size



The Next CEO of Stack OverflowGame tree with Forest - circle at node not joined to edges










5















I am relatively new to latex and work in overleaf(not sure if that helps?). I am trying to create a game tree. I currently have a few problems.



  1. I am not sure how to specify the size of the node (so that it is small enough to look like a node and not a huge circle).


  2. I wanted to take the "Nature", "P1", "P2", and so on into circles (hallow).


  3. I am not sure how to write the numbers in terminal nodes in columns rather than rows, and command doesn't help.


  4. I would really like to tilt the second, 3rd and 4th level edges of the trees, the long ones, that lead to the last 2 "P2"s, so that the latters are closer to each other, but I don't seem to find a way to do this.


  5. Is there a way to make a particular edge thicker or double it instead of colouring?


Thanks in advance.



Here is what I have so far:



documentclass[11pt]article
usepackage[utf8]inputenc
usepackagemultirow
usepackage[margin=1in]geometry
usepackageamsmath,amsthm,amssymb,amsfonts
usepackagetikz %for game theory stuff
usetikzlibrarycalc


newcommandoverbar[1]mkern 1.5muoverlinemkern-1.5mu#1mkern-1.5mumkern 1.5mu

newenvironmentproblem[2][Problem]begintrivlist
item[hskip labelsep bfseries #1hskip labelsep bfseries #2.]endtrivlist


titleMath 350 \ Homework 4
authorElen Khachatran
datetoday


begindocument
maketitle


beginfigure
centering
captionCaption

begintikzpicture[scale=1,font=footnotesize]
tikzstylesolid node=[circle,draw,inner sep=1.2,fill=black];
tikzstylehollow node=[circle,draw,inner sep=1.2];
tikzstylelevel 1=[level distance=30mm,sibling distance=30mm]
tikzstylelevel 2=[level distance=25mm,sibling distance=10mm]
tikzstylelevel 3=[level distance=20mm,sibling distance=10mm]
tikzstylelevel 4=[level distance=20mm,sibling distance=50mm]
tikzstylelevel 5=[level distance=28mm,sibling distance=25mm]
tikzstylelevel 6=[level distance=28mm,sibling distance=50mm]
node Nature
child node (1)P1
child node (7)$-1, 1$
edge from parent
node[left, pos=0.6, xshift=-2] c

child
child
childnode(8)[right, pos=0.6, xshift=-5]P2
child node(27)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (28)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r

edge from parent
node[left, pos=0.6, xshift=-5] $JQK$
node[left, pos=0.2, xshift=-5] $ p_1 $

child node (2)P1
child node (9)$-1, 1$
edge from parent
node[right, pos=0.6, xshift=-15] c
child node(10)P2
child node (19)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (20)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $JKQ$
node[right, pos=0.2, xshift=-5] $p$

child node (3)P1
child node (11)P2
child node (21)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-12] f
child node (22)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(12)$-1,1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $QKJ$
node[right, pos=0.2, xshift=-5] $p$

child node (4)P1
child node (13)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] c

child node(14)P2
child node (23) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (24) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $QJK$
node[right, pos=0.2, xshift=-5] $ p$

child node (5)P1
child node (15)P2
child node (25) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (26) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(16)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KJQ$
node[right, pos=0.2, xshift=-5] $p$

child node (6)P1
child
child
child node (17)P2
child node (27)[solid node]$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] r
child node$2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(18)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KQJ$
node[right, pos=0.2, xshift=-5] $p$
;
draw[dashed,-] (1) -- (2);
draw[dashed,-] (3) -- (4);
draw[dashed,-] (5) -- (6);
draw[dashed,-] (10) -- (11);
draw[dashed,-] (14) -- (15);
draw[dashed,-] (8) -- (17);

endtikzpicture
endfigure

enddocument


enter image description here










share|improve this question









New contributor




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




















  • Welcome to TeX.SE!

    – Kurt
    2 days ago















5















I am relatively new to latex and work in overleaf(not sure if that helps?). I am trying to create a game tree. I currently have a few problems.



  1. I am not sure how to specify the size of the node (so that it is small enough to look like a node and not a huge circle).


  2. I wanted to take the "Nature", "P1", "P2", and so on into circles (hallow).


  3. I am not sure how to write the numbers in terminal nodes in columns rather than rows, and command doesn't help.


  4. I would really like to tilt the second, 3rd and 4th level edges of the trees, the long ones, that lead to the last 2 "P2"s, so that the latters are closer to each other, but I don't seem to find a way to do this.


  5. Is there a way to make a particular edge thicker or double it instead of colouring?


Thanks in advance.



Here is what I have so far:



documentclass[11pt]article
usepackage[utf8]inputenc
usepackagemultirow
usepackage[margin=1in]geometry
usepackageamsmath,amsthm,amssymb,amsfonts
usepackagetikz %for game theory stuff
usetikzlibrarycalc


newcommandoverbar[1]mkern 1.5muoverlinemkern-1.5mu#1mkern-1.5mumkern 1.5mu

newenvironmentproblem[2][Problem]begintrivlist
item[hskip labelsep bfseries #1hskip labelsep bfseries #2.]endtrivlist


titleMath 350 \ Homework 4
authorElen Khachatran
datetoday


begindocument
maketitle


beginfigure
centering
captionCaption

begintikzpicture[scale=1,font=footnotesize]
tikzstylesolid node=[circle,draw,inner sep=1.2,fill=black];
tikzstylehollow node=[circle,draw,inner sep=1.2];
tikzstylelevel 1=[level distance=30mm,sibling distance=30mm]
tikzstylelevel 2=[level distance=25mm,sibling distance=10mm]
tikzstylelevel 3=[level distance=20mm,sibling distance=10mm]
tikzstylelevel 4=[level distance=20mm,sibling distance=50mm]
tikzstylelevel 5=[level distance=28mm,sibling distance=25mm]
tikzstylelevel 6=[level distance=28mm,sibling distance=50mm]
node Nature
child node (1)P1
child node (7)$-1, 1$
edge from parent
node[left, pos=0.6, xshift=-2] c

child
child
childnode(8)[right, pos=0.6, xshift=-5]P2
child node(27)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (28)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r

edge from parent
node[left, pos=0.6, xshift=-5] $JQK$
node[left, pos=0.2, xshift=-5] $ p_1 $

child node (2)P1
child node (9)$-1, 1$
edge from parent
node[right, pos=0.6, xshift=-15] c
child node(10)P2
child node (19)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (20)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $JKQ$
node[right, pos=0.2, xshift=-5] $p$

child node (3)P1
child node (11)P2
child node (21)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-12] f
child node (22)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(12)$-1,1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $QKJ$
node[right, pos=0.2, xshift=-5] $p$

child node (4)P1
child node (13)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] c

child node(14)P2
child node (23) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (24) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $QJK$
node[right, pos=0.2, xshift=-5] $ p$

child node (5)P1
child node (15)P2
child node (25) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (26) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(16)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KJQ$
node[right, pos=0.2, xshift=-5] $p$

child node (6)P1
child
child
child node (17)P2
child node (27)[solid node]$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] r
child node$2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(18)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KQJ$
node[right, pos=0.2, xshift=-5] $p$
;
draw[dashed,-] (1) -- (2);
draw[dashed,-] (3) -- (4);
draw[dashed,-] (5) -- (6);
draw[dashed,-] (10) -- (11);
draw[dashed,-] (14) -- (15);
draw[dashed,-] (8) -- (17);

endtikzpicture
endfigure

enddocument


enter image description here










share|improve this question









New contributor




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




















  • Welcome to TeX.SE!

    – Kurt
    2 days ago













5












5








5


0






I am relatively new to latex and work in overleaf(not sure if that helps?). I am trying to create a game tree. I currently have a few problems.



  1. I am not sure how to specify the size of the node (so that it is small enough to look like a node and not a huge circle).


  2. I wanted to take the "Nature", "P1", "P2", and so on into circles (hallow).


  3. I am not sure how to write the numbers in terminal nodes in columns rather than rows, and command doesn't help.


  4. I would really like to tilt the second, 3rd and 4th level edges of the trees, the long ones, that lead to the last 2 "P2"s, so that the latters are closer to each other, but I don't seem to find a way to do this.


  5. Is there a way to make a particular edge thicker or double it instead of colouring?


Thanks in advance.



Here is what I have so far:



documentclass[11pt]article
usepackage[utf8]inputenc
usepackagemultirow
usepackage[margin=1in]geometry
usepackageamsmath,amsthm,amssymb,amsfonts
usepackagetikz %for game theory stuff
usetikzlibrarycalc


newcommandoverbar[1]mkern 1.5muoverlinemkern-1.5mu#1mkern-1.5mumkern 1.5mu

newenvironmentproblem[2][Problem]begintrivlist
item[hskip labelsep bfseries #1hskip labelsep bfseries #2.]endtrivlist


titleMath 350 \ Homework 4
authorElen Khachatran
datetoday


begindocument
maketitle


beginfigure
centering
captionCaption

begintikzpicture[scale=1,font=footnotesize]
tikzstylesolid node=[circle,draw,inner sep=1.2,fill=black];
tikzstylehollow node=[circle,draw,inner sep=1.2];
tikzstylelevel 1=[level distance=30mm,sibling distance=30mm]
tikzstylelevel 2=[level distance=25mm,sibling distance=10mm]
tikzstylelevel 3=[level distance=20mm,sibling distance=10mm]
tikzstylelevel 4=[level distance=20mm,sibling distance=50mm]
tikzstylelevel 5=[level distance=28mm,sibling distance=25mm]
tikzstylelevel 6=[level distance=28mm,sibling distance=50mm]
node Nature
child node (1)P1
child node (7)$-1, 1$
edge from parent
node[left, pos=0.6, xshift=-2] c

child
child
childnode(8)[right, pos=0.6, xshift=-5]P2
child node(27)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (28)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r

edge from parent
node[left, pos=0.6, xshift=-5] $JQK$
node[left, pos=0.2, xshift=-5] $ p_1 $

child node (2)P1
child node (9)$-1, 1$
edge from parent
node[right, pos=0.6, xshift=-15] c
child node(10)P2
child node (19)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (20)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $JKQ$
node[right, pos=0.2, xshift=-5] $p$

child node (3)P1
child node (11)P2
child node (21)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-12] f
child node (22)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(12)$-1,1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $QKJ$
node[right, pos=0.2, xshift=-5] $p$

child node (4)P1
child node (13)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] c

child node(14)P2
child node (23) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (24) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $QJK$
node[right, pos=0.2, xshift=-5] $ p$

child node (5)P1
child node (15)P2
child node (25) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (26) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(16)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KJQ$
node[right, pos=0.2, xshift=-5] $p$

child node (6)P1
child
child
child node (17)P2
child node (27)[solid node]$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] r
child node$2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(18)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KQJ$
node[right, pos=0.2, xshift=-5] $p$
;
draw[dashed,-] (1) -- (2);
draw[dashed,-] (3) -- (4);
draw[dashed,-] (5) -- (6);
draw[dashed,-] (10) -- (11);
draw[dashed,-] (14) -- (15);
draw[dashed,-] (8) -- (17);

endtikzpicture
endfigure

enddocument


enter image description here










share|improve this question









New contributor




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












I am relatively new to latex and work in overleaf(not sure if that helps?). I am trying to create a game tree. I currently have a few problems.



  1. I am not sure how to specify the size of the node (so that it is small enough to look like a node and not a huge circle).


  2. I wanted to take the "Nature", "P1", "P2", and so on into circles (hallow).


  3. I am not sure how to write the numbers in terminal nodes in columns rather than rows, and command doesn't help.


  4. I would really like to tilt the second, 3rd and 4th level edges of the trees, the long ones, that lead to the last 2 "P2"s, so that the latters are closer to each other, but I don't seem to find a way to do this.


  5. Is there a way to make a particular edge thicker or double it instead of colouring?


Thanks in advance.



Here is what I have so far:



documentclass[11pt]article
usepackage[utf8]inputenc
usepackagemultirow
usepackage[margin=1in]geometry
usepackageamsmath,amsthm,amssymb,amsfonts
usepackagetikz %for game theory stuff
usetikzlibrarycalc


newcommandoverbar[1]mkern 1.5muoverlinemkern-1.5mu#1mkern-1.5mumkern 1.5mu

newenvironmentproblem[2][Problem]begintrivlist
item[hskip labelsep bfseries #1hskip labelsep bfseries #2.]endtrivlist


titleMath 350 \ Homework 4
authorElen Khachatran
datetoday


begindocument
maketitle


beginfigure
centering
captionCaption

begintikzpicture[scale=1,font=footnotesize]
tikzstylesolid node=[circle,draw,inner sep=1.2,fill=black];
tikzstylehollow node=[circle,draw,inner sep=1.2];
tikzstylelevel 1=[level distance=30mm,sibling distance=30mm]
tikzstylelevel 2=[level distance=25mm,sibling distance=10mm]
tikzstylelevel 3=[level distance=20mm,sibling distance=10mm]
tikzstylelevel 4=[level distance=20mm,sibling distance=50mm]
tikzstylelevel 5=[level distance=28mm,sibling distance=25mm]
tikzstylelevel 6=[level distance=28mm,sibling distance=50mm]
node Nature
child node (1)P1
child node (7)$-1, 1$
edge from parent
node[left, pos=0.6, xshift=-2] c

child
child
childnode(8)[right, pos=0.6, xshift=-5]P2
child node(27)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (28)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r

edge from parent
node[left, pos=0.6, xshift=-5] $JQK$
node[left, pos=0.2, xshift=-5] $ p_1 $

child node (2)P1
child node (9)$-1, 1$
edge from parent
node[right, pos=0.6, xshift=-15] c
child node(10)P2
child node (19)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (20)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $JKQ$
node[right, pos=0.2, xshift=-5] $p$

child node (3)P1
child node (11)P2
child node (21)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-12] f
child node (22)$-2,2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(12)$-1,1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $QKJ$
node[right, pos=0.2, xshift=-5] $p$

child node (4)P1
child node (13)$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] c

child node(14)P2
child node (23) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (24) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=2] r
edge from parent
node[right, pos=0.6, xshift=-5] $QJK$
node[right, pos=0.2, xshift=-5] $ p$

child node (5)P1
child node (15)P2
child node (25) $1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] f
child node (26) $2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(16)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KJQ$
node[right, pos=0.2, xshift=-5] $p$

child node (6)P1
child
child
child node (17)P2
child node (27)[solid node]$1,-1$
edge from parent
node[right, pos=0.6, xshift=-15] r
child node$2,-2$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-15] r
child node(18)$1,-1$
edge from parent
node[right, pos=0.6, xshift=2] c
edge from parent
node[right, pos=0.6, xshift=-5] $KQJ$
node[right, pos=0.2, xshift=-5] $p$
;
draw[dashed,-] (1) -- (2);
draw[dashed,-] (3) -- (4);
draw[dashed,-] (5) -- (6);
draw[dashed,-] (10) -- (11);
draw[dashed,-] (14) -- (15);
draw[dashed,-] (8) -- (17);

endtikzpicture
endfigure

enddocument


enter image description here







game-tree






share|improve this question









New contributor




Elen Khachatryan 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




Elen Khachatryan 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 2 days ago









Kurt

40.2k850164




40.2k850164






New contributor




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









asked 2 days ago









Elen KhachatryanElen Khachatryan

263




263




New contributor




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





New contributor





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






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












  • Welcome to TeX.SE!

    – Kurt
    2 days ago

















  • Welcome to TeX.SE!

    – Kurt
    2 days ago
















Welcome to TeX.SE!

– Kurt
2 days ago





Welcome to TeX.SE!

– Kurt
2 days ago










1 Answer
1






active

oldest

votes


















6














i try to clean-up your code and add option hn (hollow node) to nodes which are in circle. for the root node i suggest to use rectangle with rounded corners. the end nodes i wouldn't put in circle, eventually i would add gray background (in mwe below it is showed for last two end nodes). if you liked such solution, you only need to add node style gn (gray node) to all end nodes.



since the tree is very wide, i reduce page borders to 20 mm. i also remove from preamble all what is not related to tree diagram.



documentclass[11pt]article
usepackage[margin=20mm]geometry
usepackage[skip=1ex]caption
usepackagetikz %for game theory stuff

%---------------- show page layout. don't use in a real document!
usepackageshowframe
renewcommandShowFrameLinethickness0.15pt
renewcommand*ShowFrameColorcolorred
%---------------------------------------------------------------%

begindocument

beginfigure
centering
captionCaption

begintikzpicture[
font = footnotesize,
hn/.style = circle, draw,
gn/.style = rounded corners, fill=gray!20, inner xsep=2pt,
level 1/.style = level distance = 30mm,sibling distance=31mm,
level 2/.style = level distance = 20mm,sibling distance=10mm,
level 4/.style = level distance = 5mm,
level 5/.style = level distance = 20mm
]
node[draw, rounded corners] Nature
child node (1) [hn] P1
child node (7) $-1, 1$
edge from parent node[left] c

child
child
child node (8) [hn] P2
child node (27) $1,-1$
edge from parent node[left] f
child node (28)$-2,2$
edge from parent node[right] c

edge from parent node[right] r

edge from parent node[left=1mm] $JQK$
node[left=1mm, pos=0.25] $p_1$

child node (2) [hn] P1
child node (9) $-1, 1$
edge from parent node[right] c

child node (10) [hn] P2
child node (19) $1,-1$
edge from parent node[right, pos=0.6, xshift=-15] f
child node (20) $-2,2$
edge from parent node[right, pos=0.6, xshift=2] c

edge from parent node[right, pos=0.6, xshift=2] r

edge from parent node[left=1mm] $JKQ$
node[left=1mm, pos=0.3] $p$

child node (3) [hn] P1
child node (11) [hn] P2
child node (21) $1,-1$
edge from parent node[right=1mm] f
child node (22) $-2,2$
edge from parent node[right=1mm] c
edge from parent node[right=1mm] r
child node(12) $-1,1$
edge from parent node[right, pos=0.6, xshift=2] c

edge from parent node[left=1mm] $QKJ$
node[left=1mm, pos=0.35] $p$

child node (4) [hn] P1
child node (13) $1,-1$
edge from parent node[right=1mm] c

child node(14) [hn] P2
child node (23) $1,-1$
edge from parent node[right=1mm] f
child node (24) $2,-2$
edge from parent node[right=1mm] c

edge from parent node[right=1mm] r

edge from parent node[right=1mm] $QJK$
node[right=1mm, pos=0.35] $ p$

child node (5) [hn] P1
child node (15) [hn] P2
child node (25)$1,-1$
edge from parent node[right=1mm] f

child node (26) $2,-2$
edge from parent node[right=1mm] c

edge from parent node[right=1mm] r
child node(16) $1,-1$
edge from parent node[right=1mm] c

edge from parent node[right=1mm] $KJQ$
node[right=1mm, pos=0.3] $p$

child node (6) [hn] P1
child
child
child node (17) [hn] P2
child node (27) [gn] $1,-1$
edge from parent node[right=1mm] r

child node [gn] $2,-2$
edge from parent node[right=1mm] c


edge from parent node[right=1mm] r

child node(18) $1,-1$
edge from parent node[right=1mm] c

edge from parent node[right=1mm] $KQJ$
node[right=1mm,pos=0.25] $p$
;
draw[dashed] (1) -- (2)
(3) -- (4)
(5) -- (6)
(10) -- (11)
(14) -- (15)
(8) -- (17);
endtikzpicture
endfigure


enter image description here



(red lines indicate text borders)






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



    );






    Elen Khachatryan 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%2f482040%2fgame-theory-trees-solid-node-size%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









    6














    i try to clean-up your code and add option hn (hollow node) to nodes which are in circle. for the root node i suggest to use rectangle with rounded corners. the end nodes i wouldn't put in circle, eventually i would add gray background (in mwe below it is showed for last two end nodes). if you liked such solution, you only need to add node style gn (gray node) to all end nodes.



    since the tree is very wide, i reduce page borders to 20 mm. i also remove from preamble all what is not related to tree diagram.



    documentclass[11pt]article
    usepackage[margin=20mm]geometry
    usepackage[skip=1ex]caption
    usepackagetikz %for game theory stuff

    %---------------- show page layout. don't use in a real document!
    usepackageshowframe
    renewcommandShowFrameLinethickness0.15pt
    renewcommand*ShowFrameColorcolorred
    %---------------------------------------------------------------%

    begindocument

    beginfigure
    centering
    captionCaption

    begintikzpicture[
    font = footnotesize,
    hn/.style = circle, draw,
    gn/.style = rounded corners, fill=gray!20, inner xsep=2pt,
    level 1/.style = level distance = 30mm,sibling distance=31mm,
    level 2/.style = level distance = 20mm,sibling distance=10mm,
    level 4/.style = level distance = 5mm,
    level 5/.style = level distance = 20mm
    ]
    node[draw, rounded corners] Nature
    child node (1) [hn] P1
    child node (7) $-1, 1$
    edge from parent node[left] c

    child
    child
    child node (8) [hn] P2
    child node (27) $1,-1$
    edge from parent node[left] f
    child node (28)$-2,2$
    edge from parent node[right] c

    edge from parent node[right] r

    edge from parent node[left=1mm] $JQK$
    node[left=1mm, pos=0.25] $p_1$

    child node (2) [hn] P1
    child node (9) $-1, 1$
    edge from parent node[right] c

    child node (10) [hn] P2
    child node (19) $1,-1$
    edge from parent node[right, pos=0.6, xshift=-15] f
    child node (20) $-2,2$
    edge from parent node[right, pos=0.6, xshift=2] c

    edge from parent node[right, pos=0.6, xshift=2] r

    edge from parent node[left=1mm] $JKQ$
    node[left=1mm, pos=0.3] $p$

    child node (3) [hn] P1
    child node (11) [hn] P2
    child node (21) $1,-1$
    edge from parent node[right=1mm] f
    child node (22) $-2,2$
    edge from parent node[right=1mm] c
    edge from parent node[right=1mm] r
    child node(12) $-1,1$
    edge from parent node[right, pos=0.6, xshift=2] c

    edge from parent node[left=1mm] $QKJ$
    node[left=1mm, pos=0.35] $p$

    child node (4) [hn] P1
    child node (13) $1,-1$
    edge from parent node[right=1mm] c

    child node(14) [hn] P2
    child node (23) $1,-1$
    edge from parent node[right=1mm] f
    child node (24) $2,-2$
    edge from parent node[right=1mm] c

    edge from parent node[right=1mm] r

    edge from parent node[right=1mm] $QJK$
    node[right=1mm, pos=0.35] $ p$

    child node (5) [hn] P1
    child node (15) [hn] P2
    child node (25)$1,-1$
    edge from parent node[right=1mm] f

    child node (26) $2,-2$
    edge from parent node[right=1mm] c

    edge from parent node[right=1mm] r
    child node(16) $1,-1$
    edge from parent node[right=1mm] c

    edge from parent node[right=1mm] $KJQ$
    node[right=1mm, pos=0.3] $p$

    child node (6) [hn] P1
    child
    child
    child node (17) [hn] P2
    child node (27) [gn] $1,-1$
    edge from parent node[right=1mm] r

    child node [gn] $2,-2$
    edge from parent node[right=1mm] c


    edge from parent node[right=1mm] r

    child node(18) $1,-1$
    edge from parent node[right=1mm] c

    edge from parent node[right=1mm] $KQJ$
    node[right=1mm,pos=0.25] $p$
    ;
    draw[dashed] (1) -- (2)
    (3) -- (4)
    (5) -- (6)
    (10) -- (11)
    (14) -- (15)
    (8) -- (17);
    endtikzpicture
    endfigure


    enter image description here



    (red lines indicate text borders)






    share|improve this answer





























      6














      i try to clean-up your code and add option hn (hollow node) to nodes which are in circle. for the root node i suggest to use rectangle with rounded corners. the end nodes i wouldn't put in circle, eventually i would add gray background (in mwe below it is showed for last two end nodes). if you liked such solution, you only need to add node style gn (gray node) to all end nodes.



      since the tree is very wide, i reduce page borders to 20 mm. i also remove from preamble all what is not related to tree diagram.



      documentclass[11pt]article
      usepackage[margin=20mm]geometry
      usepackage[skip=1ex]caption
      usepackagetikz %for game theory stuff

      %---------------- show page layout. don't use in a real document!
      usepackageshowframe
      renewcommandShowFrameLinethickness0.15pt
      renewcommand*ShowFrameColorcolorred
      %---------------------------------------------------------------%

      begindocument

      beginfigure
      centering
      captionCaption

      begintikzpicture[
      font = footnotesize,
      hn/.style = circle, draw,
      gn/.style = rounded corners, fill=gray!20, inner xsep=2pt,
      level 1/.style = level distance = 30mm,sibling distance=31mm,
      level 2/.style = level distance = 20mm,sibling distance=10mm,
      level 4/.style = level distance = 5mm,
      level 5/.style = level distance = 20mm
      ]
      node[draw, rounded corners] Nature
      child node (1) [hn] P1
      child node (7) $-1, 1$
      edge from parent node[left] c

      child
      child
      child node (8) [hn] P2
      child node (27) $1,-1$
      edge from parent node[left] f
      child node (28)$-2,2$
      edge from parent node[right] c

      edge from parent node[right] r

      edge from parent node[left=1mm] $JQK$
      node[left=1mm, pos=0.25] $p_1$

      child node (2) [hn] P1
      child node (9) $-1, 1$
      edge from parent node[right] c

      child node (10) [hn] P2
      child node (19) $1,-1$
      edge from parent node[right, pos=0.6, xshift=-15] f
      child node (20) $-2,2$
      edge from parent node[right, pos=0.6, xshift=2] c

      edge from parent node[right, pos=0.6, xshift=2] r

      edge from parent node[left=1mm] $JKQ$
      node[left=1mm, pos=0.3] $p$

      child node (3) [hn] P1
      child node (11) [hn] P2
      child node (21) $1,-1$
      edge from parent node[right=1mm] f
      child node (22) $-2,2$
      edge from parent node[right=1mm] c
      edge from parent node[right=1mm] r
      child node(12) $-1,1$
      edge from parent node[right, pos=0.6, xshift=2] c

      edge from parent node[left=1mm] $QKJ$
      node[left=1mm, pos=0.35] $p$

      child node (4) [hn] P1
      child node (13) $1,-1$
      edge from parent node[right=1mm] c

      child node(14) [hn] P2
      child node (23) $1,-1$
      edge from parent node[right=1mm] f
      child node (24) $2,-2$
      edge from parent node[right=1mm] c

      edge from parent node[right=1mm] r

      edge from parent node[right=1mm] $QJK$
      node[right=1mm, pos=0.35] $ p$

      child node (5) [hn] P1
      child node (15) [hn] P2
      child node (25)$1,-1$
      edge from parent node[right=1mm] f

      child node (26) $2,-2$
      edge from parent node[right=1mm] c

      edge from parent node[right=1mm] r
      child node(16) $1,-1$
      edge from parent node[right=1mm] c

      edge from parent node[right=1mm] $KJQ$
      node[right=1mm, pos=0.3] $p$

      child node (6) [hn] P1
      child
      child
      child node (17) [hn] P2
      child node (27) [gn] $1,-1$
      edge from parent node[right=1mm] r

      child node [gn] $2,-2$
      edge from parent node[right=1mm] c


      edge from parent node[right=1mm] r

      child node(18) $1,-1$
      edge from parent node[right=1mm] c

      edge from parent node[right=1mm] $KQJ$
      node[right=1mm,pos=0.25] $p$
      ;
      draw[dashed] (1) -- (2)
      (3) -- (4)
      (5) -- (6)
      (10) -- (11)
      (14) -- (15)
      (8) -- (17);
      endtikzpicture
      endfigure


      enter image description here



      (red lines indicate text borders)






      share|improve this answer



























        6












        6








        6







        i try to clean-up your code and add option hn (hollow node) to nodes which are in circle. for the root node i suggest to use rectangle with rounded corners. the end nodes i wouldn't put in circle, eventually i would add gray background (in mwe below it is showed for last two end nodes). if you liked such solution, you only need to add node style gn (gray node) to all end nodes.



        since the tree is very wide, i reduce page borders to 20 mm. i also remove from preamble all what is not related to tree diagram.



        documentclass[11pt]article
        usepackage[margin=20mm]geometry
        usepackage[skip=1ex]caption
        usepackagetikz %for game theory stuff

        %---------------- show page layout. don't use in a real document!
        usepackageshowframe
        renewcommandShowFrameLinethickness0.15pt
        renewcommand*ShowFrameColorcolorred
        %---------------------------------------------------------------%

        begindocument

        beginfigure
        centering
        captionCaption

        begintikzpicture[
        font = footnotesize,
        hn/.style = circle, draw,
        gn/.style = rounded corners, fill=gray!20, inner xsep=2pt,
        level 1/.style = level distance = 30mm,sibling distance=31mm,
        level 2/.style = level distance = 20mm,sibling distance=10mm,
        level 4/.style = level distance = 5mm,
        level 5/.style = level distance = 20mm
        ]
        node[draw, rounded corners] Nature
        child node (1) [hn] P1
        child node (7) $-1, 1$
        edge from parent node[left] c

        child
        child
        child node (8) [hn] P2
        child node (27) $1,-1$
        edge from parent node[left] f
        child node (28)$-2,2$
        edge from parent node[right] c

        edge from parent node[right] r

        edge from parent node[left=1mm] $JQK$
        node[left=1mm, pos=0.25] $p_1$

        child node (2) [hn] P1
        child node (9) $-1, 1$
        edge from parent node[right] c

        child node (10) [hn] P2
        child node (19) $1,-1$
        edge from parent node[right, pos=0.6, xshift=-15] f
        child node (20) $-2,2$
        edge from parent node[right, pos=0.6, xshift=2] c

        edge from parent node[right, pos=0.6, xshift=2] r

        edge from parent node[left=1mm] $JKQ$
        node[left=1mm, pos=0.3] $p$

        child node (3) [hn] P1
        child node (11) [hn] P2
        child node (21) $1,-1$
        edge from parent node[right=1mm] f
        child node (22) $-2,2$
        edge from parent node[right=1mm] c
        edge from parent node[right=1mm] r
        child node(12) $-1,1$
        edge from parent node[right, pos=0.6, xshift=2] c

        edge from parent node[left=1mm] $QKJ$
        node[left=1mm, pos=0.35] $p$

        child node (4) [hn] P1
        child node (13) $1,-1$
        edge from parent node[right=1mm] c

        child node(14) [hn] P2
        child node (23) $1,-1$
        edge from parent node[right=1mm] f
        child node (24) $2,-2$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] r

        edge from parent node[right=1mm] $QJK$
        node[right=1mm, pos=0.35] $ p$

        child node (5) [hn] P1
        child node (15) [hn] P2
        child node (25)$1,-1$
        edge from parent node[right=1mm] f

        child node (26) $2,-2$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] r
        child node(16) $1,-1$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] $KJQ$
        node[right=1mm, pos=0.3] $p$

        child node (6) [hn] P1
        child
        child
        child node (17) [hn] P2
        child node (27) [gn] $1,-1$
        edge from parent node[right=1mm] r

        child node [gn] $2,-2$
        edge from parent node[right=1mm] c


        edge from parent node[right=1mm] r

        child node(18) $1,-1$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] $KQJ$
        node[right=1mm,pos=0.25] $p$
        ;
        draw[dashed] (1) -- (2)
        (3) -- (4)
        (5) -- (6)
        (10) -- (11)
        (14) -- (15)
        (8) -- (17);
        endtikzpicture
        endfigure


        enter image description here



        (red lines indicate text borders)






        share|improve this answer















        i try to clean-up your code and add option hn (hollow node) to nodes which are in circle. for the root node i suggest to use rectangle with rounded corners. the end nodes i wouldn't put in circle, eventually i would add gray background (in mwe below it is showed for last two end nodes). if you liked such solution, you only need to add node style gn (gray node) to all end nodes.



        since the tree is very wide, i reduce page borders to 20 mm. i also remove from preamble all what is not related to tree diagram.



        documentclass[11pt]article
        usepackage[margin=20mm]geometry
        usepackage[skip=1ex]caption
        usepackagetikz %for game theory stuff

        %---------------- show page layout. don't use in a real document!
        usepackageshowframe
        renewcommandShowFrameLinethickness0.15pt
        renewcommand*ShowFrameColorcolorred
        %---------------------------------------------------------------%

        begindocument

        beginfigure
        centering
        captionCaption

        begintikzpicture[
        font = footnotesize,
        hn/.style = circle, draw,
        gn/.style = rounded corners, fill=gray!20, inner xsep=2pt,
        level 1/.style = level distance = 30mm,sibling distance=31mm,
        level 2/.style = level distance = 20mm,sibling distance=10mm,
        level 4/.style = level distance = 5mm,
        level 5/.style = level distance = 20mm
        ]
        node[draw, rounded corners] Nature
        child node (1) [hn] P1
        child node (7) $-1, 1$
        edge from parent node[left] c

        child
        child
        child node (8) [hn] P2
        child node (27) $1,-1$
        edge from parent node[left] f
        child node (28)$-2,2$
        edge from parent node[right] c

        edge from parent node[right] r

        edge from parent node[left=1mm] $JQK$
        node[left=1mm, pos=0.25] $p_1$

        child node (2) [hn] P1
        child node (9) $-1, 1$
        edge from parent node[right] c

        child node (10) [hn] P2
        child node (19) $1,-1$
        edge from parent node[right, pos=0.6, xshift=-15] f
        child node (20) $-2,2$
        edge from parent node[right, pos=0.6, xshift=2] c

        edge from parent node[right, pos=0.6, xshift=2] r

        edge from parent node[left=1mm] $JKQ$
        node[left=1mm, pos=0.3] $p$

        child node (3) [hn] P1
        child node (11) [hn] P2
        child node (21) $1,-1$
        edge from parent node[right=1mm] f
        child node (22) $-2,2$
        edge from parent node[right=1mm] c
        edge from parent node[right=1mm] r
        child node(12) $-1,1$
        edge from parent node[right, pos=0.6, xshift=2] c

        edge from parent node[left=1mm] $QKJ$
        node[left=1mm, pos=0.35] $p$

        child node (4) [hn] P1
        child node (13) $1,-1$
        edge from parent node[right=1mm] c

        child node(14) [hn] P2
        child node (23) $1,-1$
        edge from parent node[right=1mm] f
        child node (24) $2,-2$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] r

        edge from parent node[right=1mm] $QJK$
        node[right=1mm, pos=0.35] $ p$

        child node (5) [hn] P1
        child node (15) [hn] P2
        child node (25)$1,-1$
        edge from parent node[right=1mm] f

        child node (26) $2,-2$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] r
        child node(16) $1,-1$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] $KJQ$
        node[right=1mm, pos=0.3] $p$

        child node (6) [hn] P1
        child
        child
        child node (17) [hn] P2
        child node (27) [gn] $1,-1$
        edge from parent node[right=1mm] r

        child node [gn] $2,-2$
        edge from parent node[right=1mm] c


        edge from parent node[right=1mm] r

        child node(18) $1,-1$
        edge from parent node[right=1mm] c

        edge from parent node[right=1mm] $KQJ$
        node[right=1mm,pos=0.25] $p$
        ;
        draw[dashed] (1) -- (2)
        (3) -- (4)
        (5) -- (6)
        (10) -- (11)
        (14) -- (15)
        (8) -- (17);
        endtikzpicture
        endfigure


        enter image description here



        (red lines indicate text borders)







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 days ago

























        answered 2 days ago









        ZarkoZarko

        128k868168




        128k868168




















            Elen Khachatryan is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Elen Khachatryan is a new contributor. Be nice, and check out our Code of Conduct.












            Elen Khachatryan is a new contributor. Be nice, and check out our Code of Conduct.











            Elen Khachatryan 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%2f482040%2fgame-theory-trees-solid-node-size%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

            Sum ergo cogito? 1 nng

            419 nièngy_Soadمي 19bal1.5o_g

            Queiggey Chernihivv 9NnOo i Zw X QqKk LpB