[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: double bar at beginning
From: |
Mats Bengtsson |
Subject: |
Re: double bar at beginning |
Date: |
Fri, 03 Oct 2003 14:03:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 |
There are two issues involved here:
- At line breaks, you often don't want the same bar type at the end of a
line and at the beginning of the next line. For example, if you have a
"|:", it should only be printed at the beginning of the next line and
not at the end of the previous line. LilyPond has built-in rules about
these things, see the end of /usr/share/lilypond/*/scm/output-lib.scm.
For example, a "||" is split into a "||" at the end of the first line
and nothing at all at the beginning of the next line.
What you probably want is \bar ".|".
- LilyPond also knows about common typesetting practice when it comes
to the order of clefs, time signatures, bar lines and so on at the
beginning of the line. If you want to break the common typesetting
rules and put the ".|" at the beginning of the line, you could easily
change the order using:
\property Score.breakAlignOrder = #'(
instrument-name
left-edge
staff-bar ; Between clef and key-signature by default
ambitus
breathing-sign
clef
key-signature
time-signature
custos
)
Mats
José Luis Cruz wrote:
Hello list,
Does anybody knows how to put a double bar at the beginning of the Staff? The
nearest that i have approached to solution is this:
\score{
\notes{
\partial 256 s256 \bar"||" c'1 | e'1 | f'1 | s1 \bar"||"
}
\paper{
raggedright = ##t
\translator {
\StaffContext
\remove "Clef_engraver"
\remove "Time_signature_engraver"
}
}
}
But this is not good loooking. How could i enable the visibility of the first
bar, without being any notes before it? :S
Thanks a lot, José Luis
------------------------------------------------------------------------
_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.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
=============================================