bold lowercase Greek letters in latex interpreter

조회 수: 49 (최근 30일)
Cloud
Cloud 2015년 1월 10일
댓글: dpb 2015년 1월 12일
Hello
I want to have bold lowercase Greek letters in the x-axis and I need also math symbols in it (\hbar in this case). I am really sick of it because of the cases:
1. xlabel('\bf \omega','fontsize',50)
-it works like I want but I am not able to input \hbar in it. When I write:
xlabel('\bf \omega \hbar','fontsize',50) it messes up the label
2. xlabel('$\mathbf{\hbar\omega}$','Interpreter','latex','fontsize',50)
-it works perfectly for hbar but the omega is not bold and it is italic (It drives me crazy,
because it works correctly for upper case \Omega, but not for the lower case \omega -and same
for other letters)
So I am asking: Is it possible to turn on and off bold and italic mode in latex interpreter in math mode in order to write Greek letters (both cases) and math symbols and numbers and Latin letters?
Please help me!
Thanks a lot in advance.
  댓글 수: 6
dpb
dpb 2015년 1월 12일
I'm sure how quickly is highly dependent upon how familiar one is w/ the ins and outs of LaTex...
dpb
dpb 2015년 1월 12일
I've no klew on how can write syntax in the Matlab strings passed via legend and/or text to do the more exotic stuff of using packages and all (or if it's even possible). I just don't know enough about TeX/LaTex syntax to have any idea where parens vs curlies and record marks are significant and the like.
It's a whole new programming language and I've never used it for anything but the most rudimentary purposes. It also is one thing to use a package and something else again to know what/how the implementation is patched into Matlab...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by