forked from mathjax/MathJax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated configuration options documentaiton and added SVG and MathEve…
…nts documentation
- Loading branch information
Showing
47 changed files
with
1,981 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.. _configure-MathEvents: | ||
|
||
************************ | ||
The MathEvents extension | ||
************************ | ||
|
||
The options below control the operation of the MathEvents component that | ||
allows handles mouse and menu events attached to mathematics that is | ||
typeset by MathJax. They are listed with their | ||
default values. To set any of these options, include a ``MathEvents`` | ||
section in your :meth:`MathJax.Hub.Config()` call. For example | ||
|
||
.. code-block:: javascript | ||
|
||
MathJax.Hub.Config({ | ||
MathEvents: { | ||
hover: 400 | ||
} | ||
}); | ||
|
||
would set the required delay for hovering over a math element to | ||
400 milliseconds. | ||
|
||
.. describe:: hover: 500 | ||
|
||
This value is the time (in milliseconds) that a user must hold the | ||
mouse still over a math element before it is considered to be | ||
hovering over the math. | ||
|
||
.. describe:: styles: {} | ||
|
||
This is a list of CSS declarations for styling the zoomed | ||
mathematics. See the definitions in ``extensions/MathEvents.js`` | ||
for details of what are defined by default. See :ref:`CSS Style | ||
Objects <css-style-objects>` for details on how to specify CSS | ||
style in a JavaScript object. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.