Adds diagram to tex file