I've recently bought a new computer, a notebook. I'm a student so I thought about using the computer to take notes during the lecture. But it's a technical university, so there's always a lot of mathematical mambo jambo on the blackboard, and that's my problem: I do not know any program that could be used efficiently to take notes during a technical lecture.

I'd like to have a program, where I could write a text like this:

Determine the stability:

[x1';x2']=[2 3;5 2]*[x1;x2]+[0;2]*u

y=[2 4]*[x1;x2]+1*u

or similar, and the program should display a nice formatted text and the mathematical expressions with matrices. Also things like sqrt x, or x^2, or x/2, and similar, should get a nice, mathematical and readable look.

The Microsoft Equation program (installed with MS Word) is very very inefficient, because to write anything you will most likely have to use your mouse several times, and this is much slower than just typing the formulas. The tool in OpenOffice is no better for me (and I dislike the whole OpenOffice thing also). So my question is: do you know any tool that would do what I described? Or do I have to write it for myself?