Latex document for PWS