Hi list!

I'm trying to figure out how to set chordChanges to true in an include file, 
like so:

%%%%% def.ily %%%%%
\version "2.20.0"
\layout {
  \context {
    \ChordNames
    \set chordChanges = ##t
  }
}
%%%%%%%%%%%%%%

%%%%% score.ly %%%%%
\version "2.20.0"
\include "def.ily"
\score {
  <<
    \new ChordNames = "chords" {
      \chordmode {
        c1 | c | f | c |
      }
    }
  >>
}
%%%%%%%%%%%%%%%

This returns an error: "unexpected \set". If I move the \context out of a 
layout block, then it adds extra space above the "chords" staff, but doesn't 
solve the problem.

My goal's to create a sort of "stylesheet" as mentioned in the Learning Manual. 
I know I could write `c1 | s1 | f | c` or just write it in every score, but I 
guess I want to be lazy.

Any pointers would be greatly appreciated. Thanks!

Regards,

Randy
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to