OSIPI / OSIPI_CAPLEX

TF4.2
https://osipi.github.io/OSIPI_CAPLEX/
0 stars 7 forks source link

Add Annotations to equations #34

Closed MartinKjunior closed 1 year ago

MartinKjunior commented 1 year ago

Add Annotations to large equations, especially in the perfusionModels.md file which contain the MathJax code to create that equation. This will make it easy to copy-paste large equations rather than having to rewrite them especially when the font gets small.

MartinKjunior commented 1 year ago

Annotations currently do not work properly inside tables so we need to wait for that bug to be fixed ;(

MartinKjunior commented 1 year ago

Instead of Annotations we can use MathJax version3's capability of allowing users to copy Tex to clipboard and zoom into equations with a double-click. I have no idea how to alter the MathJax settings once we load the default .js file (if you completely remove the mathjax.js file, you will see it has no effect on the actual page). Just need to think about adding a FAQ or 'How to use this site' section in Overview where we let people know that this is possible (already part of the website). image I'm trying to figure out how to alter the look of this zoom window. I was considering switching back to MathJax v2 but then we lose the 'Copy to clipboard' option. image

MartinKjunior commented 1 year ago

Decision was made to switch to version 2 of MathJax for nicer zoom function and abandon the Copy to Clipboard feature. Instead users will need to Show Math As -> Tex Commands and manually copy the code.