#include "lookup.hh"
#include "rest.hh"
#include "script.hh"
-#include "text-def.hh"
+
#include "molecule.hh"
#include "misc.hh"
if (measures_i_ > 1)
{
- Text_def text;
- text.text_str_ = to_str (measures_i_);
- text.style_str_ = "number";
- text.align_dir_ = CENTER;
- Molecule s = text.get_molecule (paper_l (), UP);
+ Molecule s ( lookup_l ()->text ("number", to_str (measures_i_)));
+
s.translate_axis (3.0 * interline_f, Y_AXIS);
mol_p->add_molecule (s);
}