moved sample latex outside script