You are not logged in.
Pages: 1
I have now got LaTeX working for those who know what it is!
Example:
I did this using:
The server creates a ".gif" file each time, so to avoid slowing things down, only use it when plain old "x=y+2" won't do!
Another example:
Another example (definition of derivative):
Another example:
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Great....
It would take some time to be familiar with the codes
It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.
Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.
Offline
Boy let me tell you what:
I bet you didn't know it, but I'm a fiddle player too.
And if you'd care to take a dare, I'll make a bet with you.
Offline
Great! This can be the place to test stuff (the "sandbox") - if it loads really slowly we will know it is the math tag doing it. (Well, we may not know because our browsers will cache the results, but a new visitor may see it load slowly)
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
The problem is; that your image writing CGI is really shoddy and the GIFs look bad.
Boy let me tell you what:
I bet you didn't know it, but I'm a fiddle player too.
And if you'd care to take a dare, I'll make a bet with you.
Offline
But you have to admit...it's better than nothing Zach. Well done MathsIsFun!
Offline
The renderer isn't mine, it is "mimetex".
It is supposed to make formulas easier to present - so long as you can understand it and it doesn't take too long to render, then that are the first two criteria done. Fast is good, and mimetex seem to be reasonably fast.
Mimetex is fully self-contained, whilst other LaTeX renderers rely on 3 or 4 processes to complete the task (for example, arranging the letters and symbols, then outputting them to postscript using another package, then converting that to a gif using yet another package)
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
normal
large
I tried with a capital "L"
Apparently I can recompile the tag and "upsize" it so that large is normal - would that be better?
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
This is the homepage for mimetex: http://www.forkosh.com/mimetex.html
If you have any suggestions about other renderers, I can have a look at them.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
I will happily try other renderers - I could have a "mathtest" tag to try them out, I just don't want slow ones. Slow is no fun for anyone.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Well, I have been researching, and have found a utility that can help. It takes "dvi" output and turns it into "png" in one step. This means that I may be able to use the standard "latex" program, (which creates "dvi"s). If I can crack this nut then we might have a better solution.
It could be CPU-intensive, so I would need to cache the answers (so it is only run once not every time someone looks at the page), maybe use the first 50 characters as an identifier, or something.
I will continue to investigate.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
You may have noticed I am playing with the tag at the moment.
Don't worry, I can revert back easily.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
A completely different method is now used for the math tag. They take longer to create using this method, but I cache the results, so it should be slow only once.
Are they pretty now?
(For those who know LaTeX, "\displaystyle" is the default format)
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Testing:
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Pages: 1