Sha256: d0a3ef193b794ca409748c71022aaecee9dbf0ed44ba16b9b10fe2657491b408
Contents?: true
Size: 1.43 KB
Versions: 30
Compression:
Stored size: 1.43 KB
Contents
.. _configure-MathZoom: ********************** The MathZoom extension ********************** The options below control the operation of the Math-Zoom feature that allows users to see an enlarged version of the mathematics when they click or hover over typeset mathematics. They are listed with their default values. To set any of these options, include a ``MathZoom`` section in your :meth:`MathJax.Hub.Config()` call. For example .. code-block:: javascript MathJax.Hub.Config({ MathZoom: { delay: 600 } }); would set the ``delay`` option to 600 milliseconds. Mathematics is zoomed when the user "triggers" the zoom by an action, either clicking on the mathematics, double-clicking on it, or holding the mouse still over it (i.e., "hovering"). Which trigger is used is set by the user via the math contextual menu (or by the author using the ``menuSettings`` configuration section). .. describe:: delay: 400 This the time (in milliseconds) that the mouse must be still over a typeset mathematical formula before the zoomed version is displayed (when the zoom trigger is set to `Hover`). .. describe:: styles: {} This is a list of CSS declarations for styling the zoomed mathematics. See the definitions in ``extensions/MathZoom.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.
Version data entries
30 entries across 15 versions & 5 rubygems