edit tex

added documentation in tex