add inline style flag to formulaequationinput

`formulaequationinput` should honor the `inline` flag, just like other input elements (important for inline math problems)