I am trying to prepare a small document in Sanskrit language. The text that I am trying to type are very well available with my Windows 8 OS and I could type them fairly well.
However, my requirement is that I am preparing this document as a guide to read and as well as pronounce correctly. The pronunciation symbols followed are as ancient as the language and are similar to the IPA.
To put all my need in English, assume I want to type something like this:

The numbers, alphabets, symbols that is seen in the first line with small font size are phonetic guide and the text "Sample" in the second line is the actual text.
I have no problem in typing the second line. But it is time consuming for me to type and place the characters in the first line using text box as this is the only way I figured to achieve the result. As it can been seen this is very tedious and more importantly all those efforts goes waste if the second line is edited.
So, my question: Is there any easy way for me accomplish the above at the same time allow me to edit the text in both lines?
Clarification:
A sample (and actual) text that I am trying to type is:
. The second line is a word that has to be hymned with specified octave on first, last but one and last alphabet. The octave is mentioned as numerals in the first line (reading 1, 0 and 3 from left to right). 0th octave is the highest not silence ;)
I am not expecting the word processor to do any automation nor I do not want any macro support as well. After posting this question I stumbled on field code for equation and it would be easy if I can do something like with equation editor by invoking it with field code { EQ \f(1,S) }.
The sample text typed as equation fraction field:
results in:

The disadvantages are:
- No kerning.
- Line between numerator and denominator - can't be removed.
- Equal size of font for both parts of fraction.
I guess there is no easy way. Does other publishing tools like Pagemaker does have any tricks on its sleeve?