When I was an undergrad, I would take hand written notes in class, which helped the material sink in better I think. Then I would go home and write the notes up neatly using LyX. This re-enforced the material and let me worry about presentation in the second stage, so I could just worry about getting it on paper in the first stage. It also made me very fluid at writing mathematics in LyX, which has a strong advantage over latex in my opinion in that you can actually see what you are writing out.