[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Zero-width measure
From: |
Mats Bengtsson |
Subject: |
Re: Zero-width measure |
Date: |
Wed, 18 Aug 2004 10:42:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
You can insert a bar line at the beginning of a piece
(between the key signature and the time signature), using
\bar "...". However, if you want a double bar line, you probably
want \bar ".|". Note that LilyPond is smart, so that \bar ":|:" will
print a "|:" at the beginning of a line. For the same reason, a
\bar "||" will not print anything at the beginning of a line, since
such a double bar line normally is placed at the end of the previous
line if it occurs at a line break.
Regarding your other question on bar lines at the system start, I did
a futile attempt to redefine the print-function and glyph of the
SystemStartBar object, but it didn't print anything (here's what I tried:)
\paper{
\context{
\ScoreContext
\override SystemStartBar #'print-function = #Bar_line::print
\override SystemStartBar #'glyph = #".|"
}
}
If you change the print-function to Span_bar::print, it does print
something, but not what you expect ;-).
/Mats
Bertalan Fodor wrote:
Is it possible to have a zero width measure, so I can begin my music
with any bar line I want to?
Bert
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
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
=============================================