help-gnu-music
[Top][All Lists]
Advanced

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

Re: clef sign colliding with beam


From: Michael Vanier
Subject: Re: clef sign colliding with beam
Date: Sun, 21 Jan 2001 16:17:05 -0800 (PST)

Thanks for the tips.  It works now :-)

> Cc: address@hidden
> Date: Sun, 21 Jan 2001 22:47:16 +0100
> From: Mats Bengtsson <address@hidden>
> 
> > > The process of beaming the notes apparently nullifies the override
> > > directive.  Is there a way to prevent this from happening?
> > > 
> > > On a side note, it would be really helpful if there was a master list of
> > > class properties like this (Voice.Stem -> length, etc. etc.).
> > 
> > take a look at
> > http://www.cs.uu.nl/~hanwen/lilypond/Documentation/user/out-www/lilypond-internals/LilyPond-backend-properties.html.

I saw this.  It's certainly helpful, but I was also looking for a master
list of classes as well (Voice[.Beam, .Stem], Staff, ...).  Is there such a
list?

> > 
> > I think you're looking for Beam \override #'y-position = <number>
> > This variable is rather deeply hidden in the documentation, so I'll
> > have a look to see if I can fix that. 
> 
> 
> I'd rather take a look at the example file input/test/beam-control.ly
> Here's a patch to avoid all the warnings but keep the behaviour.
> 
>    /Mats
> 
> 
> ---------------------------------
> diff -u input/test/beam-control.ly~ input/test/beam-control.ly
> --- input/test/beam-control.ly~ Sun Oct 22 02:11:32 2000
> +++ input/test/beam-control.ly  Sun Jan 21 22:44:25 2001
> @@ -3,18 +3,20 @@
>      % beam-control.fly
>  
>         % from upper staffline (position 4) to centre (position 0)
> -       \property Voice.beamVerticalPosition = #4
> -       \property Voice.beamHeight = #-4
> +%      \property Voice.beamVerticalPosition = #4
> +%      \property Voice.beamHeight = #-4
> +       \property Voice.Beam \override #'y-position-hs = #4
> +       \property Voice.Beam \override #'height-hs = #-4
>         [c'8 c] 
>  
>         % from center to one above centre (position 2)
> -       \property Voice.beamVerticalPosition = #0
> -       \property Voice.beamHeight = #2
> +       \property Voice.Beam \set #'y-position-hs = #0
> +       \property Voice.Beam \set #'height-hs = #2
>         [c c]
>  
>         % normal beam-algorithm
> -       \property Voice.beamHeight = ##f
> -       \property Voice.beamVerticalPosition = ##f
> +       \property Voice.Beam \revert #'height-hs 
> +       \property Voice.Beam \revert #'y-position-hs
>         [c e] [e c]
>  
>    }
> 



reply via email to

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