Tex Notes and Sample Programs for GATE