The calculation of the correct parentheses size fails when a letter with a
\hat accent is in between:
Manually specifying the size of the brackets would be a lot of work as they are part of a command (statistics: expected value):
Is there a way to modify the command to produce correctly-sized brackets?
Meta: Is there a way to have LaTeX code converted to images? Maybe it's that obvious that the help page do not mention it ...