SharePoint – How to use mathematical formulas on your pages


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.

sharepoint_math_formula_editor

The result will look like this:

sharepoint_math_formula_finished

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

Advertisements
Tagged ,

One thought on “SharePoint – How to use mathematical formulas on your pages

  1. WENDIE MACKE says:

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: