Change latex template to load microtype after loading fonts

Microtype needs to know what fonts are in use and it is suggested that it is aded after loading fonts.