Diagram of objects in latex












0















enter image description hereI'm trying to write a code for some diagram, but it does not work.



begin{tikzcd}
Zarrow[lu]arrow[lu]arrow[lu]\
X arrow[r]& Z^{"} & arrow[l] Y \
Z^{'} arrow[rd] arrow[rd] arrow[rd]
end{tikzcd}









share|improve this question





























    0















    enter image description hereI'm trying to write a code for some diagram, but it does not work.



    begin{tikzcd}
    Zarrow[lu]arrow[lu]arrow[lu]\
    X arrow[r]& Z^{"} & arrow[l] Y \
    Z^{'} arrow[rd] arrow[rd] arrow[rd]
    end{tikzcd}









    share|improve this question



























      0












      0








      0








      enter image description hereI'm trying to write a code for some diagram, but it does not work.



      begin{tikzcd}
      Zarrow[lu]arrow[lu]arrow[lu]\
      X arrow[r]& Z^{"} & arrow[l] Y \
      Z^{'} arrow[rd] arrow[rd] arrow[rd]
      end{tikzcd}









      share|improve this question
















      enter image description hereI'm trying to write a code for some diagram, but it does not work.



      begin{tikzcd}
      Zarrow[lu]arrow[lu]arrow[lu]\
      X arrow[r]& Z^{"} & arrow[l] Y \
      Z^{'} arrow[rd] arrow[rd] arrow[rd]
      end{tikzcd}






      tikz-cd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago







      Diego Havez

















      asked 2 hours ago









      Diego HavezDiego Havez

      405




      405






















          1 Answer
          1






          active

          oldest

          votes


















          3














          When you do arrow[lu], that tells tikz-cd to draw an arrow from the cell in which that macro is placed, to the cell that is one left (l) and one up (u). You draw arrows that go up and left from the top left cell in the diagram, so there is no cell for those arrows to end in, and you get an error.



          It's the same thing elsewhere, you're drawing arrows to non-existing cells.



          To draw to a cell for example two to the right, you use arrow[rr], i.e. repeat the letter corresponding to the direction for as many times as cells you want to jump in that direction.



          Unrelated: ' means ^{prime}, so you probably don't want Z^{'}, but Z'.



          documentclass{article}
          usepackage{tikz-cd}
          begin{document}
          begin{tikzcd}
          & Z\
          X arrow[r]arrow[rd]arrow[ru] &
          Z'' arrow[d]arrow[u] &
          Y arrow[l]arrow[ld]arrow[lu] \
          & Z'
          end{tikzcd}
          end{document}


          enter image description here






          share|improve this answer


























          • @marmot Thanks. Quite possibly, I changed it.

            – Torbjørn T.
            2 hours ago











          • Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

            – Diego Havez
            1 hour ago













          • @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

            – Torbjørn T.
            1 hour ago













          • Thanks Torbjorn T.

            – Diego Havez
            1 hour ago











          • Torbjorn you can see the picture.

            – Diego Havez
            1 hour ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470119%2fdiagram-of-objects-in-latex%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          When you do arrow[lu], that tells tikz-cd to draw an arrow from the cell in which that macro is placed, to the cell that is one left (l) and one up (u). You draw arrows that go up and left from the top left cell in the diagram, so there is no cell for those arrows to end in, and you get an error.



          It's the same thing elsewhere, you're drawing arrows to non-existing cells.



          To draw to a cell for example two to the right, you use arrow[rr], i.e. repeat the letter corresponding to the direction for as many times as cells you want to jump in that direction.



          Unrelated: ' means ^{prime}, so you probably don't want Z^{'}, but Z'.



          documentclass{article}
          usepackage{tikz-cd}
          begin{document}
          begin{tikzcd}
          & Z\
          X arrow[r]arrow[rd]arrow[ru] &
          Z'' arrow[d]arrow[u] &
          Y arrow[l]arrow[ld]arrow[lu] \
          & Z'
          end{tikzcd}
          end{document}


          enter image description here






          share|improve this answer


























          • @marmot Thanks. Quite possibly, I changed it.

            – Torbjørn T.
            2 hours ago











          • Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

            – Diego Havez
            1 hour ago













          • @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

            – Torbjørn T.
            1 hour ago













          • Thanks Torbjorn T.

            – Diego Havez
            1 hour ago











          • Torbjorn you can see the picture.

            – Diego Havez
            1 hour ago
















          3














          When you do arrow[lu], that tells tikz-cd to draw an arrow from the cell in which that macro is placed, to the cell that is one left (l) and one up (u). You draw arrows that go up and left from the top left cell in the diagram, so there is no cell for those arrows to end in, and you get an error.



          It's the same thing elsewhere, you're drawing arrows to non-existing cells.



          To draw to a cell for example two to the right, you use arrow[rr], i.e. repeat the letter corresponding to the direction for as many times as cells you want to jump in that direction.



          Unrelated: ' means ^{prime}, so you probably don't want Z^{'}, but Z'.



          documentclass{article}
          usepackage{tikz-cd}
          begin{document}
          begin{tikzcd}
          & Z\
          X arrow[r]arrow[rd]arrow[ru] &
          Z'' arrow[d]arrow[u] &
          Y arrow[l]arrow[ld]arrow[lu] \
          & Z'
          end{tikzcd}
          end{document}


          enter image description here






          share|improve this answer


























          • @marmot Thanks. Quite possibly, I changed it.

            – Torbjørn T.
            2 hours ago











          • Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

            – Diego Havez
            1 hour ago













          • @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

            – Torbjørn T.
            1 hour ago













          • Thanks Torbjorn T.

            – Diego Havez
            1 hour ago











          • Torbjorn you can see the picture.

            – Diego Havez
            1 hour ago














          3












          3








          3







          When you do arrow[lu], that tells tikz-cd to draw an arrow from the cell in which that macro is placed, to the cell that is one left (l) and one up (u). You draw arrows that go up and left from the top left cell in the diagram, so there is no cell for those arrows to end in, and you get an error.



          It's the same thing elsewhere, you're drawing arrows to non-existing cells.



          To draw to a cell for example two to the right, you use arrow[rr], i.e. repeat the letter corresponding to the direction for as many times as cells you want to jump in that direction.



          Unrelated: ' means ^{prime}, so you probably don't want Z^{'}, but Z'.



          documentclass{article}
          usepackage{tikz-cd}
          begin{document}
          begin{tikzcd}
          & Z\
          X arrow[r]arrow[rd]arrow[ru] &
          Z'' arrow[d]arrow[u] &
          Y arrow[l]arrow[ld]arrow[lu] \
          & Z'
          end{tikzcd}
          end{document}


          enter image description here






          share|improve this answer















          When you do arrow[lu], that tells tikz-cd to draw an arrow from the cell in which that macro is placed, to the cell that is one left (l) and one up (u). You draw arrows that go up and left from the top left cell in the diagram, so there is no cell for those arrows to end in, and you get an error.



          It's the same thing elsewhere, you're drawing arrows to non-existing cells.



          To draw to a cell for example two to the right, you use arrow[rr], i.e. repeat the letter corresponding to the direction for as many times as cells you want to jump in that direction.



          Unrelated: ' means ^{prime}, so you probably don't want Z^{'}, but Z'.



          documentclass{article}
          usepackage{tikz-cd}
          begin{document}
          begin{tikzcd}
          & Z\
          X arrow[r]arrow[rd]arrow[ru] &
          Z'' arrow[d]arrow[u] &
          Y arrow[l]arrow[ld]arrow[lu] \
          & Z'
          end{tikzcd}
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 1 hour ago

























          answered 2 hours ago









          Torbjørn T.Torbjørn T.

          155k13249437




          155k13249437













          • @marmot Thanks. Quite possibly, I changed it.

            – Torbjørn T.
            2 hours ago











          • Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

            – Diego Havez
            1 hour ago













          • @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

            – Torbjørn T.
            1 hour ago













          • Thanks Torbjorn T.

            – Diego Havez
            1 hour ago











          • Torbjorn you can see the picture.

            – Diego Havez
            1 hour ago



















          • @marmot Thanks. Quite possibly, I changed it.

            – Torbjørn T.
            2 hours ago











          • Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

            – Diego Havez
            1 hour ago













          • @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

            – Torbjørn T.
            1 hour ago













          • Thanks Torbjorn T.

            – Diego Havez
            1 hour ago











          • Torbjorn you can see the picture.

            – Diego Havez
            1 hour ago

















          @marmot Thanks. Quite possibly, I changed it.

          – Torbjørn T.
          2 hours ago





          @marmot Thanks. Quite possibly, I changed it.

          – Torbjørn T.
          2 hours ago













          Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

          – Diego Havez
          1 hour ago







          Actually what I want is three arrows down from Z to X,Z^{­­"} and Y. I want to keep the second ligne , and a third one from Z^{'} up to X,Z^{"} and Y. Thanks

          – Diego Havez
          1 hour ago















          @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

          – Torbjørn T.
          1 hour ago







          @DiegoHavez The logic is the same. Z'' is one down one right from Z, so you need arrow[rd], to go two right, rrd.

          – Torbjørn T.
          1 hour ago















          Thanks Torbjorn T.

          – Diego Havez
          1 hour ago





          Thanks Torbjorn T.

          – Diego Havez
          1 hour ago













          Torbjorn you can see the picture.

          – Diego Havez
          1 hour ago





          Torbjorn you can see the picture.

          – Diego Havez
          1 hour ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470119%2fdiagram-of-objects-in-latex%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          円仁

          平林たい子

          ティム・エリオット