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

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

Re: \mark positions after \break


From: Andras Cser
Subject: Re: \mark positions after \break
Date: Mon, 16 Oct 2000 13:12:41 -0700 (PDT)

My mistake. It works with 
\property Score.RehearsalMark \push #'padding = #4
for example.
Sorry and thanks a lot for your help. I LOVE LILYPOND!
Andras
--- Han-Wen Nienhuys <address@hidden> wrote:
> address@hidden writes:
> > Maybe a newbie question as welll. 
> > Any ideas how to hack this to look OK? See comments in
> the 
> > .ly file.
> 
> Try this patch to put the mark above the chords. You can
> get testmark1
> right by doing
> 
>       \property Score.RehearsalMark \push #'padding =
> <some value>
> 
> 
> diff -urN ../lilypond-1.3.96/lily/mark-engraver.cc
> ./lily/mark-engraver.cc
> --- ../lilypond-1.3.96/lily/mark-engraver.cc    Sun Oct 
> 8 16:26:54 2000
> +++ ./lily/mark-engraver.cc     Mon Oct 16 18:16:11 2000
> @@ -67,7 +67,8 @@
>  Mark_engraver::acknowledge_element (Score_element_info
> inf)
>  {
>    Score_element * s = inf.elem_l_;
> -  if (Staff_symbol::has_interface (s))
> +  if (Staff_symbol::has_interface (s)
> +      || to_boolean (s->get_elt_property
> ("invisible-staff")))
>      {
>        SCM sts = get_property ("staffsFound");
>        SCM thisstaff = inf.elem_l_->self_scm ();
> 
> 
> diff -urN ../lilypond-1.3.96/ly/engraver.ly
> ./ly/engraver.ly
> --- ../lilypond-1.3.96/ly/engraver.ly   Fri Oct 13
> 18:38:48 2000
> +++ ./ly/engraver.ly    Mon Oct 16 18:27:17 2000
> @@ -280,9 +280,12 @@
>         \name ChordNames;
>  
>         Generic_property_list =
> #generic-chord-staff-properties
> +
>         \consists "Property_engraver";  
>         \consists "Output_property_engraver";   
>         \accepts "ChordNameVoice";
> +
> +       VerticalAxisGroup \push #'invisible-staff = ##t
>         \consistsend "Axis_group_engraver";
>         }
>  
> 
> -- 
> 
> Han-Wen Nienhuys   |   address@hidden    |
> http://www.cs.uu.nl/~hanwen/
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



reply via email to

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