Accented characters with interpreter latex
39 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Walter Roberson
on 13 Dec 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 Comments
Walter Roberson
on 13 Dec 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')
More Answers (1)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!