Accented characters with interpreter latex
42 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dan
le 13 Déc 2020
Commenté : Walter Roberson
le 13 Déc 2020
Hi, I am trying to insert an accented letter in the title with 'interpreter latex' option, but I obtain this warning: 'String scalar or character vector must have valid interpreter syntax'. How can I fix it?
title('Intensità','Interpreter','latex')
0 commentaires
Réponse acceptée
Walter Roberson
le 13 Déc 2020
See the chart at https://tex.stackexchange.com/questions/8857/how-to-type-special-accented-letters-in-latex
title('Intensit\`a','Interpreter','latex')
2 commentaires
Walter Roberson
le 13 Déc 2020
Be careful on entering the opposite accent such as
-- as it is the usual apostrophe, it ends character vectors and you have to double it. Or you can use " " delimiters

title('Intens\''it\`a','Interpreter','latex')
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Characters and Strings 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!