Fixes for the quick reference.

Should work better with more recent versions of LaTeX.