lilypond-user
[Top][All Lists]
Advanced

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

Re: Flamenco notation, something for LSR?


From: Mats Bengtsson
Subject: Re: Flamenco notation, something for LSR?
Date: Wed, 19 Mar 2008 09:47:37 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Oscar van Eijk wrote:
Of course, reserved space, that was the problem :-S
Thanks to you both!

@Mats, is it correct that objects, once 'switched off' with #'stencil =
##f, can't be switched on anymore?
When I try, I get:
warning: type check for `stencil' failed; value `#t' must be of type
`unknown'
Of course it can be switched on again. What you have to realize (and is not so clearly described in the cited section of the Learning Manual) is that this property
by default specifies the function that should be used to print the object.
To find the default value, you have to look in the Internals Reference. The easiest way is to follow the link from the corresponding section in the Notation Reference, i.e. to look up the section on Tuplets, click on the link on the Internals Reference for TupletNumber, where you find that the default value is the function| |ly:tuplet-number::print. So, to switch on the numbers, you just do
\override TupletNumber #'stencil = #ly:tuplet-number::print

An even simpler solution is to just revert the previous setting:
\revert TupletNumber #'stencil

   /Mats
Oscar

On Tue, 2008-03-18 at 22:12 +0100, Mats Bengtsson wrote:
Quoting Marc Hohl <address@hidden>:

On Tuesday 18 March 2008 18:38:59 Oscar van Eijk wrote:
...
It looks great, the arrows are much better than \rtoe/\ltoe, but there is some
small problem left. You blanked the tuplets, but it looks as lilypond
reserves the space for the tuplet number - look at bars 3 and 4.
A simple and probably sufficient workaround is the command
\tupletDown. I put it in your definition

tupletsOff = {
  \tupletDown
  \override TupletNumber #'transparent = ##t
  \override TupletBracket #'transparent = ##t
}
Well, a much better solution is described in
http://lsr.dsi.unimi.it/LSR/Item?id=337
for tuplet brackets in particular and in http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Visibility-and-color-of-objects#Visibility-and-color-of-objects for any object (such as a TupletNumber) in general (what I have in mind is \override TupletNumber #'stencil = ##f ).

   /Mats




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

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        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]