It is currently Mon Nov 20, 2017 6:24 pm


All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: xy.pic
PostPosted: Sun Jan 17, 2016 1:41 pm 
Administrator
Administrator
User avatar

Joined: Sat Nov 07, 2015 6:12 pm
Posts: 806
Location: Larisa
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 32 times


Notes:
  1. This package comes without preview since it is called directly through its CDN library and is being developed seperately from the MathJaX project.
  2. This package does not work (?) with the color package.
  3. 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.

_________________
Imagination is much more important than knowledge.
Image


Top
Offline Profile  
Reply with quote  

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Mathimatikoi Online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group Color scheme created with Colorize It.
Theme created StylerBB.net