how to accomplish common tasks in latex