In

mathimatikoi.org you have the ability to draw commutative diagrams simply by invoking the xj.pic extension of MathJaX. For example:

$$\xymatrix{ U \ar@/_/[ddr]_y \ar@/^/[drr]^x \ar@{.>}[dr]|-{(x,y)} \\ & X \times_Z Y \ar[d]^q \ar[r]_p & X \ar[d]_f \\ & Y \ar[r]^g & Z }$$

or

$$\xymatrix{\mathbb{C} \ar@{->}[d]\\\mathbb{R}\ar@{->}[d] \\\mathbb{Q}\ar@{->}[r] & \mathbb{Z}\ar@{->}[d]\\& \mathbb{N}}$$

or

\begin{xy}

\xymatrix @W=3pc @H=1pc @R=0pc @*[F-] {

: \save+<-4pc,1pc>*{\it root}

\ar[]

\restore \\

{\bullet}

\save*{}

\ar `r[dd]+/r4pc/ `[dd] [dd]

\restore \\

{\bullet}

\save*{}

\ar `r[d]+/r3pc/ `[d]+/d2pc/ `[uu]+/l3pc/ `[uu] [uu]

\restore \\

1

}

\end{xy}

To do so, simply enclose the commands in (double) dollar mode.

Attachment:

xyrefer.pdf [1.12 MiB]
Downloaded 72 times
**Notes:**- This package comes without preview since it is called directly through its CDN library and is being developed seperately from the MathJaX project.
- This package does not work (?) with the color package.
- There are limitations to what commutative diagrams the xy.pic jax extension can actually draw. Most of the diagrams are compilled but others aren't.

Feel free to test any code at the

LaTeX code testings.

**Edit:** ($25/01/2016$ $1.46$ am) The manual was changed to something more readable and understandable.