Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Is it possible to use tikz-qtree along with qtree?Restoring qtree spacing in tikz-qtreeNeed help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)reducing white space below tikz-qtree treeVertical left branch in qtree“Kinks” in long tikz-qtree branchesqtree - labeling levels of a treeqtree and tikz-qtreeAlign levels in a tree using tikz-qtreeCrossing branches in tikz-qtree
How to compare two different files line by line in unix?
Is there any word for a place full of confusion?
Illegal assignment from sObject to Id
Disembodied hand growing fangs
Denied boarding although I have proper visa and documentation. To whom should I make a complaint?
What would you call this weird metallic apparatus that allows you to lift people?
Why is my ESD wriststrap failing with nitrile gloves on?
How do I use the new nonlinear finite element in Mathematica 12 for this equation?
What's the meaning of "fortified infraction restraint"?
Why weren't discrete x86 CPUs ever used in game hardware?
How could we fake a moon landing now?
What does it mean that physics no longer uses mechanical models to describe phenomena?
What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?
How much damage would a cupful of neutron star matter do to the Earth?
Selecting user stories during sprint planning
How can I reduce the gap between left and right of cdot with a macro?
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
Is there a kind of relay only consumes power when switching?
Using audio cues to encourage good posture
What is the difference between globalisation and imperialism?
Effects on objects due to a brief relocation of massive amounts of mass
Chebyshev inequality in terms of RMS
AppleTVs create a chatty alternate WiFi network
Is it fair for a professor to grade us on the possession of past papers?
Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa)
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Is it possible to use tikz-qtree along with qtree?Restoring qtree spacing in tikz-qtreeNeed help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)reducing white space below tikz-qtree treeVertical left branch in qtree“Kinks” in long tikz-qtree branchesqtree - labeling levels of a treeqtree and tikz-qtreeAlign levels in a tree using tikz-qtreeCrossing branches in tikz-qtree
I'm new here and I only recently started to use LaTeX.
This is what I'm trying to achieve:
Notice the vertical lines and the oblique lines. Vertical lines represent headedness.
This is what I'm able to do:
This is the code:
documentclass[12pt]article
usepackage[usenames]color %used for font color
usepackageamssymb %maths
usepackageamsmath %maths
usepackage[utf8]inputenc %useful to type directly diacritic characters
usepackagetipa
usepackagetikz-qtree
begintikzpicture[baseline]
tikzsetfrontier/.style=distance from root=100pt
Tree
[.Pwd [.Ft [.$sigma$ [.æ ] ] [.$sigma$ [.l ] [.textipatextschwa ] ] ] [.Ft [.$sigma$ [.b ] [. æ ] ] [.$sigma$ [.m ] [.textipatextschwa ]] ] ]
endtikzpicture
enddocument
Edit: I have a new problem concerning this issue:
I would like the 'á' to be aligned with the mora ($mu$), the syllable ($sigma$), the Foot (Ft) and the Prosodic word (Pwd). The 's' should be on the left (like it right now) but without going over.
Here is the code:
beginforest
for tree=s sep=0, inner sep=0.8mm, l=0, parent anchor=south, child anchor=north
[Pwd [Ft, calign=first [$sigma$, calign=center [s, tier=word ] [$mu$ ['a, tier=word, name=C ] ] [$mu$, name=B] [$mu$ [t , name=D ] ] ] [$sigma$, name=A [$mu$ [u, tier=word ] ] ] ] ]
draw[-] (D.north)--(A.south);
draw[-] (C.north)--(B.south);
endforest
enddocument
Thank you
forest tikz-qtree tipa qtree
New contributor
add a comment |
I'm new here and I only recently started to use LaTeX.
This is what I'm trying to achieve:
Notice the vertical lines and the oblique lines. Vertical lines represent headedness.
This is what I'm able to do:
This is the code:
documentclass[12pt]article
usepackage[usenames]color %used for font color
usepackageamssymb %maths
usepackageamsmath %maths
usepackage[utf8]inputenc %useful to type directly diacritic characters
usepackagetipa
usepackagetikz-qtree
begintikzpicture[baseline]
tikzsetfrontier/.style=distance from root=100pt
Tree
[.Pwd [.Ft [.$sigma$ [.æ ] ] [.$sigma$ [.l ] [.textipatextschwa ] ] ] [.Ft [.$sigma$ [.b ] [. æ ] ] [.$sigma$ [.m ] [.textipatextschwa ]] ] ]
endtikzpicture
enddocument
Edit: I have a new problem concerning this issue:
I would like the 'á' to be aligned with the mora ($mu$), the syllable ($sigma$), the Foot (Ft) and the Prosodic word (Pwd). The 's' should be on the left (like it right now) but without going over.
Here is the code:
beginforest
for tree=s sep=0, inner sep=0.8mm, l=0, parent anchor=south, child anchor=north
[Pwd [Ft, calign=first [$sigma$, calign=center [s, tier=word ] [$mu$ ['a, tier=word, name=C ] ] [$mu$, name=B] [$mu$ [t , name=D ] ] ] [$sigma$, name=A [$mu$ [u, tier=word ] ] ] ] ]
draw[-] (D.north)--(A.south);
draw[-] (C.north)--(B.south);
endforest
enddocument
Thank you
forest tikz-qtree tipa qtree
New contributor
add a comment |
I'm new here and I only recently started to use LaTeX.
This is what I'm trying to achieve:
Notice the vertical lines and the oblique lines. Vertical lines represent headedness.
This is what I'm able to do:
This is the code:
documentclass[12pt]article
usepackage[usenames]color %used for font color
usepackageamssymb %maths
usepackageamsmath %maths
usepackage[utf8]inputenc %useful to type directly diacritic characters
usepackagetipa
usepackagetikz-qtree
begintikzpicture[baseline]
tikzsetfrontier/.style=distance from root=100pt
Tree
[.Pwd [.Ft [.$sigma$ [.æ ] ] [.$sigma$ [.l ] [.textipatextschwa ] ] ] [.Ft [.$sigma$ [.b ] [. æ ] ] [.$sigma$ [.m ] [.textipatextschwa ]] ] ]
endtikzpicture
enddocument
Edit: I have a new problem concerning this issue:
I would like the 'á' to be aligned with the mora ($mu$), the syllable ($sigma$), the Foot (Ft) and the Prosodic word (Pwd). The 's' should be on the left (like it right now) but without going over.
Here is the code:
beginforest
for tree=s sep=0, inner sep=0.8mm, l=0, parent anchor=south, child anchor=north
[Pwd [Ft, calign=first [$sigma$, calign=center [s, tier=word ] [$mu$ ['a, tier=word, name=C ] ] [$mu$, name=B] [$mu$ [t , name=D ] ] ] [$sigma$, name=A [$mu$ [u, tier=word ] ] ] ] ]
draw[-] (D.north)--(A.south);
draw[-] (C.north)--(B.south);
endforest
enddocument
Thank you
forest tikz-qtree tipa qtree
New contributor
I'm new here and I only recently started to use LaTeX.
This is what I'm trying to achieve:
Notice the vertical lines and the oblique lines. Vertical lines represent headedness.
This is what I'm able to do:
This is the code:
documentclass[12pt]article
usepackage[usenames]color %used for font color
usepackageamssymb %maths
usepackageamsmath %maths
usepackage[utf8]inputenc %useful to type directly diacritic characters
usepackagetipa
usepackagetikz-qtree
begintikzpicture[baseline]
tikzsetfrontier/.style=distance from root=100pt
Tree
[.Pwd [.Ft [.$sigma$ [.æ ] ] [.$sigma$ [.l ] [.textipatextschwa ] ] ] [.Ft [.$sigma$ [.b ] [. æ ] ] [.$sigma$ [.m ] [.textipatextschwa ]] ] ]
endtikzpicture
enddocument
Edit: I have a new problem concerning this issue:
I would like the 'á' to be aligned with the mora ($mu$), the syllable ($sigma$), the Foot (Ft) and the Prosodic word (Pwd). The 's' should be on the left (like it right now) but without going over.
Here is the code:
beginforest
for tree=s sep=0, inner sep=0.8mm, l=0, parent anchor=south, child anchor=north
[Pwd [Ft, calign=first [$sigma$, calign=center [s, tier=word ] [$mu$ ['a, tier=word, name=C ] ] [$mu$, name=B] [$mu$ [t , name=D ] ] ] [$sigma$, name=A [$mu$ [u, tier=word ] ] ] ] ]
draw[-] (D.north)--(A.south);
draw[-] (C.north)--(B.south);
endforest
enddocument
Thank you
forest tikz-qtree tipa qtree
forest tikz-qtree tipa qtree
New contributor
New contributor
edited Apr 13 at 1:44
Scharl
New contributor
asked Apr 12 at 15:38
ScharlScharl
235
235
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you consider switching to forest
, then you only need to set the appropriate calign
keys. (forest
has IMHO many advantages over tikz-qtree
and is based on tikz
, so you can use all tikz
stuff, too.)
documentclassarticle
usepackage[edges]forest
usepackagetipa
begindocument
beginforest
for tree=parent anchor=south,where level=1calign=firstcalign=last
[Pwd
[Ft
[$sigma$
[ae ]
]
[$sigma$
[l ]
[textipatextschwa
]
]
]
[Ft
[$sigma$
[b ]
[ae ]
]
[$sigma$
[m ]
[textipatextschwa
]
]
]
]
endforest
enddocument
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
@Scharl Sure, just addparent anchor=south
. I edited the answer accordingly.
– marmot
Apr 12 at 16:34
add a comment |
It is not so difficult with TIkZ's matrix
:
documentclass[tikz]standalone
usepackagetipa
usetikzlibrarymatrix
begindocument
begintikzpicture
matrix (m) [matrix of nodes,nodes=minimum width=.8cm] %
& & & & PWd & &\[2em]
Ft & & & & Ft & &\[2em]
$sigma$ & & $sigma$ & & $sigma$ & & $sigma$\[2em]
`ae & l & textipatextschwa & b & 'ae & m & textipatextschwa\
;
draw (m-2-1.north) -- (m-1-5.south) -- (m-2-5.north);
draw (m-3-1.north) -- (m-2-1.south) -- (m-3-3.north);
draw (m-3-5.north) -- (m-2-5.south) -- (m-3-7.north);
draw (m-4-1.north) -- (m-3-1.south);
draw (m-4-2.north) -- (m-3-3.south) -- (m-4-3.north);
draw (m-4-4.north) -- (m-3-5.south) -- (m-4-5.north);
draw (m-4-6.north) -- (m-3-7.south) -- (m-4-7.north);
endtikzpicture
enddocument
add a comment |
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
);
);
Scharl 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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484534%2fdrawing-vertical-oblique-lines-in-metrical-tree-tikz-qtree-tipa%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
If you consider switching to forest
, then you only need to set the appropriate calign
keys. (forest
has IMHO many advantages over tikz-qtree
and is based on tikz
, so you can use all tikz
stuff, too.)
documentclassarticle
usepackage[edges]forest
usepackagetipa
begindocument
beginforest
for tree=parent anchor=south,where level=1calign=firstcalign=last
[Pwd
[Ft
[$sigma$
[ae ]
]
[$sigma$
[l ]
[textipatextschwa
]
]
]
[Ft
[$sigma$
[b ]
[ae ]
]
[$sigma$
[m ]
[textipatextschwa
]
]
]
]
endforest
enddocument
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
@Scharl Sure, just addparent anchor=south
. I edited the answer accordingly.
– marmot
Apr 12 at 16:34
add a comment |
If you consider switching to forest
, then you only need to set the appropriate calign
keys. (forest
has IMHO many advantages over tikz-qtree
and is based on tikz
, so you can use all tikz
stuff, too.)
documentclassarticle
usepackage[edges]forest
usepackagetipa
begindocument
beginforest
for tree=parent anchor=south,where level=1calign=firstcalign=last
[Pwd
[Ft
[$sigma$
[ae ]
]
[$sigma$
[l ]
[textipatextschwa
]
]
]
[Ft
[$sigma$
[b ]
[ae ]
]
[$sigma$
[m ]
[textipatextschwa
]
]
]
]
endforest
enddocument
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
@Scharl Sure, just addparent anchor=south
. I edited the answer accordingly.
– marmot
Apr 12 at 16:34
add a comment |
If you consider switching to forest
, then you only need to set the appropriate calign
keys. (forest
has IMHO many advantages over tikz-qtree
and is based on tikz
, so you can use all tikz
stuff, too.)
documentclassarticle
usepackage[edges]forest
usepackagetipa
begindocument
beginforest
for tree=parent anchor=south,where level=1calign=firstcalign=last
[Pwd
[Ft
[$sigma$
[ae ]
]
[$sigma$
[l ]
[textipatextschwa
]
]
]
[Ft
[$sigma$
[b ]
[ae ]
]
[$sigma$
[m ]
[textipatextschwa
]
]
]
]
endforest
enddocument
If you consider switching to forest
, then you only need to set the appropriate calign
keys. (forest
has IMHO many advantages over tikz-qtree
and is based on tikz
, so you can use all tikz
stuff, too.)
documentclassarticle
usepackage[edges]forest
usepackagetipa
begindocument
beginforest
for tree=parent anchor=south,where level=1calign=firstcalign=last
[Pwd
[Ft
[$sigma$
[ae ]
]
[$sigma$
[l ]
[textipatextschwa
]
]
]
[Ft
[$sigma$
[b ]
[ae ]
]
[$sigma$
[m ]
[textipatextschwa
]
]
]
]
endforest
enddocument
edited Apr 12 at 16:34
answered Apr 12 at 16:08
marmotmarmot
119k6154289
119k6154289
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
@Scharl Sure, just addparent anchor=south
. I edited the answer accordingly.
– marmot
Apr 12 at 16:34
add a comment |
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
@Scharl Sure, just addparent anchor=south
. I edited the answer accordingly.
– marmot
Apr 12 at 16:34
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
Is there a way to make lines meet (and touch) at every node with Forest? I have tried to use it but could not figure this one out.
– Scharl
Apr 12 at 16:19
@Scharl Sure, just add
parent anchor=south
. I edited the answer accordingly.– marmot
Apr 12 at 16:34
@Scharl Sure, just add
parent anchor=south
. I edited the answer accordingly.– marmot
Apr 12 at 16:34
add a comment |
It is not so difficult with TIkZ's matrix
:
documentclass[tikz]standalone
usepackagetipa
usetikzlibrarymatrix
begindocument
begintikzpicture
matrix (m) [matrix of nodes,nodes=minimum width=.8cm] %
& & & & PWd & &\[2em]
Ft & & & & Ft & &\[2em]
$sigma$ & & $sigma$ & & $sigma$ & & $sigma$\[2em]
`ae & l & textipatextschwa & b & 'ae & m & textipatextschwa\
;
draw (m-2-1.north) -- (m-1-5.south) -- (m-2-5.north);
draw (m-3-1.north) -- (m-2-1.south) -- (m-3-3.north);
draw (m-3-5.north) -- (m-2-5.south) -- (m-3-7.north);
draw (m-4-1.north) -- (m-3-1.south);
draw (m-4-2.north) -- (m-3-3.south) -- (m-4-3.north);
draw (m-4-4.north) -- (m-3-5.south) -- (m-4-5.north);
draw (m-4-6.north) -- (m-3-7.south) -- (m-4-7.north);
endtikzpicture
enddocument
add a comment |
It is not so difficult with TIkZ's matrix
:
documentclass[tikz]standalone
usepackagetipa
usetikzlibrarymatrix
begindocument
begintikzpicture
matrix (m) [matrix of nodes,nodes=minimum width=.8cm] %
& & & & PWd & &\[2em]
Ft & & & & Ft & &\[2em]
$sigma$ & & $sigma$ & & $sigma$ & & $sigma$\[2em]
`ae & l & textipatextschwa & b & 'ae & m & textipatextschwa\
;
draw (m-2-1.north) -- (m-1-5.south) -- (m-2-5.north);
draw (m-3-1.north) -- (m-2-1.south) -- (m-3-3.north);
draw (m-3-5.north) -- (m-2-5.south) -- (m-3-7.north);
draw (m-4-1.north) -- (m-3-1.south);
draw (m-4-2.north) -- (m-3-3.south) -- (m-4-3.north);
draw (m-4-4.north) -- (m-3-5.south) -- (m-4-5.north);
draw (m-4-6.north) -- (m-3-7.south) -- (m-4-7.north);
endtikzpicture
enddocument
add a comment |
It is not so difficult with TIkZ's matrix
:
documentclass[tikz]standalone
usepackagetipa
usetikzlibrarymatrix
begindocument
begintikzpicture
matrix (m) [matrix of nodes,nodes=minimum width=.8cm] %
& & & & PWd & &\[2em]
Ft & & & & Ft & &\[2em]
$sigma$ & & $sigma$ & & $sigma$ & & $sigma$\[2em]
`ae & l & textipatextschwa & b & 'ae & m & textipatextschwa\
;
draw (m-2-1.north) -- (m-1-5.south) -- (m-2-5.north);
draw (m-3-1.north) -- (m-2-1.south) -- (m-3-3.north);
draw (m-3-5.north) -- (m-2-5.south) -- (m-3-7.north);
draw (m-4-1.north) -- (m-3-1.south);
draw (m-4-2.north) -- (m-3-3.south) -- (m-4-3.north);
draw (m-4-4.north) -- (m-3-5.south) -- (m-4-5.north);
draw (m-4-6.north) -- (m-3-7.south) -- (m-4-7.north);
endtikzpicture
enddocument
It is not so difficult with TIkZ's matrix
:
documentclass[tikz]standalone
usepackagetipa
usetikzlibrarymatrix
begindocument
begintikzpicture
matrix (m) [matrix of nodes,nodes=minimum width=.8cm] %
& & & & PWd & &\[2em]
Ft & & & & Ft & &\[2em]
$sigma$ & & $sigma$ & & $sigma$ & & $sigma$\[2em]
`ae & l & textipatextschwa & b & 'ae & m & textipatextschwa\
;
draw (m-2-1.north) -- (m-1-5.south) -- (m-2-5.north);
draw (m-3-1.north) -- (m-2-1.south) -- (m-3-3.north);
draw (m-3-5.north) -- (m-2-5.south) -- (m-3-7.north);
draw (m-4-1.north) -- (m-3-1.south);
draw (m-4-2.north) -- (m-3-3.south) -- (m-4-3.north);
draw (m-4-4.north) -- (m-3-5.south) -- (m-4-5.north);
draw (m-4-6.north) -- (m-3-7.south) -- (m-4-7.north);
endtikzpicture
enddocument
edited Apr 12 at 16:09
answered Apr 12 at 16:02
JouleVJouleV
14k22664
14k22664
add a comment |
add a comment |
Scharl is a new contributor. Be nice, and check out our Code of Conduct.
Scharl is a new contributor. Be nice, and check out our Code of Conduct.
Scharl is a new contributor. Be nice, and check out our Code of Conduct.
Scharl 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.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484534%2fdrawing-vertical-oblique-lines-in-metrical-tree-tikz-qtree-tipa%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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