Python Finite Element Code In Latex