The Blackboard: Now with Latex!

I installed the plugin for Latex. It seems to permit pretty equations with relatively little overhead to my blog now. So, now, equations can be made pretty:

(1)$latex \displaystyle \rho w \frac{\partial w}{\partial z} + \rho u \frac{\partial w}{\partial x} = -\frac{\partial p}{\partial z} -\rho g $

Update: To add latex do something like this. (The equation bits are css to center and display my equation numbers. The latex and back slash stuff is latex.)

(2)$latex \displaystyle \rho w \frac{\partial u}{\partial z} + \rho u \frac{\partial u}{\partial x} = -\frac{\partial p}{\partial x}$

The plugin is active in comments too.

18 thoughts on “The Blackboard: Now with Latex!”

  1. Now all I have to do is learn LaTex syntax. Mousing over an equation helps some. Let’s see if the TEX button in CA Assistant works here:

    $latex \displaystyle \rho w \frac{\partial w}{\partial z} + \rho u \frac{\partial w}{\partial x} = -\frac{\partial p}{\partial z} -\rho g $

  2. Dewitt–
    Yeah.. the two reasons I didn’t add the plugin earlier were 1) It used to be more difficult to link in the external support for the latex and 2) I didn’t want everyone’s equations to vanish if I had to remove the plugin.

    I’m still a bit worried about (2). After all, I might eventually switch to habari. But I guess I’ll just have to work around that if it happens.

  3. TCO in his incarnation as phinniethewoo said over at tAV that Octave, which is open source freeware, has many of the features and is more or less compatible with Matlab. Anyone else tried it? It looks like there’s only a 32 bit version for Windows right now.

  4. DeWitt–
    I haven’t heard of octave. I googled and didn’t see it available for the mc.

    TCO is alive? That’s good to read.

  5. Carrick, I added a screen shot of the html and mark up for equation 1. Part of that is my css to format equations and equation numbers (which you can test too). The central bit is for the latex.

  6. OK let’s try some of my favourite equations.

    $latex e^{i\pi} = -1 $

    $latex n! \approx \sqrt{2\pi n} n^n e^{-n} $

    $latex S \ne w \left( \frac{\partial N_v}{\partial z} – \frac{N_v}{N} \frac{\partial N}{\partial z} \right) $

  7. Doesn’t Mathtype work on your blog. Latex is inane. It is paleolithography. Please look at the gobble-gook you had to enter to get a simple partial differential equation. All of that could be done with a few mouse clicks in Mathtype.

  8. Lucia – I know. But still, what could possibly be kinkier than a mathematical formula in LaTex? ๐Ÿ˜‰

    Incidentally, ‘shx’ stands for ‘sheikh’ (not an oil sheikh, I am afraid), and the letter x is pronounced like the ‘ch’ sound in German, as in Achtung! Achtung! ๐Ÿ™‚

  9. While examining the Latex syntax you put up, I realized the partial differentials are showing up as du/dz.

  10. Hey!! Happy Thanksgiving!! .!! ๐Ÿ™‚ ๐Ÿ™‚
    Thanksgiving is 1 of my favorite holidays, and each year I like to get into the mood-extend the holiday, since it were-by reading “Thanksgiving novels.” Of course, those stories are mostly about family, about coming together to heal old hurts and getting thanks for the gift of love. .. – – –
    Are You Better Off Today Than You Had been 5 Yrs Ago?

Comments are closed.