Skip to content

Commit 0bc0a8c

Browse files
committed
Fixed some comments and default values, and added MathEvents section to default.js
1 parent 4fb5de2 commit 0bc0a8c

File tree

2 files changed

+34
-6
lines changed

2 files changed

+34
-6
lines changed

config/default.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ MathJax.Hub.Config({
689689
// EqChunkDelay is the time (in milliseconds) to delay between chunks
690690
// (to allow the browser to respond to other user interaction).
691691
//
692-
// Set EqnChunk to 1, EqnChunkFactor to 1, and EwnChunkDelay to 10 to get
692+
// Set EqnChunk to 1, EqnChunkFactor to 1, and EqnChunkDelay to 10 to get
693693
// the behavior from MathJax v1.1 and below.
694694
//
695695
EqnChunk: 50,
@@ -838,7 +838,7 @@ MathJax.Hub.Config({
838838

839839
//
840840
// This controls whether the MathML structure is retained and CSS
841-
// classes are used to mark the original MathML elements (as in the
841+
// classes are added to mark the original MathML elements (as in the
842842
// HTML-CSS output). By default, the SVG output jax removes unneeded
843843
// nesting in order to produce a more efficient markup, but if you
844844
// want to use CSS to style the elements as if they were MathML, you
@@ -941,7 +941,7 @@ MathJax.Hub.Config({
941941
// this long, the menu will appear. (The menu also will appear if you
942942
// click on the label.) It is in milliseconds.
943943
//
944-
delay: 400,
944+
delay: 150,
945945

946946
//
947947
// This is the URL for the MathJax Help menu item.
@@ -978,6 +978,20 @@ MathJax.Hub.Config({
978978
styles: {}
979979

980980
},
981+
982+
//============================================================================
983+
//
984+
// These parameters control the contextual menus that are available on the
985+
// mathematics within the page (provided the showMathMenu value is true above).
986+
//
987+
MathEvents: {
988+
//
989+
// This is the time required for the mouse to be held still over a
990+
// typeset equation in order for it to count as a hover (used when the
991+
// zoom trigger is "Hover"). It is in milliseconds.
992+
//
993+
hover: 500
994+
},
981995

982996
//============================================================================
983997
//

unpacked/config/default.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ MathJax.Hub.Config({
689689
// EqChunkDelay is the time (in milliseconds) to delay between chunks
690690
// (to allow the browser to respond to other user interaction).
691691
//
692-
// Set EqnChunk to 1, EqnChunkFactor to 1, and EwnChunkDelay to 10 to get
692+
// Set EqnChunk to 1, EqnChunkFactor to 1, and EqnChunkDelay to 10 to get
693693
// the behavior from MathJax v1.1 and below.
694694
//
695695
EqnChunk: 50,
@@ -838,7 +838,7 @@ MathJax.Hub.Config({
838838

839839
//
840840
// This controls whether the MathML structure is retained and CSS
841-
// classes are used to mark the original MathML elements (as in the
841+
// classes are added to mark the original MathML elements (as in the
842842
// HTML-CSS output). By default, the SVG output jax removes unneeded
843843
// nesting in order to produce a more efficient markup, but if you
844844
// want to use CSS to style the elements as if they were MathML, you
@@ -941,7 +941,7 @@ MathJax.Hub.Config({
941941
// this long, the menu will appear. (The menu also will appear if you
942942
// click on the label.) It is in milliseconds.
943943
//
944-
delay: 400,
944+
delay: 150,
945945

946946
//
947947
// This is the URL for the MathJax Help menu item.
@@ -978,6 +978,20 @@ MathJax.Hub.Config({
978978
styles: {}
979979

980980
},
981+
982+
//============================================================================
983+
//
984+
// These parameters control the contextual menus that are available on the
985+
// mathematics within the page (provided the showMathMenu value is true above).
986+
//
987+
MathEvents: {
988+
//
989+
// This is the time required for the mouse to be held still over a
990+
// typeset equation in order for it to count as a hover (used when the
991+
// zoom trigger is "Hover"). It is in milliseconds.
992+
//
993+
hover: 500
994+
},
981995

982996
//============================================================================
983997
//

0 commit comments

Comments
 (0)