diff --git a/config/default.js b/config/default.js index 2e532ff39..1a07a9084 100644 --- a/config/default.js +++ b/config/default.js @@ -263,7 +263,7 @@ MathJax.Hub.Config({ processEnvironments: true, // - // Conteols whether tex2jax processes \ref{...} commands outside + // Controls whether tex2jax processes \ref{...} commands outside // of math mode. Set to "false" to prevent processing of \ref // except within math mode. // @@ -378,15 +378,19 @@ MathJax.Hub.Config({ Macros: {}, // - // Equation numbering parameters + // Equation numbering parameters. + // + // If you uncomment any of the format parameters, be sure to add + // a comma after autoNumber, and be sure you don't have a comma + // after the last uncommented format. // equationNumbers: { - autoNumber: "none", // "AMS" for standard AMS environment numbering, - // or "all" to number all displayed equations + autoNumber: "none" // "AMS" for standard AMS environment numbering, + // or "all" to number all displayed equations // formatNumber: function (n) {return n}, // format for equation number n // formatTag: function (n) {return '('+n+')'}, // format for \tag and \eqref // formatID: function (n) {return 'mjx-eqn-'+n}, // element ID to use for reference -// formatURL: function (n) {return '#mjx-eqn-'+escape(n)}, // URL to use for references +// formatURL: function (n) {return '#mjx-eqn-'+escape(n)} // URL to use for references } }, diff --git a/unpacked/config/default.js b/unpacked/config/default.js index 2e532ff39..1a07a9084 100644 --- a/unpacked/config/default.js +++ b/unpacked/config/default.js @@ -263,7 +263,7 @@ MathJax.Hub.Config({ processEnvironments: true, // - // Conteols whether tex2jax processes \ref{...} commands outside + // Controls whether tex2jax processes \ref{...} commands outside // of math mode. Set to "false" to prevent processing of \ref // except within math mode. // @@ -378,15 +378,19 @@ MathJax.Hub.Config({ Macros: {}, // - // Equation numbering parameters + // Equation numbering parameters. + // + // If you uncomment any of the format parameters, be sure to add + // a comma after autoNumber, and be sure you don't have a comma + // after the last uncommented format. // equationNumbers: { - autoNumber: "none", // "AMS" for standard AMS environment numbering, - // or "all" to number all displayed equations + autoNumber: "none" // "AMS" for standard AMS environment numbering, + // or "all" to number all displayed equations // formatNumber: function (n) {return n}, // format for equation number n // formatTag: function (n) {return '('+n+')'}, // format for \tag and \eqref // formatID: function (n) {return 'mjx-eqn-'+n}, // element ID to use for reference -// formatURL: function (n) {return '#mjx-eqn-'+escape(n)}, // URL to use for references +// formatURL: function (n) {return '#mjx-eqn-'+escape(n)} // URL to use for references } },