I finally did play with LaTex and write up in more detail the skewtree solution.
I have to say LaTex is very cool. I'm still a beginner but I feel the power behind it. You can throw pretty complex mathematical expressions at it and it lays it out nicely, no sweat. You can find the paper here.