Fix annotations with LaTeX bug.

This fixes 2a23afcbd28c4c5587f6e0558602ad5046da2507.
Annotations are now properly output to LaTeX, one per line.