Lecture notes taken as a teacher at the University of Edinburgh