TikZ Qtree subcaptions

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












Tree diagram subcaptionsI'm using the TikZ Qtree package for making syntactic tree diagrams. Am wondering how to add subcaptions for individual node labels, such as shown in attached photo, as well as formating them (strikethrough, bold, etc.). Thanks!










share|improve this question









New contributor




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























    up vote
    3
    down vote

    favorite












    Tree diagram subcaptionsI'm using the TikZ Qtree package for making syntactic tree diagrams. Am wondering how to add subcaptions for individual node labels, such as shown in attached photo, as well as formating them (strikethrough, bold, etc.). Thanks!










    share|improve this question









    New contributor




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





















      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      Tree diagram subcaptionsI'm using the TikZ Qtree package for making syntactic tree diagrams. Am wondering how to add subcaptions for individual node labels, such as shown in attached photo, as well as formating them (strikethrough, bold, etc.). Thanks!










      share|improve this question









      New contributor




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











      Tree diagram subcaptionsI'm using the TikZ Qtree package for making syntactic tree diagrams. Am wondering how to add subcaptions for individual node labels, such as shown in attached photo, as well as formating them (strikethrough, bold, etc.). Thanks!







      formatting tikz-trees linguistics tikz-qtree






      share|improve this question









      New contributor




      luhausler 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




      luhausler 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 1 hour ago









      Alan Munn

      156k27419692




      156k27419692






      New contributor




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









      asked 2 hours ago









      luhausler

      161




      161




      New contributor




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





      New contributor





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






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




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote













          You don't give an example, but if you add



          tikzsetevery tree node/.style=align=center,anchor=north


          you can allow explicit tabular newlines in node labels.



          I've used the ulem package for strikeout, and made two macro wrappers to format interpretable and uninterpretable features.



          If you haven't committed lots of time to using tikz-qtree you might want to consider using the more powerful forest package instead. The syntax is basically the same except node labels don't require . prefixes, and no extra code is required to allow tabular newlines in node labels. I've added a forest example too.



          documentclassarticle
          usepackage[normalem]ulem
          newcommandiF[1][bfseries#1]
          newcommanduF[1][emphsout#1kern1pt]
          newcommand1$'$
          usepackagetikz-qtree
          usepackage[linguistics]forest
          tikzsetevery tree node/.style=align=center,anchor=north% needed for tikz-qtree
          begindocument
          Tree
          [.TP [.PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
          [.T1
          [.T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
          [.VP
          [.V\raining ]
          [.PRN\soutit ]
          ]
          ]
          ]

          beginforest
          [TP [PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
          [T1
          [T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
          [VP
          [V\raining ]
          [PRN\soutit ]
          ]
          ]
          ]
          endforest
          enddocument


          output of code






          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            luhausler 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%2f454270%2ftikz-qtree-subcaptions%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote













            You don't give an example, but if you add



            tikzsetevery tree node/.style=align=center,anchor=north


            you can allow explicit tabular newlines in node labels.



            I've used the ulem package for strikeout, and made two macro wrappers to format interpretable and uninterpretable features.



            If you haven't committed lots of time to using tikz-qtree you might want to consider using the more powerful forest package instead. The syntax is basically the same except node labels don't require . prefixes, and no extra code is required to allow tabular newlines in node labels. I've added a forest example too.



            documentclassarticle
            usepackage[normalem]ulem
            newcommandiF[1][bfseries#1]
            newcommanduF[1][emphsout#1kern1pt]
            newcommand1$'$
            usepackagetikz-qtree
            usepackage[linguistics]forest
            tikzsetevery tree node/.style=align=center,anchor=north% needed for tikz-qtree
            begindocument
            Tree
            [.TP [.PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
            [.T1
            [.T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
            [.VP
            [.V\raining ]
            [.PRN\soutit ]
            ]
            ]
            ]

            beginforest
            [TP [PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
            [T1
            [T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
            [VP
            [V\raining ]
            [PRN\soutit ]
            ]
            ]
            ]
            endforest
            enddocument


            output of code






            share|improve this answer


























              up vote
              3
              down vote













              You don't give an example, but if you add



              tikzsetevery tree node/.style=align=center,anchor=north


              you can allow explicit tabular newlines in node labels.



              I've used the ulem package for strikeout, and made two macro wrappers to format interpretable and uninterpretable features.



              If you haven't committed lots of time to using tikz-qtree you might want to consider using the more powerful forest package instead. The syntax is basically the same except node labels don't require . prefixes, and no extra code is required to allow tabular newlines in node labels. I've added a forest example too.



              documentclassarticle
              usepackage[normalem]ulem
              newcommandiF[1][bfseries#1]
              newcommanduF[1][emphsout#1kern1pt]
              newcommand1$'$
              usepackagetikz-qtree
              usepackage[linguistics]forest
              tikzsetevery tree node/.style=align=center,anchor=north% needed for tikz-qtree
              begindocument
              Tree
              [.TP [.PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
              [.T1
              [.T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
              [.VP
              [.V\raining ]
              [.PRN\soutit ]
              ]
              ]
              ]

              beginforest
              [TP [PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
              [T1
              [T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
              [VP
              [V\raining ]
              [PRN\soutit ]
              ]
              ]
              ]
              endforest
              enddocument


              output of code






              share|improve this answer
























                up vote
                3
                down vote










                up vote
                3
                down vote









                You don't give an example, but if you add



                tikzsetevery tree node/.style=align=center,anchor=north


                you can allow explicit tabular newlines in node labels.



                I've used the ulem package for strikeout, and made two macro wrappers to format interpretable and uninterpretable features.



                If you haven't committed lots of time to using tikz-qtree you might want to consider using the more powerful forest package instead. The syntax is basically the same except node labels don't require . prefixes, and no extra code is required to allow tabular newlines in node labels. I've added a forest example too.



                documentclassarticle
                usepackage[normalem]ulem
                newcommandiF[1][bfseries#1]
                newcommanduF[1][emphsout#1kern1pt]
                newcommand1$'$
                usepackagetikz-qtree
                usepackage[linguistics]forest
                tikzsetevery tree node/.style=align=center,anchor=north% needed for tikz-qtree
                begindocument
                Tree
                [.TP [.PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
                [.T1
                [.T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
                [.VP
                [.V\raining ]
                [.PRN\soutit ]
                ]
                ]
                ]

                beginforest
                [TP [PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
                [T1
                [T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
                [VP
                [V\raining ]
                [PRN\soutit ]
                ]
                ]
                ]
                endforest
                enddocument


                output of code






                share|improve this answer














                You don't give an example, but if you add



                tikzsetevery tree node/.style=align=center,anchor=north


                you can allow explicit tabular newlines in node labels.



                I've used the ulem package for strikeout, and made two macro wrappers to format interpretable and uninterpretable features.



                If you haven't committed lots of time to using tikz-qtree you might want to consider using the more powerful forest package instead. The syntax is basically the same except node labels don't require . prefixes, and no extra code is required to allow tabular newlines in node labels. I've added a forest example too.



                documentclassarticle
                usepackage[normalem]ulem
                newcommandiF[1][bfseries#1]
                newcommanduF[1][emphsout#1kern1pt]
                newcommand1$'$
                usepackagetikz-qtree
                usepackage[linguistics]forest
                tikzsetevery tree node/.style=align=center,anchor=north% needed for tikz-qtree
                begindocument
                Tree
                [.TP [.PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
                [.T1
                [.T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
                [.VP
                [.V\raining ]
                [.PRN\soutit ]
                ]
                ]
                ]

                beginforest
                [TP [PRN\it\iF3-Pers\iFSg-Num\uFNom Case ]
                [T1
                [T\textscbe\iFPres-Tns\uF3-Pers\uFSg-Num\uFEPP ]
                [VP
                [V\raining ]
                [PRN\soutit ]
                ]
                ]
                ]
                endforest
                enddocument


                output of code







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 56 mins ago

























                answered 1 hour ago









                Alan Munn

                156k27419692




                156k27419692




















                    luhausler is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    luhausler is a new contributor. Be nice, and check out our Code of Conduct.












                    luhausler is a new contributor. Be nice, and check out our Code of Conduct.











                    luhausler 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%2f454270%2ftikz-qtree-subcaptions%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                    Confectionery