Which Latex Characters does 2013A support : Warning: Unable to interpret LaTeX string
조회 수: 2 (최근 30일)
이전 댓글 표시
I often get this: Warning: Unable to interpret LaTeX string
For example,
plot(rand(10,1));
AX=legend('$\text{A,B}$');
set(AX,'Interpreter','Latex');
What work arounds are there? Is there a list of supported characters?
댓글 수: 0
채택된 답변
Daniel Shub
2013년 9월 10일
The MATLAB LaTeX interpreter is a fully functional LaTeX system. It is based on the article class so all of those macros are available also. It does not support any macros defined in packages and loading packages is difficult. Since \text is a macro defined in the AMS packages it is not available.
추가 답변 (1개)
Rob
2014년 3월 19일
Thanks, is there any other way to access that symbol in Matlab? e.g., in a plot title or elsewhere - or are these all macros like \text?
참고 항목
카테고리
Help Center 및 File Exchange에서 Labels and Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!