# Toronto Math Forum

## APM346-2012 => APM346 Misc => Topic started by: Ping Zheng on September 21, 2012, 02:22:27 PM

Post by: Ping Zheng on September 21, 2012, 02:22:27 PM
Hi,
I have problem of using the mathjex in my computer, could anyone help me out for this?
Post by: Martin Munoz on September 21, 2012, 02:29:12 PM
Hi Ping, what are you trying to do exactly? MathJax should just work without any installation. Just make sure that JavaScript is enabled.

Does this look like math? $\int_0^x f'(t) \,dt = f(x)$.
Post by: Victor Ivrii on September 21, 2012, 03:09:09 PM
Hi,
I have problem of using the mathjex in my computer, could anyone help me out for this?

First, it is MathJax as it is related to Ajax http://en.wikipedia.org/wiki/Ajax_(programming)
(http://en.wikipedia.org/wiki/Ajax_(programming))
Do you have troubles seeing math? Or there is a raw code? In the latter case see

Or do you have problems writing math?

Post by: Ping Zheng on September 22, 2012, 12:38:11 AM
where can I find the code from my document to start from OR to insert the copied code from the MathJax website to?
Post by: Victor Ivrii on September 22, 2012, 02:12:11 AM
where can I find the code from my document to start from OR to insert the copied code from the MathJax website to?

What do you want and what is your problem?
• Do you see mathematical expressions I typed on our forum properly?
• Yes
• No
• Have you troubles typing math by yourself?
• Yes
• No
• Are you trying to set MathJax somewhere else?
• Yes
• No

Only in the last case you need to worry about setting MathJax.

Post by: Ping Zheng on September 22, 2012, 09:39:01 AM
1.no
2.yes
3.no
Post by: Ping Zheng on September 22, 2012, 09:44:00 AM
i had try to follow the instruction below but don't know wehre to find <head> or <body> code so i can insert the code to.

Using the MathJax Content Delivery Network (CDN)Â¶
To use MathJax from our server, you need to do two things:

1.Link MathJax into the web pages that are to include mathematics.
2.Put mathematics into your web pages so that MathJax can display it.
You accomplish the first step by putting

<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
into the <head> block of your document. (It can also go in the <body> if necessary, but the head is to be preferred.) This will load the latest version of MathJax from the distributed server, and configure it to recognize mathematics in both TeX and MathML notation, and ask it to generate its output using MathML if the browser supports that well enough, and otherwise use HTML-with-CSS to display the mathematics. This is one of the most general configurations, and should suffice for most peopleâ€™s needs. Other configurations are available, however, and you can also provide additional configuration parameters to taylor one of the configurations to your needs. More details can be found in the Loading and Configuring MathJax instructions.

To see how to enter mathematics in your web pages, see Putting mathematics in a web page below.
Post by: Victor Ivrii on September 22, 2012, 12:47:24 PM
i had try to follow the instruction below but don't know wehre to find <head> or <body> code so i can insert the code to.

...snip...

To see how to enter mathematics in your web pages, see Putting mathematics in a web page below.

You do not need to follow the instructions you copied, they are for hooking up MathJax and we did it.

Since you do not see a properly rendered math, I presume that something is wrong with your set-up

Is Javascript enabled?
If you use laptop, or handheld can you come with it to my office during office hours?