# LaTeX math in WordPress

With the right plugin you can use LaTeX to write your formulas in WordPress!

This is a nice one from my thesis:
$\mbox{score}_s(s,u) = \frac{1}{|M|} \sum_{i=1}^{|M|} \frac{1}{|S|} \sum_{j \in S} \alpha_j \cdot \mbox{sim}_j(w_i, \sigma(w_i))$

And the alternative formulation over edges instead of words and with only two similarities (Fürstenau and Lapata, 2012):
$\mbox{score}_s(s,u) = \frac{1}{C} \left ( \alpha \cdot \sum_{(x_1,x_2) \in E(M), (\sigma(x_1), \sigma(x_2)) \in E(N)} \mbox{syn}(w_i, \sigma(w_i)) + \sum_{x \in M, \sigma(x) \neq \epsilon} \mbox{sem}(w_i, \sigma(w_i)) \right )$

Cool, eh?

This entry was posted in Blog management, LaTeX and tagged , , by swk. Bookmark the permalink.

## About swk

I am a computational linguist, teacher of computer science and above all a huge fan of LaTeX. I use LaTeX for everything, including things you never wanted to do with LaTeX. My latest love is lilypond, aka LaTeX for music. I'll post at irregular intervals about cool stuff, stupid hacks and annoying settings I want to remember for the future.