Don’t know if this would work, but maybe it’s worth a look.

http://www.tex.ac.uk/ctan/graphics/gchords/gchords_doc.pdf