2 score-align-reg.cc -- implement Score_align_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #include "elem-group-item.hh"
11 #include "score-align-grav.hh"
14 Score_align_engraver::Score_align_engraver()
22 Score_align_engraver::do_pre_move_processing()
25 typeset_breakable_item( align_p_);
31 Score_align_engraver::acknowledge_element(Score_elem_info inf)
33 if (inf.elem_l_->is_type_b(type_ch_C_ )) {
36 align_p_ = new Horizontal_group_item;
37 announce_element(Score_elem_info(align_p_,0));
40 align_p_->add_element(inf.elem_l_);
45 IMPLEMENT_STATIC_NAME(Score_align_engraver)
46 IMPLEMENT_IS_TYPE_B1(Score_align_engraver,Engraver);