I had a similar requirement and I found the 'schemata' package was the easiest solution. It worked well with xelatex and ancient Greek. http://ctan.mirrorcatalogs.com/macros/generic/schemata/schemata.pdf