Wiring up text partsTikZ multipart nodes: How to set text attributes (opacity) for some/all partsNo text=none...

Are small insurances worth it

How can I create a Table like this in Latex?

Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?

What is this waxed root vegetable?

Can a space-faring robot still function over a billion years?

How do you say “my friend is throwing a party, do you wanna come?” in german

Six real numbers so that product of any five is the sixth one

Does "legal poaching" exist?

What could trigger powerful quakes on icy world?

Can we carry rice to Japan?

Change only a specific Parameter on a function

How to lift/raise/repair a segment of concrete slab?

Starting index at zero

School performs periodic password audits. Is my password compromised?

Should we avoid writing fiction about historical events without extensive research?

What is the difference between a forward slip and a side slip?

VAT refund for a conference ticket in Sweden

Do you continue making death saving throws while petrified?

Is there any relevance to Thor getting his hair cut other than comedic value?

The need of reserving one's ability in job interviews

Why is it "take a leak?"

Is divide-by-zero a security vulnerability?

Is the withholding of funding notice allowed?

Every subset equal to original set?



Wiring up text parts


TikZ multipart nodes: How to set text attributes (opacity) for some/all partsNo text=none in TikZ?Creating TikZ Node Using MacroHow could I center the text in a rectangle split node?TikZ: position text along pathTikZ reusable paths with variablesSetting Text on a Pathoverlay latex output on top of VerbatimInput TEXT fileCreate split rectangle node with different height partsHow to align node anchors on text?













2















I'm currently trying to wireup text parts to describe some thing like Unix file permissions or the output of an



ls -al


But I have no clue how I can create something like this:



enter image description here



I was thinking about using path or node from TikZ



But I didn`t get it to work out.










share|improve this question









New contributor




Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    2















    I'm currently trying to wireup text parts to describe some thing like Unix file permissions or the output of an



    ls -al


    But I have no clue how I can create something like this:



    enter image description here



    I was thinking about using path or node from TikZ



    But I didn`t get it to work out.










    share|improve this question









    New contributor




    Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      2












      2








      2


      0






      I'm currently trying to wireup text parts to describe some thing like Unix file permissions or the output of an



      ls -al


      But I have no clue how I can create something like this:



      enter image description here



      I was thinking about using path or node from TikZ



      But I didn`t get it to work out.










      share|improve this question









      New contributor




      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm currently trying to wireup text parts to describe some thing like Unix file permissions or the output of an



      ls -al


      But I have no clue how I can create something like this:



      enter image description here



      I was thinking about using path or node from TikZ



      But I didn`t get it to work out.







      tikz-pgf draw






      share|improve this question









      New contributor




      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 23 hours ago









      JouleV

      4,88611139




      4,88611139






      New contributor




      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      Robert van der StelRobert van der Stel

      353




      353




      New contributor




      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Robert van der Stel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          4














          You mean something like this?



          documentclass[tikz]{standalone}
          usetikzlibrary{calc}
          begin{document}
          begin{tikzpicture}[blue]
          node (a) at (0,0) {-};
          node (b) at (1,0) {rwx};
          node (c) at (2,0) {rw-};
          node (d) at (3,0) {r---};
          draw (a.south west)--(a.south east);
          draw (b.south west)--(b.south east);
          draw (c.south west)--(c.south east);
          draw (d.south west)--(d.south east);
          draw (d.south)--($(d.south)+(0,-1)$)--($(d.south)+(1,-1)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute\permissions for all other users};
          draw (c.south)--($(c.south)+(0,-2)$)--($(c.south)+(2,-2)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions for\members of the group owning the file};
          draw (b.south)--($(b.south)+(0,-3)$)--($(b.south)+(3,-3)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions\for the owner of the file};
          draw (a.south)--($(a.south)+(0,-4)$)--($(a.south)+(4,-4)$) node[right,align=left,font=scriptsizesffamily] {File type: ``---'' means a file.\``d'' means a directory};
          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer































            4














            I basically stole JouleV's answer and revised it to use relative positioning and pack the nodes closer together. Specifically, the gap between the text of two adjacent nodes is 2 times inner sep. Unfortunately, inner sep is also added to the lines under the text, so there I had to reduce inner xsep and increase the separation using [right=4pt].



            BTW, the default for inner sep is 0.333em.



            documentclass[tikz]{standalone}
            usetikzlibrary{calc}
            begin{document}
            begin{tikzpicture}[blue]
            begin{scope}[every node/.style={inner xsep=0pt, inner ysep=2pt}]
            node (a) {-};
            node[right=4pt] (b) at (a.east) {rwx};
            node[right=4pt] (c) at (b.east) {rw-};
            node[right=4pt] (d) at (c.east) {r---};
            end{scope}
            begin{scope}[every node/.style={below right, align=left, font=scriptsizesffamily}]
            node (e) at (d.south east) {Read, write and execute\permissions for all other users};
            node (f) at (e.south west) {Read, write and execute permissions for\members of the group owning the file};
            node (g) at (f.south west) {Read, write and execute permissions\for the owner of the file};
            node (h) at (g.south west) {File type: ``---'' means a file.\``d'' means a directory};
            end{scope}
            draw (a.south west)--(a.south east)
            (b.south west)--(b.south east)
            (c.south west)--(c.south east)
            (d.south west)--(d.south east)
            (a.south) |- (h.west)
            (b.south) |- (g.west)
            (c.south) |- (f.west)
            (d.south) |- (e.west);
            end{tikzpicture}
            end{document}


            demo






            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
              });


              }
              });






              Robert van der Stel is a new contributor. Be nice, and check out our Code of Conduct.










              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477853%2fwiring-up-text-parts%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









              4














              You mean something like this?



              documentclass[tikz]{standalone}
              usetikzlibrary{calc}
              begin{document}
              begin{tikzpicture}[blue]
              node (a) at (0,0) {-};
              node (b) at (1,0) {rwx};
              node (c) at (2,0) {rw-};
              node (d) at (3,0) {r---};
              draw (a.south west)--(a.south east);
              draw (b.south west)--(b.south east);
              draw (c.south west)--(c.south east);
              draw (d.south west)--(d.south east);
              draw (d.south)--($(d.south)+(0,-1)$)--($(d.south)+(1,-1)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute\permissions for all other users};
              draw (c.south)--($(c.south)+(0,-2)$)--($(c.south)+(2,-2)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions for\members of the group owning the file};
              draw (b.south)--($(b.south)+(0,-3)$)--($(b.south)+(3,-3)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions\for the owner of the file};
              draw (a.south)--($(a.south)+(0,-4)$)--($(a.south)+(4,-4)$) node[right,align=left,font=scriptsizesffamily] {File type: ``---'' means a file.\``d'' means a directory};
              end{tikzpicture}
              end{document}


              enter image description here






              share|improve this answer




























                4














                You mean something like this?



                documentclass[tikz]{standalone}
                usetikzlibrary{calc}
                begin{document}
                begin{tikzpicture}[blue]
                node (a) at (0,0) {-};
                node (b) at (1,0) {rwx};
                node (c) at (2,0) {rw-};
                node (d) at (3,0) {r---};
                draw (a.south west)--(a.south east);
                draw (b.south west)--(b.south east);
                draw (c.south west)--(c.south east);
                draw (d.south west)--(d.south east);
                draw (d.south)--($(d.south)+(0,-1)$)--($(d.south)+(1,-1)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute\permissions for all other users};
                draw (c.south)--($(c.south)+(0,-2)$)--($(c.south)+(2,-2)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions for\members of the group owning the file};
                draw (b.south)--($(b.south)+(0,-3)$)--($(b.south)+(3,-3)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions\for the owner of the file};
                draw (a.south)--($(a.south)+(0,-4)$)--($(a.south)+(4,-4)$) node[right,align=left,font=scriptsizesffamily] {File type: ``---'' means a file.\``d'' means a directory};
                end{tikzpicture}
                end{document}


                enter image description here






                share|improve this answer


























                  4












                  4








                  4







                  You mean something like this?



                  documentclass[tikz]{standalone}
                  usetikzlibrary{calc}
                  begin{document}
                  begin{tikzpicture}[blue]
                  node (a) at (0,0) {-};
                  node (b) at (1,0) {rwx};
                  node (c) at (2,0) {rw-};
                  node (d) at (3,0) {r---};
                  draw (a.south west)--(a.south east);
                  draw (b.south west)--(b.south east);
                  draw (c.south west)--(c.south east);
                  draw (d.south west)--(d.south east);
                  draw (d.south)--($(d.south)+(0,-1)$)--($(d.south)+(1,-1)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute\permissions for all other users};
                  draw (c.south)--($(c.south)+(0,-2)$)--($(c.south)+(2,-2)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions for\members of the group owning the file};
                  draw (b.south)--($(b.south)+(0,-3)$)--($(b.south)+(3,-3)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions\for the owner of the file};
                  draw (a.south)--($(a.south)+(0,-4)$)--($(a.south)+(4,-4)$) node[right,align=left,font=scriptsizesffamily] {File type: ``---'' means a file.\``d'' means a directory};
                  end{tikzpicture}
                  end{document}


                  enter image description here






                  share|improve this answer













                  You mean something like this?



                  documentclass[tikz]{standalone}
                  usetikzlibrary{calc}
                  begin{document}
                  begin{tikzpicture}[blue]
                  node (a) at (0,0) {-};
                  node (b) at (1,0) {rwx};
                  node (c) at (2,0) {rw-};
                  node (d) at (3,0) {r---};
                  draw (a.south west)--(a.south east);
                  draw (b.south west)--(b.south east);
                  draw (c.south west)--(c.south east);
                  draw (d.south west)--(d.south east);
                  draw (d.south)--($(d.south)+(0,-1)$)--($(d.south)+(1,-1)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute\permissions for all other users};
                  draw (c.south)--($(c.south)+(0,-2)$)--($(c.south)+(2,-2)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions for\members of the group owning the file};
                  draw (b.south)--($(b.south)+(0,-3)$)--($(b.south)+(3,-3)$) node[right,align=left,font=scriptsizesffamily] {Read, write and execute permissions\for the owner of the file};
                  draw (a.south)--($(a.south)+(0,-4)$)--($(a.south)+(4,-4)$) node[right,align=left,font=scriptsizesffamily] {File type: ``---'' means a file.\``d'' means a directory};
                  end{tikzpicture}
                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 23 hours ago









                  JouleVJouleV

                  4,88611139




                  4,88611139























                      4














                      I basically stole JouleV's answer and revised it to use relative positioning and pack the nodes closer together. Specifically, the gap between the text of two adjacent nodes is 2 times inner sep. Unfortunately, inner sep is also added to the lines under the text, so there I had to reduce inner xsep and increase the separation using [right=4pt].



                      BTW, the default for inner sep is 0.333em.



                      documentclass[tikz]{standalone}
                      usetikzlibrary{calc}
                      begin{document}
                      begin{tikzpicture}[blue]
                      begin{scope}[every node/.style={inner xsep=0pt, inner ysep=2pt}]
                      node (a) {-};
                      node[right=4pt] (b) at (a.east) {rwx};
                      node[right=4pt] (c) at (b.east) {rw-};
                      node[right=4pt] (d) at (c.east) {r---};
                      end{scope}
                      begin{scope}[every node/.style={below right, align=left, font=scriptsizesffamily}]
                      node (e) at (d.south east) {Read, write and execute\permissions for all other users};
                      node (f) at (e.south west) {Read, write and execute permissions for\members of the group owning the file};
                      node (g) at (f.south west) {Read, write and execute permissions\for the owner of the file};
                      node (h) at (g.south west) {File type: ``---'' means a file.\``d'' means a directory};
                      end{scope}
                      draw (a.south west)--(a.south east)
                      (b.south west)--(b.south east)
                      (c.south west)--(c.south east)
                      (d.south west)--(d.south east)
                      (a.south) |- (h.west)
                      (b.south) |- (g.west)
                      (c.south) |- (f.west)
                      (d.south) |- (e.west);
                      end{tikzpicture}
                      end{document}


                      demo






                      share|improve this answer






























                        4














                        I basically stole JouleV's answer and revised it to use relative positioning and pack the nodes closer together. Specifically, the gap between the text of two adjacent nodes is 2 times inner sep. Unfortunately, inner sep is also added to the lines under the text, so there I had to reduce inner xsep and increase the separation using [right=4pt].



                        BTW, the default for inner sep is 0.333em.



                        documentclass[tikz]{standalone}
                        usetikzlibrary{calc}
                        begin{document}
                        begin{tikzpicture}[blue]
                        begin{scope}[every node/.style={inner xsep=0pt, inner ysep=2pt}]
                        node (a) {-};
                        node[right=4pt] (b) at (a.east) {rwx};
                        node[right=4pt] (c) at (b.east) {rw-};
                        node[right=4pt] (d) at (c.east) {r---};
                        end{scope}
                        begin{scope}[every node/.style={below right, align=left, font=scriptsizesffamily}]
                        node (e) at (d.south east) {Read, write and execute\permissions for all other users};
                        node (f) at (e.south west) {Read, write and execute permissions for\members of the group owning the file};
                        node (g) at (f.south west) {Read, write and execute permissions\for the owner of the file};
                        node (h) at (g.south west) {File type: ``---'' means a file.\``d'' means a directory};
                        end{scope}
                        draw (a.south west)--(a.south east)
                        (b.south west)--(b.south east)
                        (c.south west)--(c.south east)
                        (d.south west)--(d.south east)
                        (a.south) |- (h.west)
                        (b.south) |- (g.west)
                        (c.south) |- (f.west)
                        (d.south) |- (e.west);
                        end{tikzpicture}
                        end{document}


                        demo






                        share|improve this answer




























                          4












                          4








                          4







                          I basically stole JouleV's answer and revised it to use relative positioning and pack the nodes closer together. Specifically, the gap between the text of two adjacent nodes is 2 times inner sep. Unfortunately, inner sep is also added to the lines under the text, so there I had to reduce inner xsep and increase the separation using [right=4pt].



                          BTW, the default for inner sep is 0.333em.



                          documentclass[tikz]{standalone}
                          usetikzlibrary{calc}
                          begin{document}
                          begin{tikzpicture}[blue]
                          begin{scope}[every node/.style={inner xsep=0pt, inner ysep=2pt}]
                          node (a) {-};
                          node[right=4pt] (b) at (a.east) {rwx};
                          node[right=4pt] (c) at (b.east) {rw-};
                          node[right=4pt] (d) at (c.east) {r---};
                          end{scope}
                          begin{scope}[every node/.style={below right, align=left, font=scriptsizesffamily}]
                          node (e) at (d.south east) {Read, write and execute\permissions for all other users};
                          node (f) at (e.south west) {Read, write and execute permissions for\members of the group owning the file};
                          node (g) at (f.south west) {Read, write and execute permissions\for the owner of the file};
                          node (h) at (g.south west) {File type: ``---'' means a file.\``d'' means a directory};
                          end{scope}
                          draw (a.south west)--(a.south east)
                          (b.south west)--(b.south east)
                          (c.south west)--(c.south east)
                          (d.south west)--(d.south east)
                          (a.south) |- (h.west)
                          (b.south) |- (g.west)
                          (c.south) |- (f.west)
                          (d.south) |- (e.west);
                          end{tikzpicture}
                          end{document}


                          demo






                          share|improve this answer















                          I basically stole JouleV's answer and revised it to use relative positioning and pack the nodes closer together. Specifically, the gap between the text of two adjacent nodes is 2 times inner sep. Unfortunately, inner sep is also added to the lines under the text, so there I had to reduce inner xsep and increase the separation using [right=4pt].



                          BTW, the default for inner sep is 0.333em.



                          documentclass[tikz]{standalone}
                          usetikzlibrary{calc}
                          begin{document}
                          begin{tikzpicture}[blue]
                          begin{scope}[every node/.style={inner xsep=0pt, inner ysep=2pt}]
                          node (a) {-};
                          node[right=4pt] (b) at (a.east) {rwx};
                          node[right=4pt] (c) at (b.east) {rw-};
                          node[right=4pt] (d) at (c.east) {r---};
                          end{scope}
                          begin{scope}[every node/.style={below right, align=left, font=scriptsizesffamily}]
                          node (e) at (d.south east) {Read, write and execute\permissions for all other users};
                          node (f) at (e.south west) {Read, write and execute permissions for\members of the group owning the file};
                          node (g) at (f.south west) {Read, write and execute permissions\for the owner of the file};
                          node (h) at (g.south west) {File type: ``---'' means a file.\``d'' means a directory};
                          end{scope}
                          draw (a.south west)--(a.south east)
                          (b.south west)--(b.south east)
                          (c.south west)--(c.south east)
                          (d.south west)--(d.south east)
                          (a.south) |- (h.west)
                          (b.south) |- (g.west)
                          (c.south) |- (f.west)
                          (d.south) |- (e.west);
                          end{tikzpicture}
                          end{document}


                          demo







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 19 hours ago

























                          answered 19 hours ago









                          John KormyloJohn Kormylo

                          44.9k12570




                          44.9k12570






















                              Robert van der Stel is a new contributor. Be nice, and check out our Code of Conduct.










                              draft saved

                              draft discarded


















                              Robert van der Stel is a new contributor. Be nice, and check out our Code of Conduct.













                              Robert van der Stel is a new contributor. Be nice, and check out our Code of Conduct.












                              Robert van der Stel is a new contributor. Be nice, and check out our Code of Conduct.
















                              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%2f477853%2fwiring-up-text-parts%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

                              El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

                              Castillo d'Acher Características Menú de navegación

                              Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...