game theory subgame box
I am trying to make the grey boxes larger, but cannot succeed (large enough to include the playoffs). Would really appreciate some help.
Here is my code:
[![documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage{multirow}
usepackage[margin=1in]{geometry}
usepackage{amsmath,amsthm,amssymb,amsfonts}
usepackage{tikz} %for game theory stuff
usepackage[skip=1ex]{caption}
usetikzlibrary{calc}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox(1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}
xtSubgameBox(2){(c)(d)(c-1)}
%xtSubgameBox(2){(2-1)(2-2)}[inner sep=16pt]
%xtSubgameBox(2){(2-1)(2-2)}[solid,rounded corners=0pt,inner sep=16pt]
end{istgame}
end{center}
end{document}][1]][1]
game-tree
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.
add a comment |
I am trying to make the grey boxes larger, but cannot succeed (large enough to include the playoffs). Would really appreciate some help.
Here is my code:
[![documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage{multirow}
usepackage[margin=1in]{geometry}
usepackage{amsmath,amsthm,amssymb,amsfonts}
usepackage{tikz} %for game theory stuff
usepackage[skip=1ex]{caption}
usetikzlibrary{calc}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox(1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}
xtSubgameBox(2){(c)(d)(c-1)}
%xtSubgameBox(2){(2-1)(2-2)}[inner sep=16pt]
%xtSubgameBox(2){(2-1)(2-2)}[solid,rounded corners=0pt,inner sep=16pt]
end{istgame}
end{center}
end{document}][1]][1]
game-tree
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.
add a comment |
I am trying to make the grey boxes larger, but cannot succeed (large enough to include the playoffs). Would really appreciate some help.
Here is my code:
[![documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage{multirow}
usepackage[margin=1in]{geometry}
usepackage{amsmath,amsthm,amssymb,amsfonts}
usepackage{tikz} %for game theory stuff
usepackage[skip=1ex]{caption}
usetikzlibrary{calc}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox(1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}
xtSubgameBox(2){(c)(d)(c-1)}
%xtSubgameBox(2){(2-1)(2-2)}[inner sep=16pt]
%xtSubgameBox(2){(2-1)(2-2)}[solid,rounded corners=0pt,inner sep=16pt]
end{istgame}
end{center}
end{document}][1]][1]
game-tree
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 trying to make the grey boxes larger, but cannot succeed (large enough to include the playoffs). Would really appreciate some help.
Here is my code:
[![documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage{multirow}
usepackage[margin=1in]{geometry}
usepackage{amsmath,amsthm,amssymb,amsfonts}
usepackage{tikz} %for game theory stuff
usepackage[skip=1ex]{caption}
usetikzlibrary{calc}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox(1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}
xtSubgameBox(2){(c)(d)(c-1)}
%xtSubgameBox(2){(2-1)(2-2)}[inner sep=16pt]
%xtSubgameBox(2){(2-1)(2-2)}[solid,rounded corners=0pt,inner sep=16pt]
end{istgame}
end{center}
end{document}][1]][1]
game-tree
game-tree
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.
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 7 hours ago
Elen KhachatryanElen Khachatryan
355
355
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I followed the manual of istgame to where it talks about these experimental boxes. There it is suggested to move and enlarge the boxes. This is what I did, i.e. I added [yshift=-2ex] and [inner ysep=6ex]. I am not claiming this is elegant, but at least I can blame the manual for this choice.
documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage[margin=1in]{geometry}
usepackage{amsmath}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox([yshift=-2ex]1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}[inner ysep=6ex]
xtSubgameBox([yshift=-2ex]2){(c)(d)(c-1)}[inner ysep=6ex]
end{istgame}
end{center}
end{document}

add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482883%2fgame-theory-subgame-box%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
I followed the manual of istgame to where it talks about these experimental boxes. There it is suggested to move and enlarge the boxes. This is what I did, i.e. I added [yshift=-2ex] and [inner ysep=6ex]. I am not claiming this is elegant, but at least I can blame the manual for this choice.
documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage[margin=1in]{geometry}
usepackage{amsmath}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox([yshift=-2ex]1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}[inner ysep=6ex]
xtSubgameBox([yshift=-2ex]2){(c)(d)(c-1)}[inner ysep=6ex]
end{istgame}
end{center}
end{document}

add a comment |
I followed the manual of istgame to where it talks about these experimental boxes. There it is suggested to move and enlarge the boxes. This is what I did, i.e. I added [yshift=-2ex] and [inner ysep=6ex]. I am not claiming this is elegant, but at least I can blame the manual for this choice.
documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage[margin=1in]{geometry}
usepackage{amsmath}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox([yshift=-2ex]1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}[inner ysep=6ex]
xtSubgameBox([yshift=-2ex]2){(c)(d)(c-1)}[inner ysep=6ex]
end{istgame}
end{center}
end{document}

add a comment |
I followed the manual of istgame to where it talks about these experimental boxes. There it is suggested to move and enlarge the boxes. This is what I did, i.e. I added [yshift=-2ex] and [inner ysep=6ex]. I am not claiming this is elegant, but at least I can blame the manual for this choice.
documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage[margin=1in]{geometry}
usepackage{amsmath}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox([yshift=-2ex]1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}[inner ysep=6ex]
xtSubgameBox([yshift=-2ex]2){(c)(d)(c-1)}[inner ysep=6ex]
end{istgame}
end{center}
end{document}

I followed the manual of istgame to where it talks about these experimental boxes. There it is suggested to move and enlarge the boxes. This is what I did, i.e. I added [yshift=-2ex] and [inner ysep=6ex]. I am not claiming this is elegant, but at least I can blame the manual for this choice.
documentclass[11pt]{article}
usepackage[utf8]{inputenc}
usepackage[margin=1in]{geometry}
usepackage{amsmath}
usepackage{istgame}
defvpay#1#2{begin{matrix}#1\#2end{matrix}}
begin{document}
begin{center}
begin{istgame}
xtShowEndPoints
xtdistance{25mm}{70mm}
istrooto(0){$text{Firm} 1$}
istb{BIG}[l]
istb{small}[r]
endist
xtdistance{25mm}{35mm}
istrooto(1)(0-1){$text{Firm} 2$}
istb{Low}[l]
istb{High}[r]
endist
istrooto(2)(0-2){$text{Firm} 2$}
istb{low}[l]
istb{high}[r]
endist
xtdistance{20mm}{10mm}
istrooto(a)(1-1){$text{Firm} 1$}
istb{L}[l]{vpay{8}{8}}
istb{H}[r]{vpay{7}{7}}
endist
istrooto(b)(1-2){$text{Firm} 1$}
istb{L}[l]{vpay{6}{10}}
istb{H}[r]{vpay{6}{7}}
endist
istrooto(c)(2-1){$text{Firm} 1$}
istb{l}[l]{vpay{7}{8}}
istb{h}[r]{vpay{10}{6}}
endist
istrooto(d)(2-2){$text{Firm} 1$}
istb{l}[l]{vpay{5}{11}}
istb{h}[r]{vpay{8}{7}}
endist
setxtinfosetstyle{dashed}
xtInfoset(a)(b)
xtInfoset(c)(d)
xtSubgameBox([yshift=-2ex]1){(a)(b)(a-1)(b-1)(a-1)(b-2)(a-2)}[inner ysep=6ex]
xtSubgameBox([yshift=-2ex]2){(c)(d)(c-1)}[inner ysep=6ex]
end{istgame}
end{center}
end{document}

answered 5 hours ago
marmotmarmot
114k5145276
114k5145276
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482883%2fgame-theory-subgame-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown