Refactoring du tex