En-dash problem
7 次查看(过去 30 天)
显示 更早的评论
Hello.
I'm trying to get an en-dash in between my SPL sub 1 and SPL sub 2 texts in xlabel, but everytime I do it doesn't work. It just gives me the normal hyphen -
I tried using 'Interpreter', 'latex') but that just messes everything up.
This is what I have: For this code matlab only gives me a hyphen between my two SPL values
xlabel('\bfSPL_{1} - \bfSPL_{2}','FontSize',12, 'FontAngle','italic')
I got the en-dash with help from per isakson; however, is there a way to make the en-dash also bold?
This is a pic of what it looks like:
Thank you for the help.
0 个评论
采纳的回答
Walter Roberson
2019-2-22
5 个评论
per isakson
2019-2-22
编辑:per isakson
2019-2-22
I think the En-dash already is bold, and that, one my screen, I cannot distinguish a bold from a normal En-dash. Replace char(8211) by 'A' to test. Maybe some other font has a bolder en-dash.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!