How can I enter chords in the following fashion.....D/E...or ....G/A.....as examples in a measure?

Thank you for any help.
Regards

Gerry.