For those without MathML-capable browsers,
we present MathJax. It's crappy 'n slow,
but it's better than nothing.
This commit is contained in:
Jacques Distler 2010-10-17 22:30:56 -05:00
parent cebd381d0d
commit 1663d9f5c8
441 changed files with 13053 additions and 0 deletions

View file

@ -0,0 +1,18 @@
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/autoload/maction.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* 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.Unpack([
['(','function(','c,e){var g="1.0";var d,f,b;var a=','e.config.tooltip','=','MathJax.Hub.','Insert({delayPost:600,delayClear:600,offsetX:10,offsetY:5},',3,'||{});c.maction.Augment({HTMLtooltip:','e.addElement(','document.body,"div",{id:"','MathJax_Tooltip','"}),toHTML:',1,'i){i=this.HTMLhandleSize(this.HTMLcreateSpan(i));i.bbox=null;var h=this.getValues("actiontype","selection"),k;if','(this.data[h.selection-1',']){e.Measured',15,'].toHTML(i),i);if(','e.msieHitBoxBug','){var j=',9,'i,"span");','k=e.createFrame(','j',',i.bbox.h,i.bbox.d,i.bbox.w,0,"none");i.insertBefore(','j,i','.firstChild',');j','.style.marginRight=e.Em(-i.bbox.w',');if(e.msieInlineBlockAlignBug){k.style.verticalAlign=e.Em(e.getHD(i).d-i.bbox.d)}}else{',23,'i',25,'k,i',27,');k',29,')}k.className="MathJax_HitBox";k.id="MathJax-HitBox-"+this.spanID;if(','this.HTMLaction[h.actiontype',']){',39,'].call(this,i,k,h.selection)}}this.HTMLhandleSpace(i);this.HTMLhandleColor(i);return i},HTMLaction:{toggle:',1,'i,j,h){','this.selection','=h;j.onclick','=i.childNodes[1].','onclick=','MathJax.Callback(["','HTMLclick','",this]);j.','style.cursor',47,52,'="pointer"},statusline:',1,44,'j.','onmouseover',47,59,'=',49,'HTMLsetStatus',51,'onmouseout',47,66,'=',49,'HTMLclearStatus','",this]);j.onmouseover.autoReset=j.onmouseout.autoReset=true','},tooltip:',1,44,'if(this.data[1]&&','this.data[1].','isToken){j.title=j.alt',47,'title',47,'alt=',77,'data.join','("")}else{j.',59,47,59,'=',49,'HTMLtooltipOver',51,66,47,66,'=',49,'HTMLtooltipOut',72,'}}},',50,':',1,'j){',45,'++;if(',45,'>this.data.length){',45,'=1}var k=this;while(k.type!=="math"){k=k.inherit}var h=k.HTMLspanElement();while(h.nodeName.toLowerCase()!=="nobr"){h=h','.parentNode','}var i=h',111,';i.removeChild(h);var l=i;if(i',111,'.className==="MathJax_Display"){l=i',111,'}k.toHTML(i,l);if(!j){j','=window.event}if(','j.preventDefault','){',120,'()}if(','j.stopPropagation','){',124,'()}j.cancelBubble=true;j.returnValue=false;return false},',64,':',1,'h){window.status','=((this.data[1]&&',77,'isToken)?',77,84,'(""):',77,'toString())},',71,':',1,131,'=""},',91,':',1,'i){if(!i){i',119,'b','){clearTimeout(','b);b=null}','if(f',151,'f)}var h=i.clientX;var k=i.clientY;var j=',49,'HTMLtooltipPost','",this,','h+a.offsetX,k+a.offsetY]);f','=setTimeout(','j,a.delayPost)},',98,':',1,'h){if(f',151,'f);f=null}if(b',151,'b)}var i=',49,'HTMLtooltipClear',158,'80]);b',160,'i,a.delayClear)},',157,':',1,'i,m){f=null;if(b',151,152,'var l','=this.HTMLtooltip;','l','.style.display="','block";l','.style.opacity','="";l','.style.filter','=e.config.styles["#',11,'"].filter;if(this===d){return}l.style.left=i+"px";l.style.top=m+"px";l.innerHTML=\'<span class="MathJax"><nobr></nobr></span>\';e.getScales(l',27,',l',27,');var h=e.createStack(l',27,27,');var k=e.createBox(h);try{e.Measured(',77,'toHTML(k),k)}catch(j){if(!j.restart){throw j}l',185,'none";MathJax.Callback.After(["',157,158,'i,m],j.restart)}e.placeBox(k,0,0);e.createRule(l',27,27,',k.bbox.h,k.bbox.d,0);d=this},',171,':',1,'i){var h',183,'if(i<=0){h',185,'none";h',187,'=h',189,'="";b=null}else{h',187,'=i/100;h',189,'="alpha(opacity="+i+")";b',160,49,171,158,'i-20]),50)}}});',5,'Browser.Select({MSIE:',1,'h){',19,'=true}});',5,'Startup.signal.Post("HTML-CSS maction Ready");MathJax.Ajax.loadComplete(e.autoloadDir+"/maction.js")})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]);']
]);

View file

@ -0,0 +1,18 @@
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/autoload/menclose.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* 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.Unpack([
['(','function(','a,b','){var ','d="1.0";var c="http://www.w3.org/2000/svg";var f="urn:schemas-microsoft-com:vml";var e="mjxvml";a.menclose.Augment({toHTML:',1,'K',3,'h','=this.getValues("','notation","','thickness','","','padding','","mathcolor","color");if(h.color&&!this','.mathcolor){h.mathcolor','=h.color}if(h.',11,'==null){h.',11,'=".075em"}if(h.',13,18,13,'=".2em"}var F','=b.length2em(h.',13,');var y',25,11,');var u=b.Em(y)+" solid";K=this.HTMLcreateSpan(K);var r=b.createStack(K);var o=b.createBox(r);this.HTMLmeasureChild(0,o);var w=o.bbox.h+F+y,A=o.bbox.d+F+y,j=o.bbox.w+2*(F+y);var z','=b.createFrame(','r,w+A,0,j,y,"none");z.id="','MathJax-frame-"+this.spanID',';','b.addBox(r,','z);r.insertBefore(z,o);var k=h.notation.split(/ /);var l=0,E=0,n=0,s=0,x=0,v=0;var C,g;if(!h',15,'="black"}else{K.style.color=h.mathcolor}for(var J=0,I=k.length;J<I;J++){switch(k[J]){','case a.NOTATION.','BOX',':z.style.','border','=u;if(!b.msieBorderWidthBug){','l=E=s=n=y}','break;case a.NOTATION.','ROUNDEDBOX',':if(b.useVML){if(!g){g=this.HTMLvml(r,w,A,j,y,h.mathcolor)}this.HTMLvmlElement(g,"','roundrect",{style:{width:','this.HTMLpx(','j-2*y),height:',49,'w+A-2*y','),left:',49,'y)+0.5',',top:',49,55,'},arcsize:".25"})}','else{if(!C){C=this.HTMLsvg(r,w,A,j,y,h.mathcolor)}this.HTMLsvgElement(C.firstChild,"','rect",{x:1,y:1,width:',49,'j-y)-1,height:',49,'w+A-y',')-1,rx:',49,'Math.min(w+A,j)/4)})}',45,'CIRCLE',47,'oval",{style:{width:',49,'j-2*y),height:',49,52,'),left:',49,55,',top:',49,55,'}})}',60,'ellipse",{rx:',49,'j/2-y),ry:','this.HTMLpx((w+A)/2','-y),cx:',49,'j/2),cy:',88,')})}',45,'LEFT',41,'borderLeft',43,'s=y}',45,'ACTUARIAL',41,'borderTop',43,'l=y;z.bbox.w+=F-y}',39,'RIGHT',41,'borderRight',43,'n=y}',45,'VERTICALSTRIKE:var q','=b.createRule(r,',65,'/2,0,y);',35,'q',');b.placeBox(','q,F+y+o.bbox.w/2,-','A,true);',45,'TOP',41,'borderTop',43,'l=y}',45,'BOTTOM',41,'borderBottom',43,'E=y}',45,'HORIZONTALSTRIKE:var G',114,'y,0,j-y/2);',35,'G',119,'G,0,(w+A)/2-',121,45,'UPDIAGONALSTRIKE',47,'line",{from:"0',',"+',49,65,'),to:',49,'j)+",0"})}',60,'line",{x1:1,y1:',49,65,'),x2:',49,'j-y),y2:',49,'y)})}',45,'DOWNDIAGONALSTRIKE',47,146,',0",to:',49,'j)+","+',49,'w+A-y)})}',60,'line",{x1:1,y1:',49,'y),x2:',49,'j-y),y2:',49,170,45,'MADRUWB',41,'borderBottom=u;z.style.borderRight',43,'E=n=y}',45,'RADICAL',47,'polyline",{points:',49,'y/2)+","+',49,'0.6*(w+A))+" "+',49,'F)+","+',49,65,')+" "+',49,'2*F)+","+',49,'y/2)+" "+',49,'j)+","+',49,'y/2)});x=F}',60,'path",{d:"M',' 1,"+',49,'0.6*(w+A))+" L "+',49,'F)+","+',49,'w+A)+" L "+',49,'2*F)+",1 L "+',49,'j)+",1"});','b.placeBox(C.parentNode,0,','F/2-',121,'x=F;v=y}',45,'LONGDIV',47,146,',"+',49,'y/2),to:',49,'j-y)+","+',49,'y/2)});this.HTMLvmlElement(g,"arc",{style:{width:',49,'2*F),height:',49,52,'),left:this.HTMLpx(-F),top:',49,'y)},startangle:"10",endangle:"170"});x=F}',60,207,' "+',49,'j)+",1 L 1,1 a"+',49,'F)+","+',88,'-y)+" 0 0,1 1,"+',49,52,')});',219,'y-',121,'x=F;v=y}break}}z','.style.width=b.Em(','j-s-n);z','.style.height=b.Em(','w+A-l-E',119,'z,0,v-A,true',119,'o,x+F+y,0);this.HTMLhandleSpace(K);this.','HTMLhandleColor','(K);return K},HTMLpx:',1,'g){return(g*b.em)},',265,':',1,'h',3,'i=document.getElementById("',33,');if(i',3,'g',9,'mathbackground','","background");if(this.style&&h','.style.backgroundColor','){g.',280,'=h',282,'}if(g.background&&!this.',280,'){g.',280,'=g.background}if(g.',280,'&&g.',280,'!==a.COLOR.TRANSPARENT){i',282,'=g.',280,'}}else{this.SUPER(arguments).',265,'.call(this,h)}},HTMLsvg:',1,'h,l,m,g,k,j',3,'i','=document.createElementNS(c',',"svg");if(i.style){i',257,'g);i',259,'l+m)}var n=b.createBox(h);n.appendChild(i',119,'n,0,-m,true);this.HTMLsvgElement(i,"g",{fill:"none",stroke:j,"stroke-width":k*b.em});return i},HTMLsvgElement:',1,'g,h,i',3,'j',306,',h);if(i){for(var k in i){if(i.hasOwnProperty(k)){j.setAttributeNS(null,k,i[k].toString())}}}g.appendChild(j);return j},HTMLvml:',1,'i,l,m,h,k,j',3,'g',31,'i,l+m,0,h,0,"none");b.addBox(i,g',119,'g,0,-m,true);','this.constructor.','VMLcolor=j;',328,'VMLthickness','=',49,'k);return g},HTMLvmlElement:',1,'g,h,i',3,'j=b.addElement(g,e+":"+h,i);if(!i.fillcolor){j.fillcolor="none"}if(!i.strokecolor){j.strokecolor=',328,'VMLcolor}if(!i.strokeweight){j.strokeweight=',328,331,'}}});MathJax.Hub.Browser.Select({MSIE:',1,'g){b.useVML=true;if(!','document.namespaces','[e]){',346,'.add(e,f);var h=document.createStyleSheet();h.addRule(e+"\\\\:*","{behavior: url(#default#VML); position:absolute; top:0; left:0}")}}});MathJax.Hub.Startup.signal.Post("HTML-CSS menclose Ready");MathJax.Ajax.loadComplete(b.autoloadDir+"/menclose.js")})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]);']
]);

View file

@ -0,0 +1,18 @@
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/autoload/mglyph.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* 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.Unpack([
['(','function','(a,b){var c="1.0";a.mglyph.Augment({toHTML:',1,'(i,h){var k=i,f=this.getValues("src","','width','","','height','","','valign','","alt"),j;i=this.HTMLcreateSpan(i);','if(f.','src===""){var g=this.Get("index");if(g){h=this.HTMLgetVariant();var e=h.defaultFont;if(e){e.noStyleChar=true;e.testString=','String.fromCharCode(g',')+"ABCabc";if(b.Font.testFont(e)){this.HTMLhandleVariant(i,h,',13,'))}else{',11,'alt===""){f.alt="Bad font: "+e.family}j=a.merror(f.alt',').With({mathsize:"75%"});this.Append(j);j.toHTML(i);this.data.pop();i.bbox=j.HTMLspanElement().bbox','}}}}else{','if(!this.img){this.img=a.mglyph.GLYPH[f.src',']}',21,']={img:new Image(),status:"pending"};var d=','this.img.img',';d.onload','=MathJax.Callback(["','HTMLimgLoaded','",this]);d.','onerror',27,'HTMLimgError',29,'src=f.src;MathJax.Hub.RestartAfter(d.onload)}if(','this.img.status','!=="OK"){j=a.merror("Bad mglyph: "+f.src',19,'}else{d=b.addElement(i,"img",{src:f.src,alt:f.alt,title:f.alt});',11,5,'){if(String(f.',5,').match(/^\\s*-?\\d+\\s*$/)){f.',5,'+="px"}d.style.',5,'=b.Em(','b.length2em(f.',5,',',25,'.',5,'/b.em))}',11,7,41,7,43,7,45,7,47,48,7,',',25,'.',7,54,'i.bbox.w=i.bbox.rw=d.offsetWidth/b.em;i.bbox.h=d.offsetHeight/b.em;',11,9,41,9,43,9,'+="px"}i.bbox.d=-',48,9,',',25,'.',7,'/b.em);d.style.verticalAlign=b.Em(-i.bbox.d);i.bbox.h-=i.bbox.d}}}if(!k.bbox){k.bbox={w:i.bbox.w,h:i.bbox.h,d:i.bbox.d,rw:i.bbox.rw,lw:i.bbox.lw}}else{if(i.bbox){k.bbox.w+=i.bbox.w;if(k.bbox.w>k.bbox.rw){k.bbox.rw=k.bbox.w}if(i.bbox.h>k.bbox.h){k.bbox.h=i.bbox.h}if(i.bbox.d>k.bbox.d){k.bbox.d=i.bbox.d}}}this.HTMLhandleSpace(i);this.HTMLhandleColor(i);return i},',28,':',1,'(e,d){if(typeof(e)==="string"){d=e}',35,'=(d||"OK")},',32,':',1,'(){',25,'.onload("error")}},{GLYPH:{}});MathJax.Hub.Startup.signal.Post("HTML-CSS mglyph Ready");MathJax.Ajax.loadComplete(b.autoloadDir+"/mglyph.js")})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]);']
]);

View file

@ -0,0 +1,18 @@
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* 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.Unpack([
['(','function(','a,b){var c="1.0";a.','mmultiscripts','.Augment({toHTML:',1,'H,F,A){H=this.HTMLcreateSpan(H);var M=this.','HTMLgetScale();var ','k=b.createStack(H),f;var j=b.createBox(k);this.HTMLmeasureChild(this.base,j);if(','this.data[this.base',']){if(A!=null){b.Remeasured(',9,'].','HTMLstretchV','(j,F,A),j)}else{if(F!=null){b.Remeasured(',9,'].','HTMLstretchH','(j,F),j)}}}var K=b.TeX.x_height*M,z=b.TeX.scriptspace*M*0.75;var y=this.','HTMLgetScripts','(k,z);var l=y[0],e=y[1],o=y[2],i=y[3];var g=(','this.data[','1]||this).',7,'C=b.TeX.sup_drop*g,B=b.TeX.sub_drop*g;var w=j.bbox.h-C,n=j.bbox.d+B,L=0,E;if(j.bbox.ic){L=j.bbox.ic}if(',9,']&&(',9,'].type==="','mi"||',9,28,'mo")){if(',9,'].data.join("").length===1&&j.bbox.scale===1&&!',9,'].Get("largeop")){w=n=0}}var G','=this.getValues("','subscriptshift","','superscriptshift','");','G.subscriptshift','=(',41,'===""?0:b.length2em(',41,'));G.',39,'=(G.',39,'===""?0:b.length2em(G.',39,'));var m=0;if(o){m=','o.bbox.w','+L}else{if(i){m=i.bbox.w-L}}if(m<0){m=0}b.placeBox(j,m,0);if(!e&&!i){n','=Math.max(','n,b.TeX.','sub1*M,',41,');if(l){n',55,'n,l.bbox.h-(4/5)*K)}if(o){n',55,'n,o.bbox.h-(4/5)*K',')}if(l){b.placeBox(l,m+j.bbox.w+z-L,-n)}if(o){b.placeBox(o,','0,-n)}}else{if(!l&&!o){f',37,'displaystyle','","texprimestyle");E=b.TeX[(f.',67,'?"sup1":(f.texprimestyle?"sup3":"sup2"))];w',55,'w,E*M,G.',39,');if(e){w',55,'w,e.bbox.d+(1/4)*K)}if(i){w',55,'w,i.bbox.d+(1/4)*K)}','if(e){b.placeBox(e,m+j.bbox.w+z,w)}if(i){b.placeBox(i,','0,w)}}else{n',55,56,'sub2*M);var x=b.TeX.rule_thickness*M;var I=(l||o).bbox.h,J=(e||i).bbox.d;if(o){I',55,'I,o.bbox.h)}if(i){J',55,'J,i.bbox.d)}if((w-J)-(I-n)<3*x){n=3*x-w+J+I;C=(4/5)*K-(w-J);if(C>0){w+=C;n-=C}}w',55,'w,G.',39,');n',55,'n,',41,');',79,'m+L-i.bbox.w,w',64,'m-',53,',-n)}}}this.HTMLhandleSpace(H);this.HTMLhandleColor(H);return H},',19,':',1,'p,q){var o,d,e=[];var n=1,g=this.data.length,f=0;for(var h=0;h<4;h+=2){while(n<g&&',21,'n].type!=="','mprescripts"){for(var l=h;l<h+2;l++){if(',21,'n]&&',21,107,'none"){if(!e[l]){e[l]=b.createBox(p);e[l].bbox=this.HTMLemptyBBox({});if(f){b.createBlank(e[l],f);','e[l].bbox.','w=',114,'rw=f}}',21,'n].toHTML(e[l]);this.HTMLcombineBBoxes(',21,'n],e[l].bbox)}n++}d=e[h];o=e[h+1];if(d&&o){if(d.bbox.w<','o.bbox.w){b.createBlank(','d,',53,'-d.bbox.w);d.bbox.w=',53,';d.bbox.rw',55,'d.bbox.w,d.bbox.rw)}else{if(d.bbox.w>',122,'o,d.bbox.w-',53,');',53,'=d.bbox.w;o.bbox.rw',55,53,',o.bbox.rw)}}}if(d){f=d.bbox.w}else{if(o){f=',53,'}}}n++;f=0}for(l=0;l<4;l++){if(e[l]){',114,'w+=q;',114,'rw',55,114,'w,',114,'rw);this.HTMLcleanBBox(e[l].bbox)}}return e},',17,':a.mbase.',17,',',13,151,13,'});MathJax.Hub.Startup.signal.Post("HTML-CSS ',3,' Ready");MathJax.Ajax.loadComplete(b.autoloadDir+"/',3,'.js")})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]);']
]);

View file

@ -0,0 +1,18 @@
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/autoload/ms.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* 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.Unpack([
['(','function(','a){var b="1.0";a.ms.Augment({toHTML:',1,'d){d=this.HTMLhandleSize(this.HTMLcreateSpan(d));var c=this.getValues("lquote","rquote");var f=this.data.join("");var e=[];if(c.lquote','.length===1){e.push(this.HTMLquoteRegExp(c.','lquote))}if(c.rquote',5,'rquote))}if(e.length){f=f.replace(RegExp("("+e.join("|")+")","g"),"\\\\$1")}this.HTMLhandleVariant(d,this.HTMLgetVariant(),c.lquote+f+c.rquote);this.HTMLhandleSpace(d);this.HTMLhandleColor(d);return d},HTMLquoteRegExp:',1,'c){return c.replace(/([.*+?|{}()\\[\\]\\\\])/g,"\\\\$1")}});a.ms.prototype.defaults.fontfamily="monospace";MathJax.Hub.Startup.signal.Post("HTML-CSS ms Ready")})(MathJax.ElementJax.mml);MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].autoloadDir+"/ms.js");']
]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,18 @@
/*
* ../SourceForge/trunk/mathjax/jax/output/HTML-CSS/autoload/multiline.js
*
* Copyright (c) 2010 Design Science, Inc.
*
* 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.Unpack([
['(function(a,b){var c="1.0";a.mbase.Augment({toHTMLmultiline:function(u,r){u=this.HTMLcreateSpan(u);if(!this.type!=="mrow"){u=this.HTMLhandleSize(u)}var g=b.createStack(u);var o=[],f=[],p','=-b.BIGDIMEN,','q',1,'v,t,s,k',';for(t=0,k=r.length-1;t<k;t++){','o[t]=b.createBox(g);for(v=r[t][0],s=r[t+1][0];v<s;v++){if(this.data[v]){this.data[v].toHTML(o[t])}}if(','this.data[r[t][','0]]){',7,'0',']].HTMLspanElement().style.','paddingLeft=""}if(',7,'s-1]]){',7,'s-1',11,'paddingRight=""}f[t]=','this.HTMLcomputeBBox(o[t],','null',',r[t][0],r[t+1][0',']);if(','o[t].bbox.','h>p){p=',23,'h}if(',23,'d>q){q=',23,'d}}var n=0,x=this.HTMLgetScale(),e=b.FONTDATA.baselineskip*x;var l=this,h;while(l.inferred||(l.parent&&l.parent.type==="mrow"&&l.parent.data.length===1)){l=l.parent}var w=(','l.type==="math','"||l.type==="mtd");l.isMultiline=true',5,'for(v=0,s=f[t].length;v<s;v++){f[t][v].HTMLstretchV(o[t],p,q)}if(f[t].length){',19,'true',21,'])}var d=r[t','][1].getValues("','indentalign","indentshift");d.','lineleading','=b.length2em(','r[t+1][1].Get("',41,'"),0.5);if(t===0){h=r[t+1',39,'indentalignfirst','","','indentshiftfirst','");d.ALIGN=h.',47,';d.SHIFT=h.',49,'}else{if(t===k-1){h=r[t',39,'indentalignlast','","','indentshiftlast',50,56,52,58,'}}if(d.ALIGN&&d.ALIGN!==','a.INDENTALIGN.','INDENTALIGN){','d.indentalign','=d.ALIGN}if(d.SHIFT&&d.SHIFT!==a.INDENTSHIFT.INDENTSHIFT){','d.indentshift','=d.SHIFT}if(',66,'==',64,'AUTO){',66,'=(w?this.','displayAlign:',64,'LEFT)}if(',68,'==="auto"||',68,'===""){',68,75,'displayIndent:"0")}',68,42,68,',0);if(',68,'&&',66,'!==',64,'CENTER){b.createBlank(o[t],',68,',(',66,'!==',64,'RIGHT));',23,'w+=',68,';',23,'rw+=',68,'}b.alignBox(o[t],',66,',n);if(t<k-1){n-=Math.max(e,',23,'d+o[t+1].bbox.h+d.',41,')}}if(w){g.style.width="100%";if(',31,'"){u.bbox.width="100%"}}this.HTMLhandleSpace(u);this.HTMLhandleColor(u);u.bbox.isMultiline=true;return u}});MathJax.Hub.Startup.signal.Post("HTML-CSS multiline Ready");MathJax.Ajax.loadComplete(b.autoloadDir+"/multiline.js")})(MathJax.ElementJax.mml,MathJax.OutputJax["HTML-CSS"]);']
]);