[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: collision between rest of one voice and the notes of the other voice
From: |
Mats Bengtsson |
Subject: |
Re: collision between rest of one voice and the notes of the other voice |
Date: |
Thu, 05 Oct 2006 08:23:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.0.5-0.1.el4 SeaMonkey/1.0.5 |
I would rather recommend to set the staff-position property:
moveRestUp = \once \override MultiMeasureRest #'staff-position = #6
moveRestDown = \once \override MultiMeasureRest #'staff-position = #-6
The default in \voiceTwo (i.e. in the second voice of a <<{...} \\
{...}>> construct)
is that staff-position is set to -4 for MultiMeasureRest.
Since these rests are typeset centered between the bar lines, it would
require
significant effort for LilyPond to figure out which other notes it might
collide
with (all the current collision handling between notes and between notes and
rests, is only done for notes and rests that occur on the same beat).
/Mats
Kieren MacMillan wrote:
Hi, Michael:
HTH,
Kieren.
\version "2.8.6"
moveRestUp = \once \override MultiMeasureRest #'Y-offset = #4
moveRestDown = \once \override MultiMeasureRest #'Y-offset = #-5
theMusic = \relative
{
<< {c4 c c c} \\ { \moveRestUp R1 } >> \break
<< {c4 c c c} \\ { \moveRestDown R1 } >> \break
}
\score
{
\theMusic
}
_______________________________________________
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
=============================================