lilypond-user
[Top][All Lists]
Advanced

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

Re: clef after bar


From: Mats Bengtsson
Subject: Re: clef after bar
Date: Thu, 29 Jul 2004 11:10:01 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

The order can be customized simply by settting a property,
there's no need to mess up the rhythm with short skips:

\score{\notes\relative c'{
\override Score.BreakAlignment #'break-align-orders = ##(; end-of-line:
(instrument-name left-edge ambitus breathing-sign clef staff-bar key-signature
                                                 time-signature custos)

                                ; unbroken
(instrument-name left-edge ambitus breathing-sign staff-bar clef key-signature
                                                 staff
                                                 time-signature custos)
                                ; begin of line
(instrument-name left-edge ambitus breathing-sign clef key-signature staff-bar
                                                 time-signature custos)

                                )
c4 c c c | \once \override Staff.Clef #'non-default = ##t \clef "alto" c c c c |
}
}


As you can see, the list gets very long since the settings are
different at line ends, line starts and in the middle of the line.
If you just want to do the setting once using \once in a score, you
can save some lines by using the trick in input/regression/ambitus.ly.

   /Mats



Erik Sandberg wrote:
On Tuesday 27 July 2004 22.28, Thorkil Wolvendans wrote:

Hi everyone!

At a certain point in a composition, I try to make a new clef appear after
the barline instead of before, without a positive result.
Is it possible in Lily to achieve this? I searched the docs, but couldn't
find an answer.


The easiest way is probably to cheat, by inserting a very short skip before the clef. Instead of

c4 c c c | \clef "alto" c c c c |
do
c4 c c c | \skip 16 \clef "alto" c4*3/4 c4 c c |

Erik


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