The Faculty of Engineering of the University of Porto (FEUP) has a dissertation document LaTeX template that is updated every couple of years. Latest version is from September and available at https://web.fe.up.pt/~jlopes/tutoriais/feupteses-v2021.zip