It's my first time using LaTeX and I'm kind of having some problems displaying game trees. I'm using TeXnic Center and MiKTeX and the thing is, I didn't create the following code, i found it in the istgame documentation so it is correct. It even works when I paste it on Overleaf but yet when I use it in TeXnic Center this is what it gives me...
I'm pretty sure the problem is quite simple but I sure cannot figure it out by myself so I would really appreciate if someone could give me a hand with that.
\documentclass{article}
\usepackage{istgame}
\begin{document}
\begin{istgame}[scale=1.5]
\setistmathTF*001
\setistgrowdirection{south east}
\xtdistance{10mm}{20mm}
\istroot(0)[initial node]{1}
\istb{Take}[r]{(2,0)}[b] \istb{Pass}[a] \endist
\istroot(1)(0-2){2}
\istb{Take}[r]{(1,3)}[b] \istb{Pass}[a] \endist
\istroot(2)(1-2){1}
\istb{Take}[r]{(4,2)}[b] \istb{Pass}[a] \endist
\xtInfoset(2-2)([xshift=5mm]2-2)
\istroot(3)([xshift=5mm]2-2){2}
\istb{Take}[r]{(97,99)}[b] \istb{Pass}[above] \endist
\istroot(4)(3-2){1}
\istb{Take}[r]{(100,98)}[b] \istb{Pass}[above] \endist
\istroot(5)(4-2){2}
\istb{Take}[r]{(99,101)}[b] \istb{Pass}[a]{(100,100)}[r] \endist
\end{istgame}
\end{document}


\usetikzlibrary{babel}– AndréC Jul 24 '20 at 16:03