This extension implements the The
verbExtension\verbcommand, which allows you to produce verbatim text in your equations. That is, it does not interpret the TeX characters within the text you specify. The first (non-space) character after the\verbcommand is taken as the delimiter for the verbatim text, and everything up to the next instance of that character is displayed verbatim as part of the mathematics.For example,
x+\verb|\sqrt{2}|would display \(\require{verb}x+\verb|\sqrt{2}|\).To activate the
verbextension, add"extensions/verb.js"to theloadFilesarray in youreasy/load.jsfile:loadFiles: ["extensions/verb.js"],If you are using the autoload plugin rather than
easy/load.js, you can set thejsMath.Autoload.loadFilesarray to include"extensions/verb.js"in order to have the extension loaded automatically when jsMath is needed.If you are loading
jsMath.jsby hand rather than usingeasy/load.jsor theautoloadplugin, then include the command<SCRIPT> jsMath.Extension.Require("verb"); </SCRIPT>in your HTML file after loading jsMath. Alternatively, you can use<SPAN CLASS="math"> \require{verb} </SPAN>to activate the extension from within the typeset mathematics itself.
|
|