latex afterRender