lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to display a predefined guitar fretboard inside a \markup block


From: Federico Bruni
Subject: Re: how to display a predefined guitar fretboard inside a \markup block
Date: Mon, 27 Jan 2014 08:09:53 +0100

2014/1/26 Eluze <address@hidden>
I think what Patrick tells is the way to do it:

to display the fret diagram as defined in the mentioned just add

  \new FretBoards \myChords

in the appropriate place!

was that your question?

See below: only "Hello World" is printed, the \score is ignored

\version "2.18.0"

myChords = \chordmode {
  c1
  a1:m
  g1:7
  c1:7
  f1
  
}

\markup {
  Hello World
  \score {
    <<
      \new ChordNames {
        \set chordChanges = ##t
        \myChords
      }
      
      \new FretBoards {
        %\set chordChanges = ##t
        \myChords
      }
    >>
  }
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]