Sha256: 98ce41b40aca144253cf8e794bd62d2804209d92ec52c66c76fa9225fb89ac23

Contents?: true

Size: 1.11 KB

Versions: 166

Compression:

Stored size: 1.11 KB

Contents

/*
 *  /MathJax/extensions/TeX/verb.js
 *  
 *  Copyright (c) 2009-2013 The MathJax Consortium
 *
 *  Part of the MathJax library.
 *  See http://www.mathjax.org for details.
 * 
 *  Licensed under the Apache License, Version 2.0;
 *  you may not use this file except in compliance with the License.
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 */

MathJax.Extension["TeX/verb"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml;var c=MathJax.InputJax.TeX;var b=c.Definitions;b.Add({macros:{verb:"Verb"}},null,true);c.Parse.Augment({Verb:function(d){var g=this.GetNext();var f=++this.i;if(g==""){c.Error(["MissingArgFor","Missing argument for %1",d])}while(this.i<this.string.length&&this.string.charAt(this.i)!=g){this.i++}if(this.i==this.string.length){c.Error(["NoClosingDelim","Can't find closing delimiter for %1",d])}var e=this.string.slice(f,this.i).replace(/ /g,"\u00A0");this.i++;this.Push(a.mtext(e).With({mathvariant:a.VARIANT.MONOSPACE}))}});MathJax.Hub.Startup.signal.Post("TeX verb Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/verb.js");

Version data entries

166 entries across 123 versions & 2 rubygems

Version Path
softcover-1.1.11 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.11 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.10 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.10 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.9 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.9 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.8 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.8 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.7 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.7 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.6 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.6 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.4 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.4 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.3 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.3 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.2 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.2 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.1 lib/softcover/article_template/html/MathJax/extensions/TeX/verb.js
softcover-1.1.1 lib/softcover/book_template/html/MathJax/extensions/TeX/verb.js