-
Notifications
You must be signed in to change notification settings - Fork 231
Customize context menu links from equations
Hi,
is it possible to customize the context menu. For example if I display
the Schrödinger equation \hat H \psi = E \psi
I'd like to establish a link to the Hamilton-operator \hat H
definition by a link if I click on that block.
Best regards
It is possible to modify the contextual menu globally (see modifymenu in the contributed MathJax extensions repository), but not on an equation-by-equation basis.
On the other hand, it is possible to make links from equations or portions of equations, so you could do
\href{Hamiltonian-Operator.html}{\hat H} \psi = E \psi
if you wanted. It is also possible to make the href point to a javascript function in case you wanted to open a pop-up window for example. Finally, you might consider the "knowl" extension which is designed to provide the type of functionality you are looking for.