An extension to FoldingText to do math calculations.