latex prgram code example Example 1: latex www.latex-project.org Example 2: LateX Used to format documents.