Taking notes from lectures