On Tue, 21 Sept 2021 at 20:28, Ignacio Lois <ignaciol...@gmail.com> wrote: > > Hello! I'm working on a score with its set of parts and I've been having some barline trouble. > > I have a \global variable where I define key, time sig, rehearsal marks and barlines. Along with each rehearsal mark I add a double barline. Now the problem is, some of the instruments have volta repeats at the beginning of a section. The score unfolds the repeat and it looks correct, but the parts end up having a double bar instead of a repeat bar. > > This small example illustrates the problem: http://www.lilybin.com/7yielg/1 > > Am I missing a setting or is this a bug? In which case, is there a workaround?
Hello, It is uncommon that some instruments have a volta repeat whereas others (or the score/conductor) have them unfolded. They do have different bar numbers then?!? See for example if you add \override Score.BarNumber.break-visibility = ##(#t #t #t) to your parts and score. In your case I would use different \global variables for volta/unfolded. Now you are basically telling LilyPond to use a double barline instead of the one from the volta repeat. Cheers, Xavier -- Xavier Scheuer <x.sche...@gmail.com>