Allow math directive to have math on same line