I need to use tikz
package because of the quality of commutative diagrams it produces as I've seen in some manuals. I've tried it severally but all to no avail. I'm using MiKTeX with TeXmaker editor on windows. The MiKTeX was installed last year september (2012). I'll like to know
- if I need to install any specific package or need to install the latest version of MiKTeX
- exactly what and and what do I need to specify or include in my preamble, bearing it in mind that the document I'm writing is a thesis in algebraic category.
\documentclass[12pt]{book}
\usepackage{amsmath,amssymb,amsthm,latexsym}
\usepackage{tikz-cd}
\usetikzlibrary{matrix,arrows}
\begin{document}
\begin{tikzcd}[column sep = 1.3cm]
K
\arrow{r}{\kappa}
& L
\arrow[transform canvas = {yshift = 0.7ex}]{r}{\alpha}
\arrow[transform canvas = {yshift = -0.7ex},leftarrow]
{r}{\beta}
& M
\end{tikzcd}
\end{document}
tikz-cd
package is your friend for the commutative diagrams.