lilypond-user
[Top][All Lists]
Advanced

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

Re: Neither Accidental nor AccidentalPlacement


From: Mats Bengtsson
Subject: Re: Neither Accidental nor AccidentalPlacement
Date: Thu, 11 Nov 2004 10:32:17 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

The reason that it doesn't work is that the AccidentalPlacement
object is created by the Accidental_engraver which lives in the
Staff context, not in the Voice context. To make a long story
short, you should do
\override Staff.AccidentalPlacement #'right-padding = #'2.0
to move the accidental.

   /Mats

dax2 wrote:

    Unfortunately the AccidentalPlacement object does not get my
a-sharp here out in the clear. There is no effect of my settings,
see below. First I tried Accidental #'right-padding and all the
other vars, but no result.

    Can somebody help? It need not be a solution
based on moving accidentals, maybe more space
in general would be a good idea.

    The weird layout of the voices is of course
a very musically interesting idea otherwise I would
not struggle to be able to LilyPond-typeset it.



    Thanks to Roland and Mats.

    Donald


==========================================================================


BASSMIDDLE = \new Voice {
        \override Stem  #'beamed-lengths = #'(5.0 5.0 5.0) %tweak
        %% \override Stem  #'length = #20.0 %tweak
        %% what is wrong with stemUp? Doesnot materialize.
        \stemUp
        \override Voice.Stem #'beamed-extreme-minimum-free-lengths = #'(1.5 1.5
1.5)
        \override AccidentalPlacement #'padding = #'2.0
        \override AccidentalPlacement #'right-padding = #'2.0
        \override AccidentalPlacement #'extra-offset = #'(2.0 . 2.0)
        \override AccidentalPlacement #'left-padding = #'2.0
        b,8           ais,     b,     g,
        b,8           ais,     b,     g,
}




------------------------------------------------------------------------


------------------------------------------------------------------------

_______________________________________________
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
=============================================




reply via email to

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