lilypond-user
[Top][All Lists]
Advanced

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

Re: Question about FretBoards context


From: Federico Bruni
Subject: Re: Question about FretBoards context
Date: Sat, 5 Apr 2014 22:08:49 +0200

2014-04-05 21:51 GMT+02:00 Pierre Perol-Schneider <address@hidden>:
Dear All,

I'd like to understand why FretBoards context does not apply here :

\version "2.18.2"

\include "predefined-guitar-fretboards.ly"

\score {
  \new FretBoards
  \chordmode {
    \override FretBoard.fret-diagram-details.finger-code = #'in-dot
    d'2 g'
  }
  \layout { }
}

\score {

  \new FretBoards

  \chordmode { d'2 g' }

  \layout {

    \context {

      \FretBoards

      \override fret-diagram-details.finger-code = #'in-dot

    }

  }

}




Just a guess:
In \layout you can omit the context (FretBoards), but you cannot omit FretBoard, which is the grob you want to modify:
http://lilypond.org/doc/v2.18/Documentation/internals/fretboard
http://lilypond.org/doc/v2.18/Documentation/notation/changing-context-default-settings


reply via email to

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