Restructured tex file