Update formatting.Rnw