2 atom.cc -- implement Atom
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #include "interval.hh"
20 DOUT << "texstring: " <<sym_.tex<<"\n";
39 Atom::TeX_string() const
41 String tex_str = sym_.tex;
44 /* infinity checks. */
45 for (int a =X_AXIS; a < NO_AXES; a++)
48 if (abs (off[ax]) >= 100 CM)
50 warning ("ridiculous dimension " + axis_name_str (ax) + ", "
51 +print_dimen(off[ax]));
53 tex_str += "\errormark";
56 // whugh.. Hard coded...
57 String s ("\\placebox{");
58 s += print_dimen (off[Y_AXIS])+"}{";
59 s += print_dimen (off[X_AXIS]) + "}{";