latex improvements