lilypond-user
[Top][All Lists]
Advanced

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

Re: How to make some staff lines thicker than others?


From: v!ctor address@hidden
Subject: Re: How to make some staff lines thicker than others?
Date: Tue, 5 Jun 2007 00:29:59 -0400

hello Laura,

you can change the number of lines in the Staff so that some of them appear to be thicker. You do this by modifying the *line-positions* property of the Staff's StaffSymbol layout object.
For example, if you want to make the middle line appear to be thicker you can make a 7 line staff with the inner 3 lines very very close to each other like so:
%%%%%%%%%%%%%%%%%%%
\version "2.11.22"
 \score {
     \new Staff{
     \override Staff.StaffSymbol #'line-positions =#'(-4 -2 -0.2 0 0.2 2 4 )
         d'4 e' f' g'
     }
}
%%%%%%%%%%%%%%%%%%%

Notice that the position of the "ornamental" staff lines are 0.2 units away from the middle line (0), while the rest of the lines are 2 units apart, as is normally the case.
Attached is an images of the result.

You can play around with the number of lines and their distances till you get what you want.

Hope this helps,

Victor.


On 5/31/07, Laura Conrad <address@hidden> wrote:

I'm discussing a project with a friend.  He would like to make some
pedagogical material on reading different clefs.  His idea is that if
he had a Grand Staff with 11 lines (the four for the bass and treble
clefs, plus the one for Middle C in between them), and if he could
make any set of 5 of them darker, then he could show how the same
notes print in treble clef, bass clef, and various C, G, and F clefs.

I have found in the documentation how to modify the number of lines on
the staff, and the thickness of ledger lines.  There is obviously a
way to make all the staff lines a different color, e.g., red.  But is
there a way to make some staff lines a different color (or thickness,
or shade of grey) from others?

Or should one fiddle with having several staves only one staff space
away from each other?

--
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139


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

Attachment: thick_staff_line.png
Description: PNG image


reply via email to

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