Formula Support (LaTeX?)

Formula Support (LaTeX?)

Postby felix » Mon May 16, 2011 12:16 pm

Hey,
is it possible to use embedded formulas on the flashcards? For example by using LaTeX Code on the Cards?
felix
 

Re: Formula Support (LaTeX?)

Postby Ernie » Mon May 16, 2011 1:27 pm

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
Ernie
Site Admin
 
Posts: 4790
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Formula Support (LaTeX?)

Postby Guest » Fri Apr 01, 2016 4:15 am

..but really, do you have any plans to support latex?
Guest
 

Re: Formula Support (LaTeX?)

Postby Ernie » Thu May 12, 2016 6:04 am

Still no plans to support LaTeX. Sorry.
Ernie
Site Admin
 
Posts: 4790
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Formula Support (LaTeX?)

Postby c0ldlimit » Tue Feb 13, 2018 3:12 pm

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?
c0ldlimit
 

Re: Formula Support (LaTeX?)

Postby Ernie » Sat Feb 17, 2018 6:50 am

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)
Ernie
Site Admin
 
Posts: 4790
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Formula Support (LaTeX?)

Postby mathjax » Sun Nov 29, 2020 7:33 am

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?)
mathjax
 

Re: Formula Support (LaTeX?)

Postby Ernie » Thu Dec 03, 2020 1:34 am

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.
Ernie
Site Admin
 
Posts: 4790
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Formula Support (LaTeX?)

Postby Ernie » Thu Dec 17, 2020 2:50 am

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
Ernie
Site Admin
 
Posts: 4790
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Formula Support (LaTeX?)

Postby Guest » Tue Oct 26, 2021 10:16 am

Is already available this new version with MathJax support?
Guest
 

Re: Formula Support (LaTeX?)

Postby Ernie » Tue Oct 26, 2021 12:20 pm

To enable support MathJax support:
Swipe left on deck (in Decks screen), Edit, Advanced, MathJax > On

You can let me know how it works for you.
Ernie
Site Admin
 
Posts: 4790
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Formula Support (LaTeX?)

Postby Guest » Tue Oct 26, 2021 1:10 pm

It works really nice!! Thank you so much for taking the time to reply
Guest
 

Return to Comments, Questions and Feedback