Returns a method to create the dynamic submenu for showing annotations.
The info box in which to post annotation info.
The legitimate annotation types.
We cache annotations of a math item, so we only have to compute them once for the two annotation menus.
Method generating the show annotations submenu.
Returns a method to create the dynamic submenu for showing annotations.