Article Reformatting Algorithm for Multiple Journal Template