move latex styles to res