Update overlap and resolution
Add top and bottom margin to katexify centred equations