Page 1 of 1

Formula Support (LaTeX?)

PostPosted: Mon May 16, 2011 12:16 pm
by felix
Hey,
is it possible to use embedded formulas on the flashcards? For example by using LaTeX Code on the Cards?

Re: Formula Support (LaTeX?)

PostPosted: Mon May 16, 2011 1:27 pm
by Ernie
No, I don't have any plans to support LaTeX. You've got unicode at your disposal, or can create pictures with equations. The following website can help create pictures with formulas if you don't feel like hand drawing or picture taking:
http://www.codecogs.com/components/equa ... editor.php

Re: Formula Support (LaTeX?)

PostPosted: Fri Apr 01, 2016 4:15 am
by Guest
..but really, do you have any plans to support latex?

Re: Formula Support (LaTeX?)

PostPosted: Thu May 12, 2016 6:04 am
by Ernie
Still no plans to support LaTeX. Sorry.

Re: Formula Support (LaTeX?)

PostPosted: Tue Feb 13, 2018 3:12 pm
by c0ldlimit
When I try to use "latex.codecogs dot com/gif.latex?Se^{-qt}\phi(d_1)" as a picture link, the app complains that it not a image extension. However it is in fact an image. Is there anyway to "trick" the app into thinking that the link is an image?

Re: Formula Support (LaTeX?)

PostPosted: Sat Feb 17, 2018 6:50 am
by Ernie
Hi c0ldlimit,

I responded by email. Below is the response in case others may find it useful.

My app expects a URL to end in a valid filename + extension. Assume your URL is

https://abc.com?code=def

Try using
https://abc.com?code=def&/pic.jpg

The “&” is a start of an additional parameter. (The first parameter uses ?)
After that we put a slash and a file name to use when storing on the device. The URL should still work and it has the information the app expects (a slash and file name at end)

Re: Formula Support (LaTeX?)

PostPosted: Sun Nov 29, 2020 7:33 am
by mathjax
If the Flashcard view is a web view, supporting LaTeX could be as simple as including a "script" tags to import MathJax from a CDN. (Alternatively, the script could be packaged with the app?)

Re: Formula Support (LaTeX?)

PostPosted: Thu Dec 03, 2020 1:34 am
by Ernie
mathjax,

Thanks for the info. I will try out adding the script header to my flashcard screen and see what happens (in my dev version) and see what happens. If it seems to work OK, I'll consider adding an option to include this support.

Re: Formula Support (LaTeX?)

PostPosted: Thu Dec 17, 2020 2:50 am
by Ernie
I have a new version where I added support for MathJax.
If anyone wants to try out the Android version (before it gets released at some point), email me.

Ernie
et@orangeorapple.com