lilypond-user
[Top][All Lists]
Advanced

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

Re: rest collisions


From: bart deruyter
Subject: Re: rest collisions
Date: Tue, 1 Jul 2014 21:34:00 +0200

I was about to start writing short version to show how it is in code when I read your mail.

I tried it out and it worked!

Thank you very much :-)

Grtz,

Bart

http://www.bartart3d.be/
On facebook
On Twitter
On Identi.ca
On Google+


2014-07-01 21:24 GMT+02:00 Simon Albrecht <address@hidden>:
Am 01.07.2014 20:50, schrieb bart deruyter:
Hi all,

I've got an issue here with rests.
I have three voice score with rests in the second voice . There simply is not enough space for the rest between the highest and the lowest note, so I tried to move the rest to the left using:


\once \override Rest #'extra-offset = #'(-1 . 0)


Is there a way to solve this, or another method that should be used to solve this kind of problem? Or is it common to hide the rest in these cases?

I've added screen captures.
Try

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.18"


<<

{ d''4 d'' } \\

{ f'4 f' } \\

{

% extra-offset is applied after the layout

% has been made, so it can’t handle collisions,

% while X-offset can.

\once\override Rest.X-offset = -1

% the following is a shortcut to explicitly

% set the staff-position of the rest

a'4\rest

% just decide which looks better to you in context

\once\override Rest.X-offset = 1.5

b'\rest }

>>

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

And have a look at <http://lilypond.org/tiny-examples.html>. It makes helping you much easier.




reply via email to

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