Changing font style by button
Im working on a FM database which contains technical information en mesuared data of some machines in our department. one of the text fields contains information where certain parts should be formatted in sub- or superscript. off course one could just write 1H NMR, but it would be nicer if the numer could allready be in superscript. Till now we do this formatting by selecting the text and then choose the option in the format menu.
But im wondering if there is a more convinient way to do this by just making a button with a script that can toggle selected text between normal style or superscript?
thanx in advance