Omnimaga

Omnimaga => Site Feedback and Questions => Topic started by: Xeda112358 on March 03, 2014, 09:51:19 am

Title: Omni Feature Request
Post by: Xeda112358 on March 03, 2014, 09:51:19 am
Hi. Some of you might not know me, but I was wondering if we could have something like [math][/math] / [itex][/itex] / [latex][/latex]-like tags. They make equations look a lot nicer than "237/101-4sqrt(2)/(x+sqrt(2))".




But really, I do like to post in our Math section and some formulas start looking pretty ugly in linear format.
Title: Re: Omni Feature Request
Post by: Eeems on March 03, 2014, 10:00:44 am
Feature requests should be logged via this form: http://ourl.ca/request
Title: Re: Omni Feature Request
Post by: Runer112 on March 03, 2014, 06:35:39 pm
I would love this feature. How impossible would it be to import something like MathJax (http://www.mathjax.org/)? Some guy seemed to know how to do it. (http://wiki.math.toronto.edu/TorontoMathWiki/index.php/Forum)


Or just pick something that's already designed for SMF2.
Title: Re: Omni Feature Request
Post by: TIfanx1999 on March 03, 2014, 06:40:38 pm
Hi. Some of you might not know me, but I was wondering if we could have something like [math][/math] / [itex][/itex] / [latex][/latex]-like tags. They make equations look a lot nicer than "237/101-4sqrt(2)/(x+sqrt(2))".


But really, I do like to post in our Math section and some formulas start looking pretty ugly in linear format.


Pfft... who wouldn't know Xeda? :P But yea, sounds cool. :D
Title: Re: Omni Feature Request
Post by: DJ Omnimaga on March 05, 2014, 12:11:54 pm
I would love this feature. How impossible would it be to import something like MathJax (http://www.mathjax.org/)? Some guy seemed to know how to do it. (http://wiki.math.toronto.edu/TorontoMathWiki/index.php/Forum)


Or just pick something that's already designed for SMF2.
As long as such SMF2 mod isn't filled with security exploits like the arcade and custom BBCode mod were. :P

On the custom BBCode mod, for example, with the Vimeo tags you could insert HTML, Javascript and perhaps even PHP at the end to do some nasty stuff. Thankfully, nothing worse than auto-playing rickrolls were used, though.
Title: Re: Omni Feature Request
Post by: Juju on March 05, 2014, 12:13:46 pm
A LaTeX tag? That would be pretty cool, considering many of us often post math formulas.
Title: Re: Omni Feature Request
Post by: DJ Omnimaga on March 05, 2014, 12:54:37 pm
Hi. Some of you might not know me, but I was wondering if we could have something like [math][/math] / [itex][/itex] / [latex][/latex]-like tags. They make equations look a lot nicer than "237/101-4sqrt(2)/(x+sqrt(2))".


But really, I do like to post in our Math section and some formulas start looking pretty ugly in linear format.


Pfft... who wouldn't know Xeda? :P But yea, sounds cool. :D
Yeah at first I was scared at her post because I thought some posts from new members got re-assigned to the wrong users. O.O
Title: Re: Omni Feature Request
Post by: Streetwalrus on March 05, 2014, 01:20:18 pm
LOL yeah I was wondering the same. :P
Title: Re: Omni Feature Request
Post by: Geekboy1011 on March 05, 2014, 01:40:48 pm
MathJax looks useable that would have to be fully determined by eeems though
Title: Re: Omni Feature Request
Post by: Eeems on March 05, 2014, 01:42:16 pm
MathJax looks useable that would have to be fully determined by eeems though
Cooliojazz is currently working on a Package for this.
Title: Re: Omni Feature Request
Post by: Xeda112358 on March 05, 2014, 03:52:27 pm
This will be awesome in case I get into a tutorializing mood, so thanks much for considering it!
Title: Re: Omni Feature Request
Post by: Eeems on March 05, 2014, 04:53:10 pm
##\sqrt{3x-1}+(1+x)^2##

Previewing doesn't work when you re-preview it yet. Cooliojazz is working on a fix.
Title: Re: Omni Feature Request
Post by: cooliojazz on March 05, 2014, 04:57:10 pm
Other than that though, you can use [tex]tex code![/tex] to type latex formulas now. For quirks and specifics of what it will and will not handle, check out MathJax as that is what it uses for conversion to MathML/HTML.
Title: Re: Omni Feature Request
Post by: aeTIos on March 05, 2014, 05:45:45 pm
Hi. Some of you might not know me
WHO ARE YOU I DON KNO YOU GO AWAY YOU STRANGER
But seriously now, yeah I agree that prettyprint would make the math section a lot more... pretty.
Title: Re: Omni Feature Request
Post by: Eeems on March 05, 2014, 06:19:57 pm
Hi. Some of you might not know me
WHO ARE YOU I DON KNO YOU GO AWAY YOU STRANGER
But seriously now, yeah I agree that prettyprint would make the math section a lot more... pretty.
Look at the last couple posts ;)
Title: Re: Omni Feature Request
Post by: DJ Omnimaga on March 05, 2014, 07:47:43 pm
Just don't do like TI's mathprint. I would hate to see Omni text take 0.3 seconds per line to show up :P
Title: Re: Omni Feature Request
Post by: cooliojazz on March 05, 2014, 10:47:29 pm
Yay, I think I fixed all the issues! So feel free to use the [tex] tag to make all your math look awesome! And as a sample:
##
\begin{equation}
\label{xx}
\begin{split}a_{1}& =b+c_{2}-d\\&
\quad +e-f_{5}\\&
 =g+h\\&
 =
\cfrac{z}{\sqrt{2}+\cfrac{1}{\sqrt{2}+\cfrac{1}{\sqrt{2 + \cfrac{x}{y}}+\dotsb}}}\end{split}
\end
{equation}
##

Which was made from
Code: [Select]
\begin{equation}
\label{xx}
\begin{split}a_{1}& =b+c_{2}-d\\&
\quad +e-f_{5}\\&
 =g+h\\&
 =
\cfrac{z}{\sqrt{2}+\cfrac{1}{\sqrt{2}+\cfrac{1}{\sqrt{2 + \cfrac{x}{y}}+\dotsb}}}\end{split}
\end
{equation}