display ‰ symbol in xlabel with latex interpreter
조회 수: 12 (최근 30일)
이전 댓글 표시
Hi,
I need to display a permil (\textperthousand) in my xlabel but I cannot get it to work.
I'm using the following
ylabel('$\mathrm{^{34/32}\varepsilon^{mic}_{sulfate-pyrite} \ \ (\textperthousand)}$','FontSize',16,'Interpreter','latex')
댓글 수: 0
답변 (1개)
Star Strider
2025년 1월 27일
I think it’s hanging up on the ‘\textperthousand’ call. When I searched online, that and ‘permille’ are not generally supported (and I can’t find it in my LaTeX reference).
You have to use a work-around —
% ylabel('$\mathrm{^{34/32}\varepsilon^{mic}_{sulfate-pyrite} \ \ (\textperthousand)}$','FontSize',16,'Interpreter','latex')
ylabel('${^{34/32}\varepsilon^{mic}_{sulfate-pyrite} \ \ (^{0}/_{00})}$','FontSize',16,'Interpreter','latex')
.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
