updated latex examples