On 3/11/11 2:34 AM, "Marc Hohl" <m...@hohlart.de> wrote: > Am 10.03.2011 19:52, schrieb Keith OHara: >> Marc Hohl<marc<at> hohlart.de> writes: >>> I try to put fret diagrams at the beginning of a piece. >>> My input file looks like this: >>> >>> << >>> \new ChordNames \chordmode { >>> g:m >>> } >>> \new Lyrics \lyricmode { >>> \markup { \fret-diagram #"w:4;4-o;3-o;2-1;1-3;" } >>> } >>>>> >>> Warning: staff-affinities should only decrease > > Meanwhile, I had another idea, because the "lyrics", i.e. the fret diagrams, > are left-aligned in respect to the ChordNames, so I found a better solution, > just for the record: > > \markup { > \fill-line { > \center-column { Gm \fret-diagram #"w:4;4-o;3-o;2-1;1-3;" } > \center-column { X77 \fret-diagram #"w:4;4-o;3-o;2-1;1-3;" } > } > } >
Why not just use a FretBoards context? Thanks, Carl _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user