Define an equation in the html file for custom documentation
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everybody,
I am writing a custom documentation for a toolbox, we developed, using this tutorial
In the HTML Help Files I want to define mathematical equations using Latex. We want to display the documentation in the Help Menu of Matlab. We don't want to depend on other external libraies like MathJax, etc.
I tried using the '&&' symbol, but the Help menu won't render the equations:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1528801/image.png)
What am I doing wrong? What would be the correct approach to define equations in the html files?
Thank you everybody and with best wishes,
Lars
0 commentaires
Réponses (2)
Les Beckham
le 3 Nov 2023
If you create your help html file(s) using this approach (from the link you referenced): Create a live script (*.mlx) and export it to HTML., you can include Latex equations using the methods outlined here: Insert Equations into the Live Editor.
Lars Lindner
le 4 Nov 2023
1 commentaire
Les Beckham
le 4 Nov 2023
You're welcome.
I'm afraid I don't have any ideas about why the equations look right in a browser and not in the Help system.
Hopefully someone else can help. You should also consider filing a service request here (if you have current software maintenance): Contact Support
Have a good weekend.
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!