how can i draw following diagram in latex ?
1 Answer
With tikz-cd
:
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\[
\begin{tikzcd}
&Z\ar[d, "g"]\\
X\ar[r, "f"]\ar[ru, "h"]&Y
\end{tikzcd}
\]
\end{document}
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityWith tikz-cd
:
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\[
\begin{tikzcd}
&Z\ar[d, "g"]\\
X\ar[r, "f"]\ar[ru, "h"]&Y
\end{tikzcd}
\]
\end{document}