lilypond-user
[Top][All Lists]
Advanced

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

Re: Rhythms with no staff lines but with bar lines


From: Mats Bengtsson
Subject: Re: Rhythms with no staff lines but with bar lines
Date: Mon, 19 May 2008 13:26:44 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

By default, the length of each bar line is calculated from the height of the staff symbol.
Just add a setting
\override BarLine #'bar-size = #4
in your Staff definition. Note that there is no need to add the bar engraver at the voice level,
the existing bar engraver in the Staff context will do the job.

   /Mats

Adam Orris wrote:
Hello,

I want to display rhythms without the staff, but with
bar lines.

I removed the Staff_symbol_engraver from the context of the Staff and
attempted to add the Bar_engraver to the context of the Voice.  The
staff lines are gone but there are no bar lines.

I am using version 2.11:

\new Staff \with {
 \remove Staff_symbol_engraver
 \remove Time_signature_engraver
 \remove Clef_engraver
}

<<
 \new Voice \with {
   \consists Bar_engraver
 }
 \relative c'' {
   a8 a4 a8 a4 a \bar "|" r8 a4. a2
 }

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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