8 /// a symbol which can be translated, and freely copied
15 void translate(Offset o) {
19 /// how big is #this#?
25 String TeXstring() const;
28 /// a group of #Atom#s
30 IPointerList<Atom*> ats; // change to List<Atom>?
35 Molecule(Atom a) { add(a) ; }
37 void add_right(const Molecule &m);
38 void add_left(const Molecule &m);
39 void add_top(const Molecule &m);
40 void add_bottom(const Molecule &m);
41 void add(Molecule const &m);
42 void translate(Offset);
43 void add(Atom a) { ats.bottom().add(new Atom(a)); }
44 /// how big is #this#?
47 String TeXstring() const;
49 Molecule(const Molecule&s);
52 void operator=(const Molecule&);
54 /** a group of individually translated symbols. You can add molecules
55 to the top, to the right, etc. */