## happenings — latex

Edits: Feb 2.
removed “a” from codes for bold and strong in HTML; and I just noticed that the LateX for color and for size does not display when you hold the mouse over it.

(This wasn’t the first post I intended to put out after the long layoff, but it’s the one that is ready, so here it is. I’ve got a couple in the works, and I hope that one will be ready for Wednesday.)

This post shows a lot of the HTML and the LaTeX that I use.
Read the rest of this entry »

## latex from mathematica®

in non-realtivistic wave mechanics, the wave function  $\Psi(r, t)$ of a particle satisfies the schrodinger wave equation

$i\hbar\frac{\partial \Psi}{\partial t}=-\frac{\hbar^2}{2m}(\frac{\partial^2}{\partial x^2}+\frac{\partial^2}{\partial y^2}+\frac{\partial^2}{\partial z^2})\Psi+V\Psi$

(that was typed; copy & paste seems to have problems.) let’s try something really simple:

for all $\epsilon > 0$ and for all $x \in D$

i have been using Align commands to break these things apart. it may be that i only _had_ to specify the first align command.

let’s try copy & paste from the top:

$i\hbar\frac{\partial \Psi}{\partial t}=-\frac{\hbar^2}{2m}(\frac{\partial^2}{\partial x^2}+\frac{\partial^2}{\partial y^2}+\frac{\partial^2}{\partial z^2})\Psi+V\Psi$

and now copy, paste, and edit the mathematica® latex output:

$i\hbar\frac{\partial \Psi }{\partial t}= -\frac{\hbar ^2}{2m}(\frac{\partial ^2}{\partial x^2} + \frac{\partial ^2}{\partial y^2}+\frac{\partial ^2}{\partial z^2})\Psi + V\Psi$

looking good.  but don’t get cocky. well, maybe a little: “&s=2” tacked onto the last “Psi”, right before the ending “\$” got me a bigger equation.

$i\hbar\frac{\partial \Psi }{\partial t}= -\frac{\hbar ^2}{2m}(\frac{\partial ^2}{\partial x^2} + \frac{\partial ^2}{\partial y^2}+\frac{\partial ^2}{\partial z^2})\Psi + V\Psi$

## i think i’ll be doing latex for a while

the previous test post for an equation used to look pretty good, until i opened it in Edit this morning. back to the drawing board.

now it’s back to looking ok. i have no idea what i did.

Posted in test. Tags: . 1 Comment »

## testing latex

with thanks to drmike’s post in the forums, i get to try this:

$i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>$

and it works! but i haven’t been able to get Mathematica® to generate that.

Posted in test. Tags: . 1 Comment »