Hello, Thanks to Taco, I have some progress in developing "guitar chord" command.
My current trouble is how to develop the "mark" MP macro and where to put it? Inside startuseMPgraphic?
\startuseMPgraphic{chordgrid}{e,B,G,D,A,E} drawoptions(withpen pencircle scaled 0.4pt withcolor black) ; draw hlingrid(0, 5, 1, 0.8cm, 1cm) ; draw vlingrid(0, 4, 1, 1cm, 0.8cm) ; draw mark(1,\MPvar{e}); draw mark(2,\MPvar{B}); draw mark(3,\MPvar{G}); draw mark(4,\MPvar{D}); draw mark(5,\MPvar{A}); draw mark(6,\MPvar{E}); \stopuseMPgraphic \define[6]\Ch {\dontleavehmode \useMPgraphic{chordgrid}{e={#1},B={#2},G={#3},D={#4},A={#5},E={#6}}% \hskip2mm} \starttext \Ch{1}{3}{1}{2}{1}{1} \stoptext -- Best Regards, Vyatcheslav Yatskovsky ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________