Guest User

Untitled

a guest
Dec 15th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{tikz-cd}
  3. begin{document}
  4. begin{tikzcd}
  5. UL
  6. arrow{r}{{begin{tikzcd}1arrow{r}{a}&2end{tikzcd}}}
  7. &UR
  8. \
  9. DL
  10. arrow{r}
  11. &DR
  12. end{tikzcd}
  13. end{document}
  14.  
  15. documentclass{article}
  16. usepackage{tikz-cd}
  17. begin{document}
  18. begin{tikzcd}
  19. UL
  20. arrow{r}{
  21. begin{tikzpicture}
  22. node(1){1};
  23. node(2)[right of=1]{2};
  24. draw[->](1)--node{a} (2);
  25. end{tikzpicture}}
  26. %arrow[r, "{begin{tikzpicture}
  27. % node(1){1};
  28. % node(2)[right of=1]{2};
  29. % draw[->](1)--node{a} (2);
  30. %end{tikzpicture}}"]
  31. &UR
  32. \
  33. DL
  34. arrow{r}
  35. &DR
  36. end{tikzcd}
  37. end{document}
  38.  
  39. documentclass{article}
  40. usepackage{tikz-cd}
  41. begin{document}
  42. begin{tikzcd}[row sep=tiny]
  43. tikzset{%
  44. >/.tip={Stealth[length=2pt, width=6pt, inset=2pt]}
  45. }
  46. 1 arrow[r, "a"] & 2 \
  47. UL arrow[r] & UR \
  48. DL arrow[r] & DR
  49. end{tikzcd}
  50. end{document}
Add Comment
Please, Sign In to add comment