Support inline-formulas in captions