News for hackers. Stuff that matters.
Re:Mathify – Simple Text Equation to LaTeX by wenqin123 on Sunday March 26, 2017 @12:56PM (#13961689)
By the way if you find any bugs or something doesn't work the way you expect it please let me know!
Re:Mathify – Simple Text Equation to LaTeX by jmmcd on Sunday March 26, 2017 @01:51PM (#13962019)
The biggest lack compared to my normal Latex usage is a `\mathrm` command or similar. For example I believe the chemical elements should be set in upright, not italic.
Re:Mathify – Simple Text Equation to LaTeX by wenqin123 on Sunday March 26, 2017 @02:46PM (#13962361)
I just added mathrm{...your text...} and text{...your text...} to write upright text :)
Re:Mathify – Simple Text Equation to LaTeX by wyldfire on Sunday March 26, 2017 @01:28PM (#13961864)
It was puzzling that it showed "LaTeX: [empty small box]". I was waiting for something to load in that box before I realized that it would be replaced by the transormed output from whatever I typed above.

I don't know much about web design but for stuff like this I usually see the text box filled with an example input and the resulting output is displayed along with it.

Re:Mathify – Simple Text Equation to LaTeX by wenqin123 on Sunday March 26, 2017 @01:55PM (#13962046)
I changed it so that it only shows the LaTeX box when you type something in.
Re:Mathify – Simple Text Equation to LaTeX by tspiteri on Sunday March 26, 2017 @01:07PM (#13961756)
delta produces \Delta instead of \delta, so there is no way to get \delta.

Is there a way to produce <= and >=? lt and gt become < and >, which is not so necessary seeing that < and > work fine, but lte and gte do not become \lte or \gte.

In the product prod example, there is nlogn in the source and logi in the rendering.

Re:Mathify – Simple Text Equation to LaTeX by wenqin123 on Sunday March 26, 2017 @01:24PM (#13961847)
Ok I added <=, >= to produce \lte and \gte.

Also delta produces \delta instead of \Delta.

Re:Mathify – Simple Text Equation to LaTeX by lifthrasiir on Sunday March 26, 2017 @02:43PM (#13962339)
\ne is also missing.
Re:Mathify – Simple Text Equation to LaTeX by aratno on Sunday March 26, 2017 @01:47PM (#13961982)
Some equations are invalid LaTeX, such as `x_{1+x}_2`, but show up with translations regardless.
Re:Mathify – Simple Text Equation to LaTeX by marvy on Sunday March 26, 2017 @03:37PM (#13962707)
Not seeing it.