9 /// a symbol which can be translated, and freely copied
16 void translate(Offset o
) {
20 /// how big is #this#?
26 String
TeXstring() const;
30 /** a group of individually translated symbols. You can add molecules
31 to the top, to the right, etc. */
33 IPointerList
<Atom
*> ats
; // change to List<Atom>?
38 Molecule(Atom a
) { add(a
) ; }
40 void add_right(const Molecule
&m
);
41 void add_left(const Molecule
&m
);
42 void add_top(const Molecule
&m
);
43 void add_bottom(const Molecule
&m
);
44 void add(Molecule
const &m
);
45 void translate(Offset
);
46 void add(Atom a
) { ats
.bottom().add(new Atom(a
)); }
47 /// how big is #this#?
50 String
TeXstring() const;
52 Molecule(const Molecule
&s
);
55 void operator=(const Molecule
&);