Latex Support to publish in html format
显示 更早的评论
The following Latex code does not get recognised by Matlab when trying to publish in html:
\iint_{E}f\left(x,y\right)dxdy
The problem is undoubtedly the double integral; I get the following error: "Unable to interpret Latex string".
Could please someone help me? Why doesn't Matlab recognise this Latex command? It is perfectly fine with:
\int_{E}f\left(x,y\right)dx
Thanks in advance.
Alessio
采纳的回答
更多回答(2 个)
Youssef Khmou
2013-9-28
Alessio
The right and left parenthesis are maybe not recognized , try directly this command :
>>text(0.5,0.5,'\int_{E}f ( x,y ) dx dy')
2 个评论
Alessio Nava
2013-9-28
Youssef Khmou
2013-9-28
waiting for an answer, so far you can try :
>>text(x,y,'the expression', 'interpreter','latex');
......
Daniel Shub
2013-9-28
0 个投票
This is in essence a duplicate of http://www.mathworks.co.uk/matlabcentral/answers/86824-which-latex-characters-does-2013a-support-warning-unable-to-interpret-latex-string
\iint and \mathbb are defined by the AMS packages. Hereford they are not available. There are a number of hack solutions that I have posted, but it is probably best to avoid using anything that is not defined in the LaTeX kernel and article class (note that size commands are not available).
2 个评论
Alessio Nava
2013-9-28
Daniel Shub
2013-9-28
编辑:Daniel Shub
2013-9-28
I gave an answer a while back on TeX.se http://tex.stackexchange.com/a/98803/10038, but I am telling you the work arounds are hacks. I would just stick with base LaTeX and not use macros that depend on packages.
类别
在 帮助中心 和 File Exchange 中查找有关 Adding custom doc 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
