I would need to write a few letters above certain syllables in a normal text. I've found this great \stackengine
package, which seems to do the job.
\documentclass{article}
\usepackage{stackengine}
\begin{document}
\stackon{a}{w}\stackon{b}{x} \stackon{c}{y}\stackon{d}{z}
\end{document}
However, due to the different height of the letters, the vertical position of the stacked pieces of text is not even. How is it possible to balance somehow out this difference and create a kind of secondary line of the stacks above the main line?