#ifndef MICROTEX_ATOM_ROOT_H #define MICROTEX_ATOM_ROOT_H #include "atom/atom.h" #include "atom/atom_basic.h" namespace microtex { /** An atom representing an nth-root construction */ class NthRoot : public Atom { private: // base atom to be put under the root sign sptr _base; // root atom to be put in the upper left corner above the root sign sptr _root; public: NthRoot() = delete; NthRoot(const sptr& base, const sptr& root) : _base(base), _root(root) {} sptr createBox(Env& env) override; }; } // namespace microtex #endif // MICROTEX_ATOM_ROOT_H