LaTeX: creating and using variables to save time and reduce typing errors