lilypond-user
[Top][All Lists]
Advanced

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

Re: Barline after time signature


From: Pierre Perol-Schneider
Subject: Re: Barline after time signature
Date: Fri, 28 Jun 2013 17:03:36 +0200

2013/6/28 Andrew Bernard <address@hidden>

The contemporary piece I am setting uses barlines right after every change of time signature, before any notes. I am unable to see how to do this. If I manually place a barline in this location lilypond ignores the instruction. Can this be done?



Hight Andrew,

You can use this snippet : http://lilypond.org/doc/v2.17/Documentation/snippets/repeats#repeats-printing-a-repeat-sign-at-the-beginning-of-a-piece

for ex:

\version "2.17.20"

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

\relative c'' {
  \once \override Score.BreakAlignment.break-align-orders =
    #(make-vector 3 '(instrument-name
                      left-edge
                      ambitus
                      breathing-sign
                      clef
                      key-signature
                      time-signature
                      staff-bar
                      custos))                      
  \once \override Staff.TimeSignature.space-alist =
#'((first-note . (fixed-space . 2.0))
(right-edge . (extra-space . 0.5))
(staff-bar . (extra-space . 1))) \bar "o|"
  c c c c
}

Cheers,
Pierre

reply via email to

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