This directory contains the definition of each of the supported layout primitives.
Each layout primitive is a subclass of the base Atom
class.
It typically provides override for the following methods:
render()
return an array ofBox
(virtual DOM nodes) representing a specific instance of the atom.serialize()
(optional) returns a LaTeX string representing the atom instance. The baseAtom
class defaults to producing the command name + the arguments in curly brackets, which is often, but not always, sufficient.