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

This commit is contained in:
Davide P. Cervone 2011-08-11 15:36:17 -04:00
parent bd2fb28932
commit c794e7ce19
2 changed files with 18 additions and 10 deletions

View File

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

View File

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