Hi Phil,

Thanks for your reply. The page you reference (which I read) is where I found the code that I used:

\new FretBoards {
    % Set global properties of fret diagram
    \override FretBoards.FretBoard.size = #'1.2

This DOES take effect in my main file like this:
\score {
  <<
    \new ChordNames \chordNames
    \new FretBoards {
      \override FretBoards.FretBoard.size = #0.8
      \chordNames
    }
    \new Staff <<
      \new Voice = "Sop" { \melodySop }
      \new Voice = "Alt" { \melodyAlt }
    >>
        \new Staff { \melodyBas }
  >>
}

But I would like to put this setting into my global include.ly file, like I did with the ChordName font-size:

\layout {
  indent = 0\cm
  \context { \ChordNames
 \override ChordName #'font-size = #-2
  }
  \context { \FretBoards
  \override FretBoards.FretBoard.size = #0.8
  }
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
}

but there is seems to be ignored.

So perhaps my question should have been:
Why would the information I learned from the lilypond docs work in my main file, but stop working when I put it in a 'global' included file?

(while a similar setting in the same included file DOES seem to work)
("ChordName #'font-size = #-2")

MJ

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to