You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Davide P. Cervone edited this page May 28, 2013
·
2 revisions
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.