Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[a4paper,12pt]{article}
- usepackage{fontspec,tikz, tikz-qtree, multicol,avm,array}
- usetikzlibrary{matrix, positioning, trees, calc, arrows, fit,tikzmark,positioning}
- begin{document}
- begin{multicols}{2}
- begin{tikzpicture}
- begin{scope}
- Tree [.tikzmark{S}{S} [.NP [.Det the ]
- [.N cat ] ]
- [.VP [.V sat ]
- [.PP [.P on ]
- [.NP [.Det the ]
- [.N; mat ] ] ] ] ]
- end{scope}
- end{tikzpicture}
- columnbreak
- begin{avm}
- scriptsize
- [{} tikzmark{PRED}{PRED} `avoid <SUBJ, OBJ>'; TNS $neq$ PAST cr
- TOPIC [ PRED `kind<COMP>' cr
- DEF +; LOC FAR; NUM SG cr
- COMP [ PRED `of <OBJ>' cr
- OBJ [ PRED `cake'] ] ]tikzmark{topic} cr
- SUBJ [ PRED `pro'; NUM SG; PERS 1; CASE NOM] cr
- OBJ [ $qquad$ ]tikzmark{object} cr
- ADJ [ PRED `usually'] ]
- end{avm}
- begin{tikzpicture}[remember picture,overlay]
- draw[->] (pic cs:S)--(pic cs:PRED);
- draw[-] (pic cs:topic) to[out=0,in=0,looseness=2] (pic cs:object);
- end{tikzpicture}
- end{multicols}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement