/* * /MathJax/extensions/TeX/AMScd.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/AMScd"]={version:"2.2",config:MathJax.Hub.CombineConfig("TeX.CD",{colspace:"5pt",rowspace:"5pt",harrowsize:"2.25em",varrowsize:"1.75em",hideHorizontalLabels:!1})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var e=MathJax.ElementJax.mml,g=MathJax.InputJax.TeX,n=g.Stack.Item,h=g.Definitions,l=MathJax.Extension["TeX/AMScd"].config;h.environment.CD="CD_env";h.special["@"]="CD_arrow";h.macros.minCDarrowwidth="CD_minwidth";h.macros.minCDarrowheight="CD_minheight";g.Parse.Augment({CD_env:function(b){this.Push(b);return n.array().With({arraydef:{columnalign:"center",columnspacing:l.colspace,rowspacing:l.rowspace,displaystyle:!0},minw:this.stack.env.CD_minw||l.harrowsize,minh:this.stack.env.CD_minh||l.varrowsize})},CD_arrow:function(b){var c=this.string[this.i];if(c.match(/[>