Remove extra period in legends.tex