[Tex/LaTex] Subscript/superscript without using math mode or TeX code box, in LyX

lyxsubscriptssuperscripts

Is it possible to use subscript and superscript in LyX without entering into math mode or inserting TeX code? For example, can I get H2O to be displayed properly without \ce{H_{2}O} or Tex code box with \textsuperscript{th} etc.?

Best Answer

Type 'H', then Insert > Formatting > Subscript, then press the right arrow (this gets you out of the subscript), then type '0'.

You can assign this operation to a key shortcut such as [Ctrl]+[,] using script-insert subscript (see also: lyx shortcut for superscript and subscript).