- Real w = bounds.length ();
- /* for length, use a geometric mean of the available space and some minimum
- */
- if(l < w)
- l = sqrt(l*w);
-
- Box b (Interval (-l/2,l/2), Interval (h,h+th));
- Molecule mol (sp->lookup_l ()->filledbox (b));
- mol.translate_axis (bounds.center ()
- -sp->relative_coordinate (common, X_AXIS),
- X_AXIS);
- return mol.create_scheme ();
-}
-
-void
-Hyphen_spanner::set_textitem (Direction d, Score_element* b)
-{
- elt_l_->set_bound (d, b);
- elt_l_->add_dependency (b);
-}