lilypond-user
[Top][All Lists]

## Re: Equivalent of the automatic insertion of '\bar "!"'

 From: Simon Albrecht Subject: Re: Equivalent of the automatic insertion of '\bar "!"' Date: Thu, 09 Jul 2015 23:09:34 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

The most convenient, I think, is using a separate variable like
pat = { s4 s s \bar "!" s s }
barlines = {
% \time 5/4 would be best placed within \global anyway
\repeat unfold 100 \pat
}
and inserting it into one of the \voices in parallel.

I don’t think there is a more specific solution for that already – would be worth a thought though, something like
\set defaultHalfBarLine = "!" (?).

Yours, Simon

Am 09.07.2015 um 22:22 schrieb Menu Jacques:

Hello folks,

I’d like the vertical dashed line to be created automatically between the third and
fourth beat of each bar in this example, without having to resort to '\bar "!"’
explicitly each time :

\relative {
\time 5/4

c'4 c c \bar "!" c c |
c'4 c c \bar "!" c c |
}

Couldn’t find the way in the docs, though…
Thanks for the help!

JM

_______________________________________________
lilypond-user mailing list