# How to draw this quiver in latex?

I tried to draw this in latex.

But not successful. How could I draw this quiver in latex? Thank you very much.

Two solutions: one based on pstricks, the other on tikz-cd. For the pstricks solution, you can compile with pdflatex if you launch it with option --enable-write18 (MiKTeX) or -shell-escape (TeX Live, MacTeX). Alternatively, you can compile with xelatex:

\documentclass{article}
\usepackage{fourier}
\usepackage{pst-node, auto-pst-pdf}
\usepackage{tikz-cd}

\begin{document}

$\psset{arrows=->, arrowinset=0.15, nodesep=4pt, colsep=0.8cm, rowsep=0.9cm, linewidth=0.5pt, linejoin=1} \begin{psmatrix} %%% nodes & β& & α\\ b & & a & & c %%%arrows \ncline{1,2}{2,1} \ncline{1,2}{2,3}% \ncline{2,3}{2,1}\ncline{2,3}{2,5}% \ncline{2,3}{1,4}\ncline{2,5}{1,4} \end{psmatrix}$

\vskip 1cm
%\tikzcdset{column sep/normal=0.5cm}
\begin{tikzcd}[column sep=0.5cm, row sep=0.7cm]
& β\dlar \drar & & α\\
b &  & a\arrow[ll]\urar\arrow[rr]&  & c \ular
\end{tikzcd}

\end{document}


• thank you very much. I put the codes \begin{align} \begin{tikzcd}[column sep=0.5cm, row sep=0.7cm] & \beta \dlar \drar & & \alpha \\ b & & a \arrow[ll] \urar \arrow[rr] & & c \ular \end{tikzcd} \end{align} But there is an error: missing inserted. I don't know why. I already use begin{align} – Jianrong Li Sep 3 '16 at 14:17 • The reason is TikZ-pdf uses the ampersand sign in a non-standard way, and align also uses ampersands. A workaround consists in adding to the options of tikz-cd ampersand replacement=\&, and replace & with \& in the diagram. – Bernard Sep 3 '16 at 14:44 • thank you very much. I wrote \usepackage[ampersand replacement=\&]{tikz-cd}. But there is an error: unknown option ampersand replacement=\& – Jianrong Li Sep 3 '16 at 16:15 • Which version of tikz-cd and of pgf do you have? Present versions are 0.9e and 3.0.1 respectively. – Bernard Sep 3 '16 at 17:03 • thank you very much. How to check the version of tikz-cd and pgf? – Jianrong Li Sep 3 '16 at 17:34 it is elementary with Tikz, I think you need to try before asking a question. Here is a response \documentclass{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{positioning,calc} \begin{document} \begin{tikzpicture} \node (a) at (0,0){a}; \node[left=2cm of a] (b){b}; \node[right=2cm of a] (c){c}; \node[above right=1cm of a] (alpha){\alpha$}; \node[above left=1cm of a] (beta){$\beta\$};

\draw[->] (a) -- (b);
\draw[->] (a) -- (c);
\draw[->] (beta) -- (a);
\draw[->] (beta) -- (b);

\draw (a) -- (alpha);
\draw (c) -- (alpha);

\end{tikzpicture}

\end{document}