Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. documentclass[a4paper,12pt]{article}
  2.  
  3.  
  4. usepackage{fontspec,tikz, tikz-qtree, multicol,avm,array}
  5.  
  6. usetikzlibrary{matrix, positioning, trees, calc, arrows, fit,tikzmark,positioning}
  7.  
  8. begin{document}
  9.  
  10.  
  11. begin{multicols}{2}
  12.  
  13. begin{tikzpicture}
  14. begin{scope}
  15. Tree [.tikzmark{S}{S} [.NP [.Det the ]
  16. [.N cat ] ]
  17. [.VP [.V sat ]
  18. [.PP [.P on ]
  19. [.NP [.Det the ]
  20. [.N; mat ] ] ] ] ]
  21. end{scope}
  22. end{tikzpicture}
  23.  
  24. columnbreak
  25.  
  26. begin{avm}
  27. scriptsize
  28. [{} tikzmark{PRED}{PRED} `avoid <SUBJ, OBJ>'; TNS $neq$ PAST cr
  29. TOPIC [ PRED `kind<COMP>' cr
  30. DEF +; LOC FAR; NUM SG cr
  31. COMP [ PRED `of <OBJ>' cr
  32. OBJ [ PRED `cake'] ] ]tikzmark{topic} cr
  33. SUBJ [ PRED `pro'; NUM SG; PERS 1; CASE NOM] cr
  34. OBJ [ $qquad$ ]tikzmark{object} cr
  35. ADJ [ PRED `usually'] ]
  36. end{avm}
  37.  
  38. begin{tikzpicture}[remember picture,overlay]
  39. draw[->] (pic cs:S)--(pic cs:PRED);
  40. draw[-] (pic cs:topic) to[out=0,in=0,looseness=2] (pic cs:object);
  41. end{tikzpicture}
  42. end{multicols}
  43.  
  44. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement