Accented characters with interpreter latex
39 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2020 年 12 月 13 日
See the chart at https://tex.stackexchange.com/questions/8857/how-to-type-special-accented-letters-in-latex
title('Intensit\`a','Interpreter','latex')
2 件のコメント
Walter Roberson
2020 年 12 月 13 日
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')
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!