Permalink
Browse files

mathjax integration

  • Loading branch information...
lvnilesh committed Sep 6, 2012
1 parent 28a514e commit 834ffb0bf74fb09008ee0f02bbe7d6a636d80127
Showing with 43 additions and 1 deletion.
  1. +1 −1 sass/base/_theme.scss
  2. +10 −0 source/_includes/head.html
  3. +32 −0 source/_posts/2012-09-05-mathjax-integration.markdown
View
@@ -75,7 +75,7 @@ html {
background: $page-bg image-url('line-tile.png') top left;
}
body {
> div {
> div#main {
background: $sidebar-bg $noise-bg;
border-bottom: 1px solid $page-border-bottom;
> div {
View
@@ -26,4 +26,14 @@
<link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml">
{% include custom/head.html %}
{% include google_analytics.html %}
<!--http://steshaw.org/blog/2012/02/09/hello-mathjax -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
@@ -0,0 +1,32 @@
---
layout: post
title: "mathjax integration"
date: 2012-09-05 22:28
comments: true
categories:
---
My blog is now enabled with the most awesome mathjax library.
Here is inline $\rm \LaTeX$, inline math $\begin{align} x^2 + y^2 = 1 \end{align}$, Euler's constant,
$$
e = \mathop {\lim }\limits_{n \to \infty } \left( {1 + \frac{1}{n}} \right)^n
$$
and here is the [wave equation](http://en.wikipedia.org/wiki/Schrödinger_equation) by [Erwin Schrödinger](http://en.wikipedia.org/wiki/Erwin_Schrödinger).
$$
\[ i\hbar\frac{\partial \psi}{\partial t}
= \frac{-\hbar^2}{2m} \left(
\frac{\partial^2}{\partial x^2}
+ \frac{\partial^2}{\partial y^2}
+ \frac{\partial^2}{\partial z^2}
\right) \psi + V \psi \]
$$
###Futher reading
* [Hello MathJax](http://steshaw.org/blog/2012/02/09/hello-mathjax/)
* [MathJax](http://www.mathjax.org)
* [Starting from Octopress](http://luikore.github.com/2011/09/good-things-learned-from-octopress/)
* [MathJax in Markdown](http://doswa.com/2011/07/20/mathjax-in-markdown.html)
* [LaTeX Math Magic](http://cwoebker.com/posts/latex-math-magic/)
* [Schrödinger](http://xkcd.com/45/)

0 comments on commit 834ffb0

Please sign in to comment.