# How to get a line over number that does not connect to line next to it?

1 view (last 30 days)
Benjamin Cowen on 6 Feb 2017
Hey, I am using the latex interpreter to write crystal directions. I have the code below. But if you use this, I get the direction [2110] and the line above the two 1's are connected. How can I have this line not connected? The reason this is not good is because it could be interpreted as 2 -11 0 but it needs to be 2 -1 -1 0. Note the - will be above the 1 as I have below. I would extremely appreciate any insight into how to fix this. Also, I do not want to add a space between the numbers. Then the spacing would look weird. I just want a smaller line above the number.
ax = gca;
ax.ThetaAxis.TickLabelInterpreter = 'latex';
ax.ThetaTickLabel = {'[2$\overline{1}\overline{1}$0]...