lilypond-user
[Top][All Lists]
Advanced

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

Re: Display "r2" as r1? -- SOLVED!


From: Francisco Vila
Subject: Re: Display "r2" as r1? -- SOLVED!
Date: Tue, 29 Nov 2011 09:19:13 +0100

2011/11/29 PMA <address@hidden>:
> Xavier Scheuer wrote:
> ...
>
>>> REST = {
>>> s2
>>> \once \override NoteHead #'stencil = #ly:text-interface::print
>>> \once \override NoteHead #'text = \markup { \musicglyph #"rests.0" }
>>> \once \override Stem #'transparent = ##t
>>> e'2
>>> }
>
>
>> I still do not understand why you need to use such dirty hack!
>>
>> If there is an issue with multibar rest that produces segmentation
>> fault, it is better to try to find what the issue is exactly and
>> correct it than use this tricky thing, at least it is my point of view.
>>
>> Cheers,
>> Xavier
>
>
> Segmentation fault aside: If there is in fact a way to change a rest's
> glyph directly without misrepresenting it to LilyPond as a notehead
> instead and then changing *that*, I'll acknowledge the "dirty"-ness
> (cluelessness, actually) of my hack.

RESTR = {
\once \override Rest #'stencil = #ly:text-interface::print
\once \override Rest #'text = \markup { \musicglyph #"rests.2" }
r2
}



-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com



reply via email to

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