[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\mark positions after \break
From: |
Han-Wen Nienhuys |
Subject: |
\mark positions after \break |
Date: |
Mon, 16 Oct 2000 18:44:13 +0200 |
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/