2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00
LaTeX-examples/tikz/commutative-diagram-2/commutative-diagram-2.tex
Martin Thoma f241ed6bf5 misc
2013-12-13 13:47:42 +01:00

23 lines
633 B
TeX

\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\begin{document}
\begin{preview}
\begin{tikzpicture}
\node (Z) at (0,0) {$Z$};
\node (Y) at (3,0) {$Y$};
\node (X) at (1.5,-1.5) {$X$};
\draw[->, above, dashed] (Z) to node {$\tilde{f}$} (Y);
\draw[->, below] (Z) to node {$f$} (X);
\draw[->, right] (Y) to node {$p$} (X);
\begin{scope}[xshift=1.3cm,yshift=-0.6cm]
\draw (0,0) -- (0.3,0.3);
\draw (0.1,0) -- (0.4,0.3);
\draw (0.2,0) -- (0.5,0.3);
\end{scope}
\end{tikzpicture}
\end{preview}
\end{document}