Add structure to tex files.