lilypond-user
[Top][All Lists]
Advanced

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

Re: Override default bar line style to 'dashed'?


From: Thomas Morley
Subject: Re: Override default bar line style to 'dashed'?
Date: Fri, 7 Mar 2014 00:17:09 +0100

2014-03-06 18:36 GMT+01:00 Pierre Perol-Schneider
<address@hidden>:
> Oups sorry, too fast !
>
> here you go :
>
> \version "2.18.0"
>
> {
>
>   \repeat unfold 5 { \repeat unfold 4 c''4 }
>
> }
>
> \layout {
>
>   \context {
>
>   \Staff
>
>    \override BarLine.glyph-name = #"!"
>
>   }
>
> }

This will change _all_ BarLines. Is this _really_ wanted?

There are some context-properties doing it more specific:

\version "2.18.0"

%% The defaults from engraver-init.ly

%  defaultBarType = #"|"
%  doubleRepeatType = #":..:"
%  startRepeatType = #".|:"
%  endRepeatType = #":|."

\layout {
  \context {
    \Score
    defaultBarType = #"!"
  }
}

{ \repeat volta 2  { \repeat unfold 4  c''1 } }


Cheers,
  Harm



reply via email to

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