This page is not for general use. I am just testing out methods.
Here is a sample LaTex equation. \(y=x^2\) The LaTeX command to create above was y=x^2 \(y=x^2\) some text \(y=x^2\) Another example. $$y =\int_{0}^{\infty}x^3dx$$ $$y =\int_{0}^{\infty}x^3dx$$ Using my iPad Having been succesful on a mac what about editing on my iPad? Well here is another equation. sinxcosx=tanxsinxcosx=tanx The above trig equation was added on my iPad. \(y=x^2\) This is now added on Mac. $$y =\int_{0}^{\infty}x^3dx$$ $$y=x^2$$ |
These were the statements I thought I would have to embed in html before body of page but in fact all I had to do was to run the app found at https://www.weebly.com/uk/app-center/mathjax and identify the site I wanted to add to and hey presto it was done. I plan to write a step by step guide on how I use various software to write equations using both my mac and iPad once I have tested it out fully.
$$y=x^2$$ some text $$y=x^2$$ \(y=x^2\) some text \(y=x^2\) Yet another equation created with LaTeX. $$\frac{1}{x-2}+ \frac{1}{x+2}-\frac{2x}{x^2+4}= \frac{x+2+x-2}{x^2-4}-\frac{2x}{x^2+4}$$ Pages I see that latest update to Pages has introduced Latex. Let’s see how this works. This Latex equation is inline \(\int_{-N}^{N} logx\, dx\) and \(y=x^4\) |
Writing Maths
About to try Latex \(y=x^2\)Advanced Mathematics - Tranter
Written in native html with 'src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">' between script tags.
This should support LaTeX both inline \(\sqrt{(a+b}\) and on its own line. $$(a=b)^2 = a^2 +2ab + b^2$$
Inline statements,
In normal LaTeX maths surrounded by single $ will keep the equation inline with the text, but for html files this can cause problems. Imagine you have two cash statements in your document such as "I paid $100 but sold it for $120." The letters between the dollars would be treated as LaTeX statements. So instead "\("
is used.
Let me try it now \(x^2\). This was created by \(x^2\)
.
Before discovering the above I experimented with making PDF files and adding the to the web page. This is illustrated below.
maths.pdf | |
File Size: | 47 kb |
File Type: |