TeX problem -- why?
2 views (last 30 days)
Show older comments
This is working
gtext('\Sigma')
gtext('\color {red} 5')
This is not working
gtext('\frac{1}{2}')
gtext('\sqrt(5)')
Why??
Accepted Answer
Teja Muppirala
on 5 May 2011
MATLAB's TeX does not support those. However, these two will work:
gtext('$\frac{1}{2}$','interpreter','latex','fontsize',50)
gtext('$\sqrt{5}$','interpreter','latex','fontsize',50)
To find out more about tex/latex support in MATLAB, look here:
More Answers (0)
See Also
Categories
Find more on Whos 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!