How to draw the diamond structure using `chains`? The Next CEO of Stack OverflowTikz: labels above the arrows using chains library?Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionUsing loops with chains?Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themWith continue chain, how to achieve absolute node positioning?TikZ: How to draw a flow chart using library chains and matrix of nodes?

Bartok - Syncopation (1): Meaning of notes in between Grand Staff

Make solar eclipses exceedingly rare, but still have new moons

Can Plant Growth be repeatedly cast on the same area to exponentially increase the yield of harvests there (more than twice)?

Axiom Schema vs Axiom

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

Prepend last line of stdin to entire stdin

Should I tutor a student who I know has cheated on their homework?

Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?

Would a completely good Muggle be able to use a wand?

Why isn't the Mueller report being released completely and unredacted?

Is wanting to ask what to write an indication that you need to change your story?

How to invert MapIndexed on a ragged structure? How to construct a tree from rules?

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

How to write a definition with variants?

Why is information "lost" when it got into a black hole?

What happened in Rome, when the western empire "fell"?

TikZ: How to reverse arrow direction without switching start/end point?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

What's the best way to handle refactoring a big file?

How to avoid supervisors with prejudiced views?

What was the first Unix version to run on a microcomputer?

Is there a way to save my career from absolute disaster?

Method for adding error messages to a dictionary given a key

How would one say "Grandma died, I really miss her"?



How to draw the diamond structure using `chains`?



The Next CEO of Stack OverflowTikz: labels above the arrows using chains library?Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionUsing loops with chains?Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themWith continue chain, how to achieve absolute node positioning?TikZ: How to draw a flow chart using library chains and matrix of nodes?










2















I am using chains to re-draw the structure (shown below) in Second isomorphism theorem(wiki).
2nd-iso-wiki



The code and the resulting figure is shown as follows.



How to get rid of the dummy node (added for alignment) and the unnecessary join lines between it and the node hn and hcapn, respectively?



2nd-iso



documentclass[tikz]standalone
usetikzlibrarychains, scopes

begindocument
begintikzpicture[every on chain/.style = join, every join/.style = -, node distance = 0.8cm and 1.0cm]

[start chain = G going below] % G chain
node (g) [on chain] $G$;
node (hn) [on chain, below = 0.50cm of g] $HN$;
[start branch = H going below left] % H branch
node (h) [on chain] $H$;

[start branch = N going below right] % N branch
node [on chain] $N$;

node [on chain] ; % dummy node % continue G chain
node (hcapn) [on chain, join = with G/H-end, join = with G/N-end] $H cap N$;
node (e) [on chain, below = 0.50cm of hcapn] $ e $;

endtikzpicture
enddocument









share|improve this question


























    2















    I am using chains to re-draw the structure (shown below) in Second isomorphism theorem(wiki).
    2nd-iso-wiki



    The code and the resulting figure is shown as follows.



    How to get rid of the dummy node (added for alignment) and the unnecessary join lines between it and the node hn and hcapn, respectively?



    2nd-iso



    documentclass[tikz]standalone
    usetikzlibrarychains, scopes

    begindocument
    begintikzpicture[every on chain/.style = join, every join/.style = -, node distance = 0.8cm and 1.0cm]

    [start chain = G going below] % G chain
    node (g) [on chain] $G$;
    node (hn) [on chain, below = 0.50cm of g] $HN$;
    [start branch = H going below left] % H branch
    node (h) [on chain] $H$;

    [start branch = N going below right] % N branch
    node [on chain] $N$;

    node [on chain] ; % dummy node % continue G chain
    node (hcapn) [on chain, join = with G/H-end, join = with G/N-end] $H cap N$;
    node (e) [on chain, below = 0.50cm of hcapn] $ e $;

    endtikzpicture
    enddocument









    share|improve this question
























      2












      2








      2








      I am using chains to re-draw the structure (shown below) in Second isomorphism theorem(wiki).
      2nd-iso-wiki



      The code and the resulting figure is shown as follows.



      How to get rid of the dummy node (added for alignment) and the unnecessary join lines between it and the node hn and hcapn, respectively?



      2nd-iso



      documentclass[tikz]standalone
      usetikzlibrarychains, scopes

      begindocument
      begintikzpicture[every on chain/.style = join, every join/.style = -, node distance = 0.8cm and 1.0cm]

      [start chain = G going below] % G chain
      node (g) [on chain] $G$;
      node (hn) [on chain, below = 0.50cm of g] $HN$;
      [start branch = H going below left] % H branch
      node (h) [on chain] $H$;

      [start branch = N going below right] % N branch
      node [on chain] $N$;

      node [on chain] ; % dummy node % continue G chain
      node (hcapn) [on chain, join = with G/H-end, join = with G/N-end] $H cap N$;
      node (e) [on chain, below = 0.50cm of hcapn] $ e $;

      endtikzpicture
      enddocument









      share|improve this question














      I am using chains to re-draw the structure (shown below) in Second isomorphism theorem(wiki).
      2nd-iso-wiki



      The code and the resulting figure is shown as follows.



      How to get rid of the dummy node (added for alignment) and the unnecessary join lines between it and the node hn and hcapn, respectively?



      2nd-iso



      documentclass[tikz]standalone
      usetikzlibrarychains, scopes

      begindocument
      begintikzpicture[every on chain/.style = join, every join/.style = -, node distance = 0.8cm and 1.0cm]

      [start chain = G going below] % G chain
      node (g) [on chain] $G$;
      node (hn) [on chain, below = 0.50cm of g] $HN$;
      [start branch = H going below left] % H branch
      node (h) [on chain] $H$;

      [start branch = N going below right] % N branch
      node [on chain] $N$;

      node [on chain] ; % dummy node % continue G chain
      node (hcapn) [on chain, join = with G/H-end, join = with G/N-end] $H cap N$;
      node (e) [on chain, below = 0.50cm of hcapn] $ e $;

      endtikzpicture
      enddocument






      tikz-pgf tikz-chains






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      hengxinhengxin

      1,0262926




      1,0262926




















          2 Answers
          2






          active

          oldest

          votes


















          3














          If you want to replicate the linked picture, I propose this



          documentclass[tikz]standalone
          usetikzlibraryshapes,fit
          usepackagemathptmx
          begindocument
          begintikzpicture[x=1.75cm,y=1.75cm]
          beginscope[every node/.style=draw,circle,minimum size=1cm]
          node (g) at (0,2) $G$;
          node (sn) at (0,1) $SN$;
          node (n) at (-1,0) $N$;
          node (s) at (1,0) $S$;
          node[ellipse,draw,minimum height=1cm] (scn) at (0,-1) $Scap N$;
          node (e) at (0,-2) $e$;
          endscope
          draw (g)--(sn)--(n)--(scn)--(e) (scn)--(s)--(sn);
          node[rotate=-45,ellipse,draw,dashed,inner xsep=-7mm,inner ysep=-1mm,fit=(sn)(n)] ;
          node[rotate=-45,ellipse,draw,dashed,inner xsep=-9mm,inner ysep=1mm,fit=(scn)(s)] ;
          node $cong$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer






























            2














            with chain, but two nodes are excluded in join macro and for it the connection is drawn separately:



            documentclass[tikz, margin=3mm]standalone
            usetikzlibrarychains, positioning, shapes.geometric
            makeatletter
            tikzsetsuspend join/.code=deftikz@after@path
            makeatother

            begindocument
            begintikzpicture[
            node distance = 8mm and 10 mm,
            start chain = going below,
            N/.style = ellipse, draw, inner sep=2pt, on chain, join=by -]
            node (g) [N] $G$;
            node (hn) [N] $HN$;
            node (h) [N, below left=of hn] $H$;
            node (hcapn) [N, below=of h -| hn] $H cap N$;
            node (e) [N] $ e $;
            %
            node (n) [N,suspend join,
            below right=of hn] $N$;
            node [below=of hn] $cong$;
            draw (hn) -- (n) (n) -- (hcapn);
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer

























              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%2f482371%2fhow-to-draw-the-diamond-structure-using-chains%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              If you want to replicate the linked picture, I propose this



              documentclass[tikz]standalone
              usetikzlibraryshapes,fit
              usepackagemathptmx
              begindocument
              begintikzpicture[x=1.75cm,y=1.75cm]
              beginscope[every node/.style=draw,circle,minimum size=1cm]
              node (g) at (0,2) $G$;
              node (sn) at (0,1) $SN$;
              node (n) at (-1,0) $N$;
              node (s) at (1,0) $S$;
              node[ellipse,draw,minimum height=1cm] (scn) at (0,-1) $Scap N$;
              node (e) at (0,-2) $e$;
              endscope
              draw (g)--(sn)--(n)--(scn)--(e) (scn)--(s)--(sn);
              node[rotate=-45,ellipse,draw,dashed,inner xsep=-7mm,inner ysep=-1mm,fit=(sn)(n)] ;
              node[rotate=-45,ellipse,draw,dashed,inner xsep=-9mm,inner ysep=1mm,fit=(scn)(s)] ;
              node $cong$;
              endtikzpicture
              enddocument


              enter image description here






              share|improve this answer



























                3














                If you want to replicate the linked picture, I propose this



                documentclass[tikz]standalone
                usetikzlibraryshapes,fit
                usepackagemathptmx
                begindocument
                begintikzpicture[x=1.75cm,y=1.75cm]
                beginscope[every node/.style=draw,circle,minimum size=1cm]
                node (g) at (0,2) $G$;
                node (sn) at (0,1) $SN$;
                node (n) at (-1,0) $N$;
                node (s) at (1,0) $S$;
                node[ellipse,draw,minimum height=1cm] (scn) at (0,-1) $Scap N$;
                node (e) at (0,-2) $e$;
                endscope
                draw (g)--(sn)--(n)--(scn)--(e) (scn)--(s)--(sn);
                node[rotate=-45,ellipse,draw,dashed,inner xsep=-7mm,inner ysep=-1mm,fit=(sn)(n)] ;
                node[rotate=-45,ellipse,draw,dashed,inner xsep=-9mm,inner ysep=1mm,fit=(scn)(s)] ;
                node $cong$;
                endtikzpicture
                enddocument


                enter image description here






                share|improve this answer

























                  3












                  3








                  3







                  If you want to replicate the linked picture, I propose this



                  documentclass[tikz]standalone
                  usetikzlibraryshapes,fit
                  usepackagemathptmx
                  begindocument
                  begintikzpicture[x=1.75cm,y=1.75cm]
                  beginscope[every node/.style=draw,circle,minimum size=1cm]
                  node (g) at (0,2) $G$;
                  node (sn) at (0,1) $SN$;
                  node (n) at (-1,0) $N$;
                  node (s) at (1,0) $S$;
                  node[ellipse,draw,minimum height=1cm] (scn) at (0,-1) $Scap N$;
                  node (e) at (0,-2) $e$;
                  endscope
                  draw (g)--(sn)--(n)--(scn)--(e) (scn)--(s)--(sn);
                  node[rotate=-45,ellipse,draw,dashed,inner xsep=-7mm,inner ysep=-1mm,fit=(sn)(n)] ;
                  node[rotate=-45,ellipse,draw,dashed,inner xsep=-9mm,inner ysep=1mm,fit=(scn)(s)] ;
                  node $cong$;
                  endtikzpicture
                  enddocument


                  enter image description here






                  share|improve this answer













                  If you want to replicate the linked picture, I propose this



                  documentclass[tikz]standalone
                  usetikzlibraryshapes,fit
                  usepackagemathptmx
                  begindocument
                  begintikzpicture[x=1.75cm,y=1.75cm]
                  beginscope[every node/.style=draw,circle,minimum size=1cm]
                  node (g) at (0,2) $G$;
                  node (sn) at (0,1) $SN$;
                  node (n) at (-1,0) $N$;
                  node (s) at (1,0) $S$;
                  node[ellipse,draw,minimum height=1cm] (scn) at (0,-1) $Scap N$;
                  node (e) at (0,-2) $e$;
                  endscope
                  draw (g)--(sn)--(n)--(scn)--(e) (scn)--(s)--(sn);
                  node[rotate=-45,ellipse,draw,dashed,inner xsep=-7mm,inner ysep=-1mm,fit=(sn)(n)] ;
                  node[rotate=-45,ellipse,draw,dashed,inner xsep=-9mm,inner ysep=1mm,fit=(scn)(s)] ;
                  node $cong$;
                  endtikzpicture
                  enddocument


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  JouleVJouleV

                  9,23322256




                  9,23322256





















                      2














                      with chain, but two nodes are excluded in join macro and for it the connection is drawn separately:



                      documentclass[tikz, margin=3mm]standalone
                      usetikzlibrarychains, positioning, shapes.geometric
                      makeatletter
                      tikzsetsuspend join/.code=deftikz@after@path
                      makeatother

                      begindocument
                      begintikzpicture[
                      node distance = 8mm and 10 mm,
                      start chain = going below,
                      N/.style = ellipse, draw, inner sep=2pt, on chain, join=by -]
                      node (g) [N] $G$;
                      node (hn) [N] $HN$;
                      node (h) [N, below left=of hn] $H$;
                      node (hcapn) [N, below=of h -| hn] $H cap N$;
                      node (e) [N] $ e $;
                      %
                      node (n) [N,suspend join,
                      below right=of hn] $N$;
                      node [below=of hn] $cong$;
                      draw (hn) -- (n) (n) -- (hcapn);
                      endtikzpicture
                      enddocument


                      enter image description here






                      share|improve this answer





























                        2














                        with chain, but two nodes are excluded in join macro and for it the connection is drawn separately:



                        documentclass[tikz, margin=3mm]standalone
                        usetikzlibrarychains, positioning, shapes.geometric
                        makeatletter
                        tikzsetsuspend join/.code=deftikz@after@path
                        makeatother

                        begindocument
                        begintikzpicture[
                        node distance = 8mm and 10 mm,
                        start chain = going below,
                        N/.style = ellipse, draw, inner sep=2pt, on chain, join=by -]
                        node (g) [N] $G$;
                        node (hn) [N] $HN$;
                        node (h) [N, below left=of hn] $H$;
                        node (hcapn) [N, below=of h -| hn] $H cap N$;
                        node (e) [N] $ e $;
                        %
                        node (n) [N,suspend join,
                        below right=of hn] $N$;
                        node [below=of hn] $cong$;
                        draw (hn) -- (n) (n) -- (hcapn);
                        endtikzpicture
                        enddocument


                        enter image description here






                        share|improve this answer



























                          2












                          2








                          2







                          with chain, but two nodes are excluded in join macro and for it the connection is drawn separately:



                          documentclass[tikz, margin=3mm]standalone
                          usetikzlibrarychains, positioning, shapes.geometric
                          makeatletter
                          tikzsetsuspend join/.code=deftikz@after@path
                          makeatother

                          begindocument
                          begintikzpicture[
                          node distance = 8mm and 10 mm,
                          start chain = going below,
                          N/.style = ellipse, draw, inner sep=2pt, on chain, join=by -]
                          node (g) [N] $G$;
                          node (hn) [N] $HN$;
                          node (h) [N, below left=of hn] $H$;
                          node (hcapn) [N, below=of h -| hn] $H cap N$;
                          node (e) [N] $ e $;
                          %
                          node (n) [N,suspend join,
                          below right=of hn] $N$;
                          node [below=of hn] $cong$;
                          draw (hn) -- (n) (n) -- (hcapn);
                          endtikzpicture
                          enddocument


                          enter image description here






                          share|improve this answer















                          with chain, but two nodes are excluded in join macro and for it the connection is drawn separately:



                          documentclass[tikz, margin=3mm]standalone
                          usetikzlibrarychains, positioning, shapes.geometric
                          makeatletter
                          tikzsetsuspend join/.code=deftikz@after@path
                          makeatother

                          begindocument
                          begintikzpicture[
                          node distance = 8mm and 10 mm,
                          start chain = going below,
                          N/.style = ellipse, draw, inner sep=2pt, on chain, join=by -]
                          node (g) [N] $G$;
                          node (hn) [N] $HN$;
                          node (h) [N, below left=of hn] $H$;
                          node (hcapn) [N, below=of h -| hn] $H cap N$;
                          node (e) [N] $ e $;
                          %
                          node (n) [N,suspend join,
                          below right=of hn] $N$;
                          node [below=of hn] $cong$;
                          draw (hn) -- (n) (n) -- (hcapn);
                          endtikzpicture
                          enddocument


                          enter image description here







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 1 hour ago

























                          answered 1 hour ago









                          ZarkoZarko

                          128k868168




                          128k868168



























                              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%2f482371%2fhow-to-draw-the-diamond-structure-using-chains%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

                              Андора Зьмест Гісторыя | Палітыка | Адміністрацыйны падзел | Геаграфія | Эканоміка | Дэмаграфія | Крыніцы | Вонкавыя спасылкі | Навігацыйнае мэню"CIA World Factbook entry: Andorra"."Andorra 2008, Departament d'estadística d'Andorra"Андорарр

                              Інфармацыя пра «Том Ўэйтс» Асноўныя зьвесткіАбарона старонкіГісторыя рэдагаваньняўУласьцівасьці старонкіНавігацыйнае мэню