[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two beginners questions
From: |
mj |
Subject: |
Re: two beginners questions |
Date: |
Wed, 6 Apr 2016 11:43:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
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
Re: two beginners questions, David Kastrup, 2016/04/05