Link latex equation to code
Afficher commentaires plus anciens
In the live editor, is there a possibility to link a latex equation to the code?
Here is an example of what I'm trying to acheive:
Reference chord length: 
c = 0.525;
What I would like is that if I change the code to:
c = 0.5;
The latex equation changes automatically, or the other way around, if I change the latex equation it changes the code.
If it is not possible it would be an amazing feature.
Réponses (1)
madhan ravi
le 7 Juil 2020
0 votes
Use livescript
5 commentaires
Thomas Jacob
le 7 Juil 2020
madhan ravi
le 7 Juil 2020
I’m pretty sure you added that information after I answered. By the way by default livescript outputs the result in latex form not the code itself. But there’s an option to export the code and result into a latex file.
Thomas Jacob
le 7 Juil 2020
madhan ravi
le 7 Juil 2020
It can only be done manually.
Thomas Jacob
le 7 Juil 2020
Catégories
En savoir plus sur LaTeX dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!