writing a thesis in latex basic parts of a scientific research paper