From bf345465d20adc479df572a464a4454a226d62d7 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 4 Nov 1996 20:47:03 +0000 Subject: [PATCH] lilypond-0.0.7 --- molecule.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/molecule.cc b/molecule.cc index 5ab384f87d..8fca34836b 100644 --- a/molecule.cc +++ b/molecule.cc @@ -29,11 +29,12 @@ String Atom::TeXstring() const { // whugh.. Hard coded... - String s("\\raise"); - s+= print_dimen(off.y) +"\\hbox to 0pt{\\kern "; - s+= print_dimen(off.x); - s+= sym.tex + "\\hss}"; - return s; + String s("\\placebox{%}{%}{%}"); + svec a; + a.add(print_dimen(off.y)); + a.add(print_dimen(off.x)); + a.add(sym.tex); + return substitute_args(s, a); } -- 2.39.5