Update form.py

addition of the latex representation