lilypond-user
[Top][All Lists]
Advanced

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

Re: clef after bar


From: Thorkil Wolvendans
Subject: Re: clef after bar
Date: Thu, 05 Aug 2004 13:56:48 +0200

Hi Mats,
Thanks for the trick!
Sorry for my late reaction, but I overlooked it completely and discovered your reply only yesterday. The property you showed works better than the little trick Erik told about, since his trick resulted in a rather large empty space between the bar and the clef, and the official way you showed doesn't. But in the end, isn't the official way (almost) always the best?
Thanks for always being of such great help, I appreciate it very much!

Kind regards,
Thorkil


At 11:10 29-7-04, you wrote:
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
=============================================


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





reply via email to

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