]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.7
authorfred <fred>
Mon, 4 Nov 1996 20:47:03 +0000 (20:47 +0000)
committerfred <fred>
Mon, 4 Nov 1996 20:47:03 +0000 (20:47 +0000)
molecule.cc

index 5ab384f87d639d710d59c1bca89b412e7e8aaf10..8fca34836bdd420db0ebd7ce93d39f7667fd7b3c 100644 (file)
@@ -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<String> a;
+    a.add(print_dimen(off.y));
+    a.add(print_dimen(off.x));
+    a.add(sym.tex);
+    return substitute_args(s, a);
 }