I wonder why I haven’t had this idea several years ago but how about this?:

\version "2.19.82"

\defineBarLine "m" #'("" "" "|")

\layout {
  \context {
    \Score
    defaultBarType = "m"
  }
}

mus = \relative {
  c' d e f g a b c b a g f e d c \bar ":|."
}

\new StaffGroup <<
  \new Staff \mus
  \new Staff \mus
>>

On my system, this does (in 2.18.82 as well as current master), this does "the right thing", but only because of

-> Warnung: Falscher Glyph m nicht bekannt. Wird ignoriert.

But I have the impression that \defineBarLine doesn't do anything at all: If I take a symbol (like "m") that's not used yet, LilyPond complains as above when using it. If I use a symbol that already is a barline ode (":" for instance), its behaviour seems to be left unchanged.

Obviously, I'm doing it wrong...?

Lukas

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to