Tutorial on Pirana, PsN, and Xpose. LaTeX version and online materials