lilypond-user
[Top][All Lists]
Advanced

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

Re: StaffSymbol: line-positions


From: Reinhold Kainhofer
Subject: Re: StaffSymbol: line-positions
Date: Tue, 1 Apr 2008 13:53:41 +0200
User-agent: KMail/1.9.9

Am Dienstag, 1. April 2008 schrieb till Rettig:
> How does the line-position property of the StaffSymbol work correctly? I
> get it set to different positions only if the staff is empty or the notes
> are on ledger lines. Is this behaviour implied? And does the list of the
> positions need a specific order? It obviously takes only as much arguments
> (positions) as there are staff lines defined, is that correct?
>
> code with which I played:
>
> \score{
> \new Staff \with {
>   \override StaffSymbol #' line-positions  = #' ( 18 12 2 0 -2 -4 )
>   }{
>   d d d d
> } }
>
>
> \score{
> \new Staff \with {
>   \override StaffSymbol #' line-position = #' ( 6 3 0 -3 -6 )
>   }{
>   d' e' f' g' c''
> } }
>
> In my idea the second example should print wider spaces and set the notes
> somhow off the lines, but it just prints the standard lines 4 2 0 -2 -4.
> Why is this so?

Have you read the output produced by lilypond:
Warnung: Eigenschafts-Typprüfung für »line-position« (backend-type?) kann 
nicht gefunden werden.  vielleicht ein Tippfehler?

And indeed, you forgot the final "s" in line-position*s*...

BTW, your example shows a nasty bug with bar lines: They are drawn centered 
around 0, so if the staff lines are placed asymmetric, the bar line is off..

Cheers,
Reinhold        


-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




reply via email to

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