@mathjax/src
    Preparing search index...
    • Returns a method to create the dynamic submenu for showing annotations.

      Parameters

      • box: SelectableInfo

        The info box in which to post annotation info.

      • types: AnnotationTypes

        The legitimate annotation types.

      • cache: [string, string][]

        We cache annotations of a math item, so we only have to compute them once for the two annotation menus.

      Returns (menu: MJContextMenu, sub: Submenu) => SubMenu

      Method generating the show annotations submenu.