changed \margnum to \paranumber and made the command public