Re: Coloring Ledger Lines

2015-03-08 Thread David B. Stocker
Hi David, Using \stopStaff ... \startStaff results in uneven spacing in the pair of notes between which the new StafSymbol is created. My (our) solution is to start a StaffSymbol before every note so that the spacing is uniform. Like I said, it's kind of a hack, but it works. Best regards,

Re: Coloring Ledger Lines

2015-03-08 Thread David Nalesnik
On Sun, Mar 8, 2015 at 2:19 PM, David Nalesnik wrote: > David, > > On Sun, Mar 8, 2015 at 2:00 PM, David B. Stocker > wrote: > >> Okay, David provided the answer to my last question about the spacing, I >> just had to figure it out. >> >> It seems like a hack to my, but it achieves the result I

Re: Coloring Ledger Lines

2015-03-08 Thread David Nalesnik
David, On Sun, Mar 8, 2015 at 2:00 PM, David B. Stocker wrote: > Okay, David provided the answer to my last question about the spacing, I > just had to figure it out. > > It seems like a hack to my, but it achieves the result I'm after, so if no > one has a more elegant suggestion, this is what

Re: Coloring Ledger Lines

2015-03-08 Thread David B. Stocker
Okay, David provided the answer to my last question about the spacing, I just had to figure it out. It seems like a hack to my, but it achieves the result I'm after, so if no one has a more elegant suggestion, this is what I'm going with: \version "2.18.2" \paper { indent = 0\in ragged-ri

Re: Coloring Ledger Lines

2015-03-08 Thread David B. Stocker
I see. Thanks for the explanation. David On 03/08/2015 02:42 PM, David Nalesnik wrote: On Sun, Mar 8, 2015 at 1:35 PM, David B. Stocker mailto:notesetters...@gmail.com>> wrote: I'm not sure what I'm looking at with the Scheme code, but I'll spend some time with it and see how it fi

Re: Coloring Ledger Lines

2015-03-08 Thread David Nalesnik
On Sun, Mar 8, 2015 at 1:35 PM, David B. Stocker wrote: > I'm not sure what I'm looking at with the Scheme code, but I'll spend > some time with it and see how it fits together. > > The log output indicates the StaffSymbol and LedgerLineSpanner objects that are created. It's purely for the sake

Re: Coloring Ledger Lines

2015-03-08 Thread David B. Stocker
I'm not sure what I'm looking at with the Scheme code, but I'll spend some time with it and see how it fits together. Any clues as to how to fix the ugly spacing issue that results from using \stopStaff and \startStaff? \version "2.18.2" \paper { indent = 0\in ragged-right = ##f } \sco

Re: Coloring Ledger Lines

2015-03-08 Thread David Nalesnik
On Sun, Mar 8, 2015 at 11:02 AM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Interesting, thanks David. > Cheers, > Pierre > To get more of the control any user would expect, you could do something like this: \version "2.19.16" \new Staff << \repeat unfold 8 { \star

Re: Coloring Ledger Lines

2015-03-08 Thread Pierre Perol-Schneider
Interesting, thanks David. Cheers, Pierre 2015-03-08 16:52 GMT+01:00 David Nalesnik : > Hi, > > On Sun, Mar 8, 2015 at 9:35 AM, Pierre Perol-Schneider < > pierre.schneider.pa...@gmail.com> wrote: > >> No clue. >> I just know that some grobs, like 'StaffSymbol' too, need to be reverted >> that way

Re: Coloring Ledger Lines

2015-03-08 Thread David Nalesnik
Hi, On Sun, Mar 8, 2015 at 9:35 AM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > No clue. > I just know that some grobs, like 'StaffSymbol' too, need to be reverted > that way : > Consider this snippet: \version "2.19.16" #(define ledgerInfo (lambda (grob) (let*

Re: Coloring Ledger Lines

2015-03-08 Thread Pierre Perol-Schneider
No clue. I just know that some grobs, like 'StaffSymbol' too, need to be reverted that way : \version "2.18.2" \relative c' { \override NoteHead.color = #grey \override Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey \override Staff.StaffSymbol.color = #grey a4 a a a

Re: Coloring Ledger Lines

2015-03-08 Thread David B. Stocker
Thanks Pierre. Does anyone know why this works and a simple \revert command fails? On 03/08/2015 06:01 AM, Pierre Perol-Schneider wrote: Hi David, Try: \version "2.18.2" \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineS

Re: Coloring Ledger Lines

2015-03-08 Thread Pierre Perol-Schneider
Hi David, Try: \version "2.18.2" \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.col

Coloring Ledger Lines

2015-03-07 Thread David B. Stocker
Hello everyone, Does anyone know why the ledger line color in this example isn't reverted like the other grob colors? \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \revert Staff.NoteHead.co