Azzera filtri
Azzera filtri

bold lowercase Greek letters in latex interpreter

27 visualizzazioni (ultimi 30 giorni)
Cloud
Cloud il 10 Gen 2015
Commentato: dpb il 12 Gen 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 Commenti
dpb
dpb il 12 Gen 2015
I'm sure how quickly is highly dependent upon how familiar one is w/ the ins and outs of LaTex...
dpb
dpb il 12 Gen 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...

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Labels and Annotations in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by