More changes to latex box and ATP