Android has no built in method for rendering LaTeX formatted text. So a custom view element for android apps must be designed for this. With this in mind a tree based approach will be used. That is there is a primary node which contains a group of child nodes. Each child node can contain its own child nodes and render some text to the screen using its own formatting. This means that it will be possible to have a 'fraction' node which will have two children, one which is numerator, it would then draw a horizontal bar, and then it would show the denominator. These numerators and denominators would then have their own makeup, potentially of even more fraction nodes, or power nodes, etc. This gives the system great flexibility and makes the rendering process as easy as recursively calling the draw command.