If we use 47440$ for block and 47440 for inline the equation handling should be easy