|
From: | Peter Van Kranenburg |
Subject: | Re: invisible rest that takes no horizontal space |
Date: | Tue, 15 Jun 2010 23:34:40 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
On 6/15/10 10:05 PM, Kieren MacMillan wrote:
Hi Richie,\skip and s consume score time, but both print some horizontal space. How can I insert an invisible rest that does not take horizontal space? I searched the manuals and snippet repository, but no clue...Use r4*0 You may have to put \once \override Rest #'X-extent = #'(0 . 0) or \once \override Rest #'extra-spacing-width = #'(+inf.0 . -inf.0) to eliminate any space.
Thank you. That triggered the right solution. r4*0 does not work. The rest collides with the following note. But, s4*0 works for me. And that is exactly what I need. I have around 1000 melodies in which partial measures were solved by inserting invisible rests (s) instead of using \partial. With this solution it is relatively easy to write a script to add *0 to all those invisible rests in order to get visually satisfying scores.
Thanks again! Peter
[Prev in Thread] | Current Thread | [Next in Thread] |