Toronto Math Forum

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

Title: about the MathJax
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?
Title: Re: about the MathJax
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)$.
Title: Re: about the MathJex
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
http://www.math.toronto.edu/courses/apm346h1/20129/about_mathjax.html (http://www.math.toronto.edu/courses/apm346h1/20129/about_mathjax.html)

Or do you have problems writing math?


Title: Re: about the MathJex
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?
Title: Re: about the MathJax
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?

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

Please do not flood!!!
Title: Re: about the MathJax
Post by: Ping Zheng on September 22, 2012, 09:39:01 AM
1.no
2.yes
3.no
Title: Re: about the MathJax
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.

The use of cdn.mathjax.org is governed by its terms of service, so be sure to read that before linking to the MathJax CDN server.

To see how to enter mathematics in your web pages, see Putting mathematics in a web page below.
Title: Re: about the MathJax
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

What is your OS?
What is your web browser?
Is Javascript enabled?
If you use laptop, or handheld can you come with it to my office during office hours?



Title: Re: about the MathJax
Post by: Ping Zheng on September 22, 2012, 01:17:44 PM
sure, i'll go to your office hour on monday.
Title: Re: about the MathJax
Post by: Ping Zheng on September 22, 2012, 01:20:46 PM
can anyone post a photo of the assignment that's due this monday since I can't read the raw code from the website. I tried it on campus computer and my friends' computer. same thing happened. you can sent the picture to zheng_ping88@hotmail.com

really really appreciate!!!!

thanks very much