+
+void
+Paper_book::add_score_title (SCM header)
+{
+ Stencil title = score_title (header);
+ if (title.is_empty ())
+ title = score_title (header_);
+ if (!title.is_empty ())
+ {
+ /*
+ TODO: this should come from the \layout {} block, which should
+ override settings from \paper {}
+ */
+ SCM props = paper_->lookup_variable (ly_symbol2scm ("score-title-properties"));
+ Paper_system *ps = new Paper_system (title, props);
+ systems_ = scm_cons (ps->self_scm (), systems_);
+ ps->unprotect ();
+ set_system_penalty (ps, header);
+ }
+}
+