Hello everyone. Today one of my clients asked me if it is possible to **add mathematical formulas** to SharePoint pages. I found a solution here that gives you the possibility to **generate gif images** from Latex code. Please give the guys from codecogs some credit for their awesome solution and donate some money if you liked this solution.

Now lets get down to business ðŸ™‚

Here is the example code I used to add the Theorem of Pythagoras to my SharePoint page:

<html>
<head>
<script type="text/javascript" src="http://latex.codecogs.com/latexit.js"></script>
</head>
<body>
<h1>Theorem of Pythagoras</h1>
<div lang="latex">a^2 + b^2 = c^2</div>
</body>
</html>

Upload the above script to your SharePoint site and add a **Content Editor Web Part** to the page. Add the link to your script to the **Content Editor Web Part**.

The result will look like this:

Pretty simple right? This way you can add all kinds of mathematical formulas to your SharePoint pages.

I hope you liked my post and I hope to see you again next time ðŸ™‚

**Sources:**

http://www.codecogs.com/latex/integration/htmlequations.php

http://stackoverflow.com/questions/11824093/how-to-integrate-a-shortcode-feature-in-sharepoint-wikis

### Like this:

Like Loading...

*Related*

Great Article. Thanks for the info. Does anyone know where I can find a blank FL 12.922 to fill out?