Lecture notes and teaching