working on inline math rendering