]> git.donarmstrong.com Git - lilypond.git/blobdiff - molecule.cc
release: 0.0.3
[lilypond.git] / molecule.cc
index 3e107ae7fb301e6c4afa7191d10ceafa4f42cf6e..e1c4ac5f8d4065079c8aef9ee308c533db438cf8 100644 (file)
@@ -11,13 +11,19 @@ Atom::extent() const
     return b;
 }
 
+Atom::Atom(const Symbol * s)
+{
+    sym=s;
+}
+
 String
 Atom::TeXstring() const
 {
     // whugh.. Hard coded...
     String s("\\raise");
     s+= String(off.y * VERT_TO_PT)+"pt\\hbox to 0pt{\\kern ";
-    s+=String(off.x * HOR_TO_PT) + "pt" + sym->tex + "\\hss}";
+    s+= String(off.x * HOR_TO_PT) + "pt";
+    s+= sym->tex + "\\hss}";
     return s;
 }