Live latex preview

112 views
Skip to first unread message

Ste Wilson

unread,
Nov 19, 2017, 3:06:15 PM11/19/17
to TiddlyWiki
I've no idea of this is any use to anyone but in my tinkering to try and produce automatic marked but randomly generated maths problems (mostly on hold due to being far too busy but have a look here www.http://stephenteachertests.tiddlyspot.com/#Intreactive%20text ) I have a tiddler that shows the result of latex code directly below the input box.
Try it here.
stephenteachertests.tiddlyspot.com/#Live%20latex%20display

PMario

unread,
Nov 19, 2017, 3:16:40 PM11/19/17
to TiddlyWiki
Hi Ste,

Very interesting. ... but for me the font-size is way to small. Minimum should be 16px today. Especially with this font!

just my 2cents
have fun!
mario


Ste Wilson

unread,
Nov 19, 2017, 3:25:34 PM11/19/17
to TiddlyWiki
I'll put the font back to something sensible. :) the size looks fine on my phone...

dva...@gmail.com

unread,
Dec 16, 2017, 11:37:19 AM12/16/17
to TiddlyWiki
Hi,

That's neat. But too much work for a lazy person like me. Ideally it would be nice to have something that worked in tandem with the kantorsite mathjax or khan academy katex math plugins. So one could just use the '$' notation for equations and it would display the LaTeX in live preview without having to call any macros and so on.

If its not too much to ask, maybe you could figure out how that can be done?

Thanks in advance,

Cheers,

Deepak

Ste Wilson

unread,
Dec 16, 2017, 1:46:14 PM12/16/17
to TiddlyWiki
Just fixed the broken link. Apparently I selected the tiddler about 30mins after posting the link. Most odd.

If you install Mathcell http://mathcell.tiddlyspot.com/ then drag the two tiddlers mentioned in the link atinto the bottom into your Wiki then all you would need to do would be transclude {{Latex Display}} into whatever tiddler you wanted a live preview. It uses the katex plugin.

stephenteachertests.tiddlyspot.com/#Live%20latex%20display

Ste Wilson

unread,
Dec 16, 2017, 2:19:16 PM12/16/17
to TiddlyWiki
*deleted the tiddler
Reply all
Reply to author
Forward
0 new messages