TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to learn to create extended game-forms with LaTeX, but I don't get branches. The example code I've downloaded is:


\putbranch(300,240)(2,1){200} \iib{1}{$C$}{$D$}
\putbranch(100,140)(1,1){100} \iib{}{$c$}{$d$}[$3,3$][$1,4$]
\putbranch(500,140)(1,1){100} \iib{}{$c$}{$d$}[$1,4$][$2,2$]
\hspace*{\fill} \caption[]{Sample Game}\label{mygame}

But I only get this:

enter image description here

Is there anyone who knows how to fix this issue?

share|improve this question
This runs fine for me with XeLaTeX so you must not be processing the file correctly. Also, if you are not already committed to using egameps, you should have a look at tikz. – Peter Grill Feb 8 '12 at 21:11
up vote 3 down vote accepted

egameps uses pstricks to draw the lines between nodes. As such, you require a latex>dvips>ps2pdf or xelatex compilation sequence to obtain a PDF as output.

enter image description here

For drawing something similar directly in PDF, you could consider using tikz. There are numerous examples on this site, or you can follow the rich package documentation.

share|improve this answer
This works perfectly! Thank you Werner! – Luigi Feb 9 '12 at 14:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.