#include "string.hh"
#include "molecule.hh"
#include "symbol.hh"
+#include "debug.hh"
+
+void
+Atom::print() const
+{
+ mtor << "texstring: " <<sym.tex<<"\n";
+}
Box
Atom::extent() const
return s;
}
-/****************************************************************/
String
Molecule::TeXstring() const
{
add(s);
}
+
+void
+Molecule::print() const
+{
+ for (PCursor<Atom*> c(ats); c.ok(); c++)
+ c->print();
+}