# Commutative diagram using TeX Writer

I bought an ipad app TeX writer and I am wondering if I can draw a commutative diagram.

It includes the packages

• amslatex
• revtex4-1
• IEEEtran
• babel
• cyrillic
• graphicx
• color
• xcolr
• geometry
• algorithm2e
• listings.

I could draw commutative diagram using a package amscd but it does not produce commutative diagram with a diagonal arrow. Is there any package that I can use on TeX Writer with which I can draw a commutative diagram with a diagonal arrow.

It seems that one can add other packages and I tried but it did not work for me.

(I am not familiar those technical language.)

-
– Peter Grill Nov 28 '12 at 6:41
Adding packages is definitely possible - I've added the entirety of TeX Live. The difficulties will be that TeX Writer doesn't use the eTeX extensions so any package that requires them won't work, and there are still some issues with transparency. I'll have an experiment with what I have (using that app) and see what works. – Loop Space Nov 28 '12 at 8:48
@AndrewStacey Care to report back on this? – Joseph Wright Aug 4 '13 at 16:29
@AndrewStacey Any update? – Joseph Wright Sep 7 '13 at 22:25
@AndrewStacey If TeXWriter still hasn't e-TeX support, it's probably better to say so in order to push out the question from the unanswered list. – egreg Mar 1 '14 at 21:08

I have added the majority of TeXLive to TeX Writer and with that then the following compile:

\documentclass{article}

\usepackage[all]{xy}

\begin{document}
\xymatrix{
A &*+[F]{\sum_{i=n}^m {i^2}} \\
& {\bullet} & D \ar[ul] }
\end{document}


and

\documentclass[10pt, draft]{amsart}
\usepackage{pgf}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{arrows, matrix}
% With tons of other packages not relevant here I guess
\begin{document}
% With some text ....
$\begin{tikzcd} Y \arrow[dashrightarrow]{d} \arrow{rd} & \\ Y_{0} \arrow{r}{\pi_{0}} & X \\ \end{tikzcd}$
\end{document}


(Both are examples I got from elsewhere on the site.)

-
Already gave +1. ;-) – egreg Apr 5 '14 at 22:33