# cdesante / textumble.r Created September 14, 2012

### SSH clone URL

You can clone with HTTPS or SSH.

Tex into Tumblr

View textumble.r
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Step 1: Go to the theme of your Tumblr account, and add the following code snippet above the :     Step 2: Use LaTeX as normal:   MathJax has two different ways to begin a TeX section, $$for in-line TeX and $for paragraph formatting. These sections would be closed using$$ and$ respectively.   The equations show above, are produced by writing this in the text of the post:   #Title: Embedding $$\LaTeX$$ in Tumblr The classic Pythagorean identity is: $$sin^2(\theta) + cos^2(\theta) =1$$   The binomial formula which calculates the probability of obtaining k tails when flipping a coin n times, with a assumed probability p for each trial is: $$P(E) = {n \choose k} p^k (1-p)^{ n-k}$$   Finally, the normal (Gaussian) distribution defined by mean $$\mu$$ and variance $$\sigma^2$$ is: $f(x; \mu, \sigma^2) = \frac{1}{\sigma \sqrt{2\pi}} e^{-\frac{1}{2} (\frac{x-\mu}{\sigma})^2}$
to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.