8 /// a symbol which can be translated, and freely copied
13 void translate(Offset o) {
17 /// how big is #this#?
23 String TeXstring() const;
26 /// a group of #Atom#s
28 PointerList<Atom*> ats;
31 Molecule(Atom a) { add(a) ; }
33 void add_right(const Molecule &m);
34 void add_left(const Molecule &m);
35 void add_top(const Molecule &m);
36 void add_bot(const Molecule &m);
37 void add(Molecule const &m);
38 void translate(Offset);
39 void add(Atom a) { ats.bottom().add(new Atom(a)); }
40 /// how big is #this#?
43 String TeXstring() const;
45 Molecule(const Molecule&s);
48 void operator=(const Molecule&);
50 /** a group of individually translated symbols. You can add molecules
51 to the top, to the right, etc. */