lilypond-user
[Top][All Lists]
Advanced

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

Re: Trouble coloring Ambitus ledger lines


From: Simon Albrecht
Subject: Re: Trouble coloring Ambitus ledger lines
Date: Sat, 7 Jan 2017 17:59:19 +0100

On 07.01.2017 17:47, Patrick Karl wrote:
as written the initial MM rests are not compressed , i.e., the \compressMMRests command has no effect.

This works:

%%%%%%%%%%%%%
\version "2.19.53"

S = {
  \once \override Staff.LedgerLineSpanner.color = #grey
  \grace s128
  \stopStaff
  \startStaff
  R1*3                   % 1-3
  \grace c'128
  c'1 c'''                  % 4
}

\score {
  \new Staff \S
  \layout {
    \context {
      \Score
      skipBars = ##t
    }
    \context {
      \Staff
      \consists "Ambitus_engraver"
    }
  }
}
%%%%%%%%%%%%%%%%

TBH though, I don’t have a clue why a compressMMRests music function is even needed, i.e. what harm it may do to have skipBars set to ##t all the time.

HTH, Simon



reply via email to

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