TikZ Qtree subcaptions
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I'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
New contributor
add a comment |Â
up vote
3
down vote
favorite
I'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
New contributor
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I'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
New contributor
I'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
formatting tikz-trees linguistics tikz-qtree
New contributor
New contributor
edited 1 hour ago
Alan Munn
156k27419692
156k27419692
New contributor
asked 2 hours ago
luhausler
161
161
New contributor
New contributor
add a comment |Â
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
edited 56 mins ago
answered 1 hour ago
Alan Munn
156k27419692
156k27419692
add a comment |Â
add a comment |Â
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.
luhausler is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password