How can write right or left limit?

I have to write right limit so i have to put a + or a - near the value of limit: for example x->1+ but when i put the sign + or - the formula loses formatting.
Please someone can help me?

Please copy here the text of your formula.

The formula engine considers + as the addition operator and expects 2 operands to surround it.

The solution is to remove the operator meaning by transforming + into text. Try this:

lim{ x rightarrow nospace{ 1 "+"}}

If you consider this satisfies your concern, please tick the answer for community benefit.

thank you very much.