bold lowercase Greek letters in latex interpreter

49 views (last 30 days)
Cloud
Cloud on 10 Jan 2015
Commented: dpb on 12 Jan 2015
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 Comments
dpb
dpb on 12 Jan 2015
I'm sure how quickly is highly dependent upon how familiar one is w/ the ins and outs of LaTex...
dpb
dpb on 12 Jan 2015
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...

Sign in to comment.

Answers (0)

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!