Sunday, August 10, 2008

Mathemagica

Stuff I didn't know you could do. This is what happens when you have so many smart people looking at something.

Mathematica puts out a symbolic expression that you can read. Now, you think about publishing that - using LaTex. Luckily for you, all you have to do is:

In[3]:= TeXForm[%]

Combine that with Tex's fault tolerance and you have a big time-saver here.

Another thing I didn't know you could do - but, being a shell guy I thought I'd try:

The % in the above refers to the output of the previous submission. But, can you refer to the nth output? Sure can, just use %n. That's a handy one too. Good job Steve.

No comments: