adapting to the SWSC latex file