The only boxes required are those that specify the layout of formulae.
When using a free formalism, the grammar for parsing the formula has to be extended to determine the start and end of groups of symbols, such as operands for operators. In the example above, the grammar has to determine where the integrand starts and finishes.