Formatting mathematical formulas in Google Docs, incorporating multiple levels of superscript and subscript

Does anyone know if Google Docs supports nested superscripts and subscripts like the following?

AX3

CXtwo

When I try using the menu options Format-> Text, everything is formatted relative to the main line. If the same formatting is applied to text that already has that attribute, it is disabled instead of allowing insertion inside.