Writing mathematical presentations using mathjax [closed]

Solution 1:

Let me show you how the pros (admittedly, in other fields) do it:

Use any HTML/CSS/JS presentation library. For example, a nice one is reveal.js. Usually, they have a sample presentation to get you started.

Add a script pointing to MathJax's CDN or to a local directory (assuming that you might not have a decent Internet connection). For example, I added this at the bottom of the sample presentation of reveal.js:

<script type="text/javascript"
    src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

Then you're good to go. Write whatever you want to appear in LaTex-like format:

<div class="reveal">

    <!-- Any section element inside of this container is displayed as a slide -->
    <div class="slides">

        <section>
             <h1>Reveal.js</h1>
             <h3>Latex Presentations Made Easy</h3>
             <p>
                $$\frac{1}{n}\sqrt{e^\frac{1}{n} - e^\frac{1}{n+1}}\sim\frac{1}{n^2}$$
             </p>
             <p>
            <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
             </p>
         </section>
        ... 
    </div>
</div>

The result should be something like this:

enter image description here

In addition of this, reveal.js (and a bunch of other libraries) allow you to write your presentation in Markdown, quotes, snippets of code, link to other slides in your presentation, export your presentation to PDF, among other features.

Solution 2:

Pandoc provides a very nice way to create slides with various formats from a basic Markdown source file. It is possible to have html slides and beamer slides (pdf output and/or LaTeX source code) from the same source code.

The freely available tool required: Pandoc

Here is the Markdown source file of the example I have just typed.

input.md file:

Slides with Markdown
========================================================

# Contents

- Typing mathematics 

- Including a web application

# Typing mathematics 

Type mathematics as in `math.stackexchange.com` : $\int_0^1 f(x) \mathrm{d}x$

# Including a web application

Type the `html` source code you want:

<iframe src="http://glimmer.rstudio.com/stla/3Dsliced/" style="border: none; width: 500px; height: 700px"></iframe>

And here is a link to the html output file: output.html.

The html output file is obtained with Pandoc by typing the command line

pandoc -s -S -i -t slidy --mathjax input.md -o output.html

where ìnput.md is the name of the Markdown source file.

To get a beamer output type:

pandoc -s -S -i -t beamer input.md -o output.pdf

And here is the link to the pdf output file: output.pdf

To get the source LaTeX file producing the beamer pdf :

pandoc -s -S -i -t beamer input.md -o output.tex

More details about this procedure are availbale in the Pandoc documentation and from here.

Solution 3:

It sounds to me that you want one of the ways of integrating latex into powerpoint. I've heard good things about iguanatex, which is free and would do the job. I should note that $\LaTeX$ actually has a presentation-type documentclass, called 'beamer.' You can read more about that here.