Hello All,

please consider the following snippet:

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.83"

 

music = \relative c'{

  \compressFullBarRests

  R1*3 |

  \repeat unfold 2 {c8 d e fis g a b c}

}

 

struct = {

  \key c \major

  \tempo 4 = 140

  s1 |

  s1 |

  s1 |

  \key g \major

  

}

 

\score {\new Staff {<< \music \struct>>}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

I'm using a separate variable for structural elements like time-signature,
etc. which prevents lilypond from compressing the full-bar rests.

What do I have to change so that the three rests at the beginning get merged
like they would if I removed the struct-variable?

 

Thanks 

Reply via email to