4

There several codes for commutative diagrams, but I could not find any code for the following diagram: Triangle Commutative diagram

1
  • try searching using the following, for example, commutative diagrams site:tex.stackexchange.com
    – cmhughes
    Apr 1, 2018 at 15:17

2 Answers 2

8

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{tikz-cd}

\begin{document}
\begin{tikzcd}
L \arrow[dd, "\forall \delta"'] \arrow[rr, "\varepsilon"] &  & U(L) \arrow[lldd, "\exists ! f"] \\
 &  &  \\
D &  & 
\end{tikzcd}
\end{document}
1
  • 2
    Rather than doubling rows and columns, I'd enlarge the separation with column sep and row sep.
    – egreg
    Apr 1, 2018 at 15:25
10

with slightly different code syntax as is in nice Sebastiano answer:-)

\documentclass[border=3mm]{standalone}
\usepackage{tikz-cd}

\begin{document}
%---------------------------------------------------------------%
\begin{tikzcd}[column sep=large, row sep=large]
    L
    \arrow{r}{\varepsilon}  
    \arrow[swap]{d}{\forall\delta}           
&
    U(L)
    \arrow{dl}{\exists ! f}   \\     
%
    D
&
\end{tikzcd}
\end{document}

enter image description here

2
  • Is different and better of mine answer +1. Happy easter. I am scarce as a user.
    – Sebastiano
    Apr 1, 2018 at 15:40
  • 1
    @Sebastiano, thank you. regarding tikz-cd i'm in learn phase about how to place labels to arrows :-) . from your answer i sow new possibility. happy easter to you to! (i already give + 1 to your answer ;-) )
    – Zarko
    Apr 1, 2018 at 16:01

Not the answer you're looking for? Browse other questions tagged .