To type up math notes during a lecture using the Tex or LaTeX markup languages. While it is difficult to do, and it requires learning the language well and being able to type it fast, it results in digital notes that look quite nice and are easier to edit or search through than handwritten notes.
My handwriting is bad, and I always lose physical notes, so I just live-tek these calculus lectures.