lilypond-user
[Top][All Lists]
Advanced

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

Forcing a bar line after a break at the start of a new stave


From: Rob
Subject: Forcing a bar line after a break at the start of a new stave
Date: Thu, 1 May 2014 16:20:58 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi,
I'd like to find a way to force a bar line to be drawn at the start of a
stave, after a \break.

Example code illustrating no barline at start of bar 4

\version "2.18.2"

kick = \drummode {
 \bar ":|.|:" %{this is in to ensure the first line starts with a repeat %}
  bd4 s4 bd4 s4
  bd4 s4 bd4 s4 \bar ":|.|:"
  r16 bd16 r16 r16 s4 r16 bd16 r8 s4 \break 
  r16 bd8 r16 s4 r16 bd8. s4 \bar ":|.|:"  
}

\new DrumStaff 
  \new DrumVoice { 
    \voiceTwo \kick
  }

\layout {
%{ following removes clefs and time signatures to illustrate lack of bar
line at start of bar4 %}  
\override Staff.TimeSignature #'stencil = ##f
\override Staff.Clef #'stencil = ##f
} 




reply via email to

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