The template was prepared as part of my course LaTeX for Scientists taught in the AGH Doctoral School. The aghphd class was developed to facilitate the typesetting of theses in LaTeX for students of AGH University. The thesis can be prepared in Polish or English.