Rewrite the info, warning, error and floatingbox macros to make use of the style macro .