X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fvertical-align-engraver.cc;h=365c35cb4870659be13a50f311e06dcd1a0b351c;hb=6963b83ede8d9203afa2bdf7b53d50abc8870c81;hp=fe214ac48dee3fc7e0635c973bf95199a7360730;hpb=570d70e5094bbc73de291d1016394ef70b1d96fb;p=lilypond.git diff --git a/lily/vertical-align-engraver.cc b/lily/vertical-align-engraver.cc index fe214ac48d..365c35cb48 100644 --- a/lily/vertical-align-engraver.cc +++ b/lily/vertical-align-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys */ #include "context.hh" @@ -37,14 +37,20 @@ protected: ADD_ACKNOWLEDGER (Vertical_align_engraver, axis_group); ADD_TRANSLATOR (Vertical_align_engraver, - "Catch groups (staves, lyrics lines, etc.) and stack " - "them vertically.", - /* create */ "VerticalAlignment", + /* doc */ + "Catch groups (staves, lyrics lines, etc.) and stack them" + " vertically.", + + /* create */ + "VerticalAlignment ", + /* read */ "alignAboveContext " "alignBelowContext ", - /* write */ ""); + /* write */ + "" + ); Vertical_align_engraver::Vertical_align_engraver () { @@ -92,6 +98,7 @@ Vertical_align_engraver::qualifies (Grob_info i) const return sz > 0 && Axis_group_interface::has_interface (i.grob ()) && !i.grob ()->get_parent (Y_AXIS) + && !to_boolean (i.grob ()->get_property ("no-alignment")) && Axis_group_interface::has_axis (i.grob (), Y_AXIS); }