gnu-music-discuss
[Top][All Lists]
Advanced

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

Kludge (need a little help as usual :) )...


From: Timothy S. Nelson
Subject: Kludge (need a little help as usual :) )...
Date: Sun, 22 Apr 2001 21:15:06 +1000 (EST)

        I've been trying to hack together a temporary workaround for the
problem of the notes printing over the dots (NB: this would go in people's
individual .ly files, not in the source :) ).  It'd be solved if I could swap
the notes around.  I've been trying to do this within my ly files in the ugly
way shown below:

-------------------------------------------
noteLeft = {
        \property Voice.NoteHead        \override #'extra-offset = #'(-1.7 . 0)
        \property Voice.Stem            \override #'extra-offset = #'(-1.7 . 0)
        \property Voice.Dots            \override #'extra-offset = #'(-1.7 . 0)
        \property Voice.Beam            \override #'extra-offset = #'(-1.7 . 0)
}

noteRight = {
        \property Voice.NoteHead        \override #'extra-offset = #'(1.7 . 0)
        \property Voice.Stem            \override #'extra-offset = #'(1.7 . 0)
        \property Voice.Dots            \override #'extra-offset = #'(1.7 . 0)
        \property Voice.Beam            \override #'extra-offset = #'(1.7 . 0)
}

noteRevert = {
        \property Voice.Dots            \revert #'extra-offset
        \property Voice.Stem            \revert #'extra-offset
        \property Voice.NoteHead        \revert #'extra-offset
}

beamRevert = {
        \property Voice.Beam            \revert #'extra-offset
}

.................

        \noteRight
        bes8.( \noteRevert c'16 )d'4 \beamRevert d'4  |
-------------------------------------------

        Unfortunately, the Beaming thing isn't working the way I want it to.
Is there some way to get it to move one end of the beam and not the other?
        Or is there some other way to do it which is much simpler, but which I
in my ignorance have missed?

        Thanks again,

        :)

---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: address@hidden | I am                           |
---------------------------------------------------------------------
Web: Temporarily unavailable

----BEGIN GEEK CODE BLOCK----
Version 3.1
GCS d? s: a-- C++>++++$ US+ P++ L++ E- W+++ N+ w+> M-- V- Y+>++ 
PGP->++ R(+) !tv B++ DI++++ D+ G e>++ h!/* y-
-----END GEEK CODE BLOCK-----





reply via email to

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