How to write X2 (x in square)

What I want to say is how to write x2, two should be smaller then X and 2 should be above x, You know

x in square

  1. Type x then Ctrl+Shift+P, type 2, Ctrl+Shift+p again.

  2. type x2, highlight 2, click on “superscript” Button in Sidepanel.

  3. type x2, highlight 2, right-click and select Character …, under Tab “Position” click Radiobutton “Superscript” and Ok.

Perfect Thank you, sorry can not up vote your comment do not have enough Karma

  1. Use the superscript 2 of the keyboard, which is a special character.

  2. Write x^2, mark it, and convert it into a Math object. You might want to set the left and right margin to zero in frame style Formula.