www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c794e7ce19346ad9b3490bc744bc1c43a251b8b8
parent bd2fb28932631cc18b471208738cadb72ceea25d
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Thu, 11 Aug 2011 15:36:17 -0400

Fixed some typos, and added comments to help clarify the equation numbering parameters

Diffstat:
Mconfig/default.js | 14+++++++++-----
Munpacked/config/default.js | 14+++++++++-----
2 files changed, 18 insertions(+), 10 deletions(-)

diff --git 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 @@ -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 } },