From: fred Date: Thu, 10 Oct 1996 22:41:20 +0000 (+0000) Subject: lilypond-0.0.3 X-Git-Tag: release/1.5.59~7104 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6f8be4b29939ff7840903a578fedff6c0a9abd9f;p=lilypond.git lilypond-0.0.3 --- 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; }