Guest User

Untitled

a guest
Jul 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. $$ begin{tikzcd} koplus k^2 arrow[r] & koplus k^2 & 0oplus k arrow[l] end{tikzcd} $$
  2.  
  3. documentclass{article}
  4. usepackage{mathtools}
  5. usepackage{tikz-cd}
  6. usepackage{etoolbox}
  7.  
  8. makeatletter
  9. letxsmallmatrixsmallmatrix
  10. letendxsmallmatrixendsmallmatrix
  11. patchcmd{xsmallmatrix}{6ex@}{12ex@}{}{}
  12. newenvironment{bxsmallmatrix}
  13. {left[xsmallmatrix}
  14. {endxsmallmatrixright]}
  15. makeatother
  16.  
  17. begin{document}
  18.  
  19. [
  20. begin{tikzcd}[ampersand replacement=&,column sep=huge]
  21. koplus k^2
  22. arrow[r,"{begin{bxsmallmatrix}1&0&0\0&1&1\0&0&1end{bxsmallmatrix}}"]
  23. &
  24. koplus k^2
  25. &
  26. 0oplus k arrow[l,"{begin{bxsmallmatrix}0&0\0&1\0&1end{bxsmallmatrix}}"']
  27. end{tikzcd}
  28. ]
  29.  
  30. [
  31. begin{tikzcd}[ampersand replacement=&,column sep=huge]
  32. koplus k^2
  33. arrow[r,"{begin{bsmallmatrix}1&0&0\0&1&1\0&0&1end{bsmallmatrix}}"]
  34. &
  35. koplus k^2
  36. &
  37. 0oplus k arrow[l,"{begin{bsmallmatrix}0&0\0&1\0&1end{bsmallmatrix}}"']
  38. end{tikzcd}
  39. ]
  40.  
  41. end{document}
  42.  
  43. documentclass[11pt]{article}
  44. usepackage{mathtools}
  45. usepackage{tikz-cd}
  46.  
  47. begin{document}
  48.  
  49. [
  50. begin{tikzcd}[row sep=1.2cm, column sep=2cm, arrows=-stealth, ampersand replacement=&]
  51. koplus k^2rar{begin{bsmallmatrix}1 & 0 & 0\0 & 1 & 1\0 & 0 & 1end{bsmallmatrix}} & koplus k^2& lar[swap]{begin{bsmallmatrix}0 & 0\0 & 1\ 0 & 1end{bsmallmatrix}} 0oplus k
  52. end{tikzcd}
  53. ]
  54.  
  55. end{document}
  56.  
  57. [ renewcommand{arraystretch}{0.7}setlength{arraycolsep}{3pt}
  58. begin{tikzcd}[row sep=1.2cm, column sep=2cm, arrows=-stealth, ampersand replacement=&]
  59. koplus k^2rar{begin{bmatrix}1 & 0 & 0\0 & 1 & 1\0 & 0 & 1end{bmatrix}} & koplus k^2& lar[swap]{begin{bmatrix}0 & 0\0 & 1\ 0 & 1end{bmatrix}} 0oplus k
  60. end{tikzcd}
  61. ]
  62.  
  63. documentclass{standalone}
  64.  
  65. usepackage{amsmath}
  66.  
  67. usepackage{tikz}
  68. usetikzlibrary{calc}
  69.  
  70. begin{document}
  71. begin{tikzpicture}
  72. node (A) {$koplus k^2$};
  73. node (B) at ($(A)+(3,0)$) {$koplus k^2$};
  74. node (C) at ($(B)+(3,0)$) {$0oplus k$};
  75. %
  76. draw[-stealth]
  77. (A) -- (B)
  78. node[midway,above,scale=.5]
  79. {$begin{bmatrix}
  80. 1& 0& 0\
  81. 0& 1& 0\
  82. 0& 0& 1
  83. end{bmatrix}$};
  84. draw[-stealth]
  85. (C) -- (B)
  86. node[midway,above,scale=.5]
  87. {$begin{bmatrix}
  88. 0& 0\
  89. 0& 1\
  90. 0& 1
  91. end{bmatrix}$};
  92. end{tikzpicture}
  93. end{document}
Add Comment
Please, Sign In to add comment