From 6f8be4b29939ff7840903a578fedff6c0a9abd9f Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 10 Oct 1996 22:41:20 +0000 Subject: [PATCH] lilypond-0.0.3 --- molecule.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/molecule.cc b/molecule.cc index 3e107ae7fb..e1c4ac5f8d 100644 --- a/molecule.cc +++ b/molecule.cc @@ -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; } -- 2.39.5