This is a test of LaTeX on the site*.
The first equation I shall try is the following (for more on unpacking this equation and its meaning, see this post and links therein):

Yay! It works. I have implemented it in the comments too. So now we can have a new, sharper tool for our discussions and arguments.
Use: Type simple LaTeX commands enclosed between [ tex ] and [ / tex] (remove the spaces between the things in the square brackets) and it should work once you submit.
Enjoy.
-cvj
(*I got around the problems of not being able to have LaTeX running on my host. Hurrah! The compromise I used means that the LaTeX is not as nicely formed as it could be, but it’s good enough! Learn more about latexrender and mimetex here.)
Test:
-cvj
Hurrah!
-cvj
Test:
Hopefully it will work… This is great Clifford!
The preview doesn’t work, which means this is going to require some faith or care…
Okay, apply prayer, and hit submit…
Awesome!
Wow, it’s even more of a trip when you can’t know with certainty that your tex is going to work in advance.
R_{\mu\nu} - \frac{1}{2} g_{\mu\nu} \mathcal{R} = 8 \pi G T_{\mu\nu}
[tex]R_{\mu\nu} - \frac{1}{2} g_{\mu\nu} \mathcal{R} = 8 \pi G T_{\mu\nu} [\tex]
Bee…. put it between the things I mentioned in the post.
-cvj
Okay. I can do it!
Hurrah!
-cvj
This is way more fun than it really should be, isn’t it?
-cvj
This is indeed cool. Can it make integrals?
Wow! I’m impressed. I’ve regretted more than once that my blog is running on a public server. All that template stuff really sucks, it just never looks like I want it to. Btw, you probably know that your-css sheet is kind of messed up with MS internet explorer? It’s kind of a funny effect that I haven’t seen anywhere else. If the site gets too long, say more than 80 comments, the text keeps running out of the window, because it’s not totally horizontal.
If I’d consider moving my blog elsewhere, what would you advise me to consider?
B.
Gee! I meant to say: because it’s not totally vertical. Long day, I think I need to get some dinner. Have a nice evening. Best,
B.
Bee, I’ll email you about blogging options. For ease of use, you can use Wordpress on any number of public hosting services, or on your own computer for full control of everything (I do that for my private reserch blog for example, where I’ve had latex prettily running for over a year now). Others will disagree. Jacques can quote you volume, chapter, and verse about why it would be better to use the sort of things he uses on golem…. for the best mathematics rendering. I’m happy with this less powerful solution….
About IE. I don’t support it. I’ve heard that the most recent versions are better built and render the site more accurately.
Best,
-cvj
Bee,
Cliffords site works okay with Firefox.
Cosmic Variance is now encoutering some of the problems as well.
Oooh, so much fun!
Fingers crossed…
Wow… I can’t believe that worked the first time! A preview option is DEFINITELY a must, especially for schlemiels like me.
The spacing is a bit wacky, but everything is legible, and I’m impressed with the handling of \mathbb{…} — I usually have to include \amsmath or something before it’ll work.
Keeping my fingers crossed!
Ok Lubos, just this once a comment of yours can stay. Just finished assigning grades for my course and so I am oozing with good will.
-cvj
Wow! How did you do it?
Hmm, the above was equation 2.6 of gr-qc/0607101 simply cut-and-paste here. Not sure what the & are doing in it
Please publish the recipe for how to do this.
Thanks in advance!
latexrender is a well known plugin. But if you don’t have latex on the server, you can sometimes get away by wrapping something similar to latexrender around mimetex.
See this whole blog devoted to this. You have to tailor things a bit to get it to work, but it works.
-cvj
-cvj
-cvj
-cvj
Yes…. I got carried away and tried to see how these look. I borrowed these examples from the mimetex site.
(Had to use the html ampersand character code for the ampersand column delimiter in the array function, ironically.)
Too much fun.
-cvj
Can you use the [ itex ] tag to put tex inline? Like [itex]\overline{R}=\phi^{-4}(R-8\phi^{-1}\Delta\phi)[/itex]? That should be an inline version of the Lichnerowicz equation.
Apparently not.
damtp_dweller — If you want inline equations, you should just be able to stick whatever the [tex]\int \, f(u) \; dk[\tex] you want right into the flow of text. Let’s find out…
Damn! I misbackslashed! As I was saying, if you want inline equations, you should just be able to stick whatever the
you want right into the flow of text. Fingers crossed…
Not perfect, but it doesn’t break the flow of text too much!. Also, it looks like spacing works much better in the integrals than it did with the set stuff. Let’s try that again without the \, after the integral, and with a normal \, instead of a \; before the dk…
Awesome. Or rather,

awesome!
“Just finished assigning grades for my course and so I am oozing with good will.”
This is what I would call the ultimate
of expression - I would if I had two chances. 
Ok, but that’s it. I’m not having you start abusing people, etc.
-cvj
It will be interesting to see whether people find this usable.
I’m pretty bad at composing error-free TeX without benefit of a preview.
Well we shall see. If people find it useful for even simple formulae in making their point, it will have been useful. People also might use it to drop in an equation from another source, such as a paper under discussion, etc., which can then be more easily pointed to. I will also be able to use it for longer posts.
-cvj
Pictures! No way!
\setlength{\unitlength}{1.0pt}
\begin{picture}(235,170)
\thinlines
\put(35,30){\vector(1,0){113}}
\put( 40,27){\line(0,1){6}}
\put( 90,27){\line(0,1){6}}
\put(140,27){\line(0,1){6}}
\put( 25,15){$-0.5$}
\put( 85,15){$0.0$}
\put(135,15){$0.5$}
\put(120,8){$t_3$}
\put(30,35){\vector(0,1){133}}
\put(27, 40){\line(1,0){6}}
\put(27, 70){\line(1,0){6}}
\put(27,100){\line(1,0){6}}
\put(27,130){\line(1,0){6}}
\put(27,160){\line(1,0){6}}
\put(10, 40){-1.0}
\put(10, 70){-0.5}
\put(10,100){ 0.0}
\put(10,130){ 0.5}
\put(10,160){ 1.0}
\put( 5,150){$t_0$}
\thinlines
\put( 40,130){\line(0,-1){60}}
\put( 90,100){\line(0,-1){60}}
\put(140,130){\line(0,-1){60}}
\put( 40, 70){\line(5,-3){50}}
\put( 40,130){\line(5,-3){50}}
\put( 90,160){\line(5,-3){50}}
\put( 90, 40){\line(5, 3){50}}
\put( 90,100){\line(5, 3){50}}
\put( 40,130){\line(5, 3){50}}
\put(205,100){\vector(0,-1){30}} \put(195, 70){$n$}
\put(205,100){\vector(3, 2){25}} \put(235,115){$l$}
\put(205,100){\vector(-3,2){25}} \put(170,116){$m$}
\put( 40, 70){\circle*{3}}
\put( 40, 90){\circle*{3}}
\put( 40,110){\circle*{3}}
\put( 40,130){\circle*{3}}
\put( 90, 40){\circle*{3}}
\put( 90, 60){\circle*{3}}
\put( 90, 80){\circle*{3}}
\put( 90,100){\circle*{3}}
\put( 90,120){\circle{3}}
\put( 90,140){\circle{3}}
\put( 90,160){\circle*{3}}
\put(140, 70){\circle*{3}}
\put(140, 90){\circle*{3}}
\put(140,110){\circle*{3}}
\put(140,130){\circle*{3}}
\put( 45, 70){$e_L $}
\put( 45, 90){$\bar{u}_{*R}$}
\put( 45,110){$d_{*L} $}
\put( 50,128){$\bar{\nu}_R $}
\put( 95, 38){$e_R $}
\put( 95, 55){$\bar{u}_{*L}$}
\put( 95, 75){$d_{*R} $}
\put( 95, 95){$\bar{\nu}_L $}
\put( 95,115){$\bar{d}_{*L}$}
\put( 95,135){$u_{*R} $}
\put( 98,159){$\bar{e}_L $}
\put(145, 70){$\nu_L $}
\put(145, 90){$\bar{d}_{*R}$}
\put(145,110){$u_{*L} $}
\put(145,130){$\bar{e}_R $}
\end{picture}
(weak hypercharge and weak isospin for 1st generation)
Ouch. Delete that.
(weak hypercharge and weak isospin for 1st generation)
Hmmmm. I wonder what plugins are available:
Hmmm.
Does usepackage work?
(If this doesn’t work, that’s it for me)
Test scaling:
I wonder how many tests I can screw up before I get banned?
Clifford, you mentioned your private research blog. Maybe I live in a cave or something, but I’ve never heard of that idea; it sounds like a great one though. Can I ask you to post or comment on how it works? (How it’s structured, pro’s and con’s, etc.)
just a test

Okay. I couldn’t get \circle or \vector to work. Scaling was awful. And vertical lines (i.e. “\put( 80,140){\line(0,1){120}}” didn’t work either. How about qbezier?
no qbezier. But awesome speed. I swear that Latex takes longer than this for short programs on my iNTEL laptop.
Warmup
OK, let’s be a bit nasty:
Kishan Yerubandi:- Actually, I’ve been meaning to post about that for a while now. Give me a little while longer.
Carl Brannen, Aaron Bergmann: - The experiments are fun aren’t they? I do not know the limitations of mimetex, but I suspect that they are very severe in terms of the LaTeX things you are used to. So I do not expect that it will be able to use any TeX library packages of the sort you were trying to load, Aaron, or do a number of the picture elements that you might need Carl. But basic LaTeX allows one to do a great deal (certainly a great deal more than text in comments and posts), so this could be useful. To do proper LaTeX would require LaTeX to be running on the server, with all the whistles and bells you can get going as usual on a computer with that on. This is not what is going on here. You’d need latexrender proper for that… I’m using mimetex to bypass that since my server does not have LaTeX on it. My hosts probably are not familiar with that at all.
Do have a look over at the sites I linked to for some of the rather clever tools they have developed though, like illustration pacakages and the like. Maybe I will see if I can put some of them on here if they look possible and useful.
-cvj
Carl Brannen: - MimeTeX user manual here. I think everyone wants to see what you final picture was suppposed to be!
-cvj
again:![\openout7=foo\write7{bar]\closeout7\openin7=foo\read7 to \bla\closein7\bla \openout7=foo\write7{bar]\closeout7\openin7=foo\read7 to \bla\closein7\bla](http://asymptotia.com/mimetex/pictures/563df38cd37f449ebb3f8474997beaf8.gif)
[tex] \frac {\bar {\Xsi}}{\Xsi}[\tex]
Okay, it had to be said: You people are all a bunch of dorks.
Such happy dorks, though!
-cvj
It turns out that the mimetex picture drawing elements are in certain ways superior to the native commands in LaTex. Vertical lines not working is a bug that only shows up if you use a less efficient method of defining them (I hope).
Whatever, I’m going to see if I can get them to install this over at Physics Forums, where pictures have always been an issue.
Should be elementary particles of first generation, plotted according to weak hypercharge and weak isospin.
[Apply prayer, hit submit]
Easy to fix:
1st generation plotted according to weak hypercharge and weak isospin. Suggestive that the antiparticles are defined rather arbitrarily, and that the structure of idempotents of Clifford algebras (hypercubes) be used to model internal symmetries.
Oh, that was close:
The picture drawing is superior to the LaTex standard \xypic in that the line draws are not limited to small integer ratios. To get around that in \xypic, one uses the qbezier, which draws nice curves.
I gotta have this.
Excellent! Happy to have provided information about a new and useful tool…!
-cvj
This reminds me of when Peter introduced Latexrender.
In case you missed it, the LaTeχ code appears when your mouse hovers over the figure.
Any way to get the fonts less jaggy?
Just out of curiosity, let’s see how your 1st equation compares to
uR²-½RR”+¼(R’)²=Γ²
latexrender & textogif seem to produce prettier results.
Getting excited over a typeset; we are certainly a bunch of geeks!
I see. If you want alot of hits on your web site, give people crack. My site has CGI that creates printable add/subtract and multiply problems. Not as sexy as LaTeX. Perhaps i should look into this to create formatted divides.
To Carl:
Hurrah! I have been watching your efforts with baited breath. A bit like watching a trapeze artist!
It’s truly a pleasure watching all of you folks having loads of fun performing mathematical esoterica via LaTeX. But, Clifford, please don’t let LaTeX take over Asymptotia, in its entirety! Otherwise, I–like so many mathematical zeros–will become shut out from posting on all now and future comment threads:(…
Cynthia:- There are, as I write, 239 posts and 2,609 comments on the blog. Only one post is about LaTeX (or so far even has it) and only 80 comments about it (81 once I hit “Submit”). I think you’re safe (and you are not a mathematical zero, by the way).
LaTeX is here as a tool, not a subject in and of itself.
Besides, you can have fun with it by either watching the antics (see comment number 79), or joining in yourself and learning how to make interesting shapes and symbols appear. Think of it as a special smoking lounge I’ve set up in the house (see the living room analogy on the About page) where people can have fun blowing very exotic smoke rings. You don’t have to go into that lounge if you don’t want to, of course.
-cvj
Clifford, thanks for the invitation to the LaTeX Matrix! When I get up the nerve, I’ll join in.;)
Given what I see above, this should work:
![$I_{moving}={{4\pi a^2n_i\sqrt {\left( {{{kT_i} \over {2\pi m_i}}} \right)}} \over 2}\left\{ \matrix{\left( {M^2+{1 \over 2}-\psi _i} \right)\sqrt {{\pi \over M}}\left[ {\rm erf\left( {M+\sqrt {\psi _i}} \right)+{\rm erf}\left( {M-\sqrt {\psi _i}} \right)} \right]\hfill\cr +\left( {\sqrt {{{\psi _i} \over M}}+1} \right)\exp \left[ {-\left( {M-\sqrt {\psi _i}} \right)^2} \right]\hfill\cr -\left( {\sqrt {{{\psi _i} \over M}}-1} \right)\exp \left[ {-\left( {M+\sqrt {\psi _i}} \right)^2} \right]\hfill\cr} \right\}$ $I_{moving}={{4\pi a^2n_i\sqrt {\left( {{{kT_i} \over {2\pi m_i}}} \right)}} \over 2}\left\{ \matrix{\left( {M^2+{1 \over 2}-\psi _i} \right)\sqrt {{\pi \over M}}\left[ {\rm erf\left( {M+\sqrt {\psi _i}} \right)+{\rm erf}\left( {M-\sqrt {\psi _i}} \right)} \right]\hfill\cr +\left( {\sqrt {{{\psi _i} \over M}}+1} \right)\exp \left[ {-\left( {M-\sqrt {\psi _i}} \right)^2} \right]\hfill\cr -\left( {\sqrt {{{\psi _i} \over M}}-1} \right)\exp \left[ {-\left( {M+\sqrt {\psi _i}} \right)^2} \right]\hfill\cr} \right\}$](http://asymptotia.com/mimetex/pictures/6ae7d1e4573bfab2d30178f3a91b1dd5.gif)
It did, but the system shrunk it a bit and it looks too compressed. You can see that the full gif image is much nicer. Click here.
-cvj
Way cool! Let’s look at some partial derivatives… We want to find points near a circle, so then to minimize
. Our partial derivatives are:
and
and
. From which
.
,
![$\sum_{i=1}^Ny_i\left[(x_i-x_c)^2+(y_i-y_c)^2\right] =\frac{1}{N}\left(\sum_{i=1}^Ny_i\right) \sum_{i=1}^N\left[(x_i-x_c)^2+(y_i-y_c)^2\right]\,.$ $\sum_{i=1}^Ny_i\left[(x_i-x_c)^2+(y_i-y_c)^2\right] =\frac{1}{N}\left(\sum_{i=1}^Ny_i\right) \sum_{i=1}^N\left[(x_i-x_c)^2+(y_i-y_c)^2\right]\,.$](http://asymptotia.com/mimetex/pictures/60856ebd8d9f3f4754dc6572412fc2db.gif)
The answer is here:
I hope it looks pretty…
OK, looks a bit confused. My inline equations should have been on