LaTeX valid interpreter error
Afficher commentaires plus anciens
I'm trying to insert this into a figure and Matlab keeps giving me the 'String scalar or character vector must have valid interpreter syntax:' error
text(-8,75,'\[X=x+vt+\frac{1}{2}(at^2)\]','Interpreter','latex','FontSize',7,'FontName','Palentino Linotype','Color','black')
any help would be appreciated
I'm also using the online version of matlab, I don't know if that would make a difference
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 29 Jan 2021
text(-8,75,'$\left[X=x+vt+\frac{1}{2}(at^2)\right]$','Interpreter','latex','FontSize',7,'FontName','Palentino Linotype','Color','black')
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!