# Thread Subject: Missing minus sign with Latex + Linux

 Subject: Missing minus sign with Latex + Linux From: Nate Date: 19 Jul, 2012 18:45:33 Message: 1 of 3 I have been trying to get a label to work which is in units of reciprocal angstroms and wanted to show the angstrom to the negative one power. However, when I run the following code, the negative sign does not appear:  xlabel('$\rm \AA^{-1}$','interpreter','latex','fontsize',34) Even just doing '$-1$' just shows the '1' with no negative sign. It seems to be a problem with linux, as a coworker of mine running a different version of linux has the same problem. I am, however, able to get the exact same code to work on my Windows 7 laptop. Anyone know a work around for this? Is it just a bug that hasnt been fixed yet?
 Subject: Missing minus sign with Latex + Linux From: dpb Date: 19 Jul, 2012 19:54:09 Message: 2 of 3 On 7/19/2012 1:45 PM, Nate wrote: ... > seems to be a problem with linux, as a coworker of mine running a > different version of linux has the same problem. I am, however, able to > get the exact same code to work on my Windows 7 laptop. ... I have no solution, unfortunately; only can note that there have been quite a number of similar issues w/ LaTex interpretation in Matlab on Linux platforms posted over the last few months...  From that one would conclude likely there are bugs and reporting instances and sample code that produces them to official TMW Tech Support is warranted. --
 Subject: Missing minus sign with Latex + Linux From: jannickw@gmx.de Date: 17 Feb, 2013 11:51:38 Message: 3 of 3 I've found a solution in another post. Just put a {} around the minus, so write 10^{{-}3} for example.

### Everyone's Tags:

Separated by commas
Ex.: root locus, bode

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.