Difference between revisions of "File:Tree alignment eng-spa PP.png"

From LING073
Jump to: navigation, search
(Jwashin1 uploaded a new version of File:Tree alignment eng-spa PP.png)
 
Line 1: Line 1:
 +
== LaTeX tikz code ==
  
 +
<pre>
 +
\begin{tikzpicture}
 +
\begin{scope}[frontier/.style={distance from root=200pt}]
 +
\Tree
 +
[.PP
 +
[.pr \node[align=center](in1){\texttt{in\tag{pr}}\\in};]
 +
[.DP
 +
[.det \node[align=center](the1){\texttt{the<det><def><sp>}\\the};]
 +
[.NP
 +
[.AP
 +
[.adj \node[align=center](beautiful){\texttt{beautiful<adj>}\\beautiful}; ]
 +
[.AP
 +
[.adj \node[align=center](spacious){\texttt{spacious<adj><sint>}\\spacious}; ]
 +
]
 +
]
 +
[.n \node[align=center](houses){\texttt{house<n><pl>}\\houses}; ]
 +
]
 +
]
 +
]
 +
\end{scope}
 +
\begin{scope}[xshift=-2pt,yshift=-7in,grow'=up,
 +
frontier/.style={distance from root=200pt}]
 +
\Tree
 +
[.PP
 +
[.pr \node[align=center](en1){en\\\texttt{en<pr>}};]
 +
[.DP
 +
[.det \node[align=center](las1){las\\\texttt{el<det><def><f><pl>}};]
 +
[.NP
 +
[.n \node[align=center](casas){casas\\\texttt{casa<n><f><pl>}}; ]
 +
[.AP
 +
[.adj \node[align=center](bonitas){bonitas\\\texttt{bonito<adj><f><pl>}}; ]
 +
[.cnjcoo \node[align=center](y1){y\\\texttt{y<cnjcoo>}}; ]
 +
[.AP
 +
[.adj \node[align=center](largas){amplias\\\texttt{amplio<adj><f><pl>}}; ]
 +
]
 +
]
 +
]
 +
]
 +
]
 +
\end{scope}
 +
\begin{scope}[dashed]
 +
\draw (the1)--(las1);
 +
\draw (houses)--(casas);
 +
\draw (spacious)--(largas);
 +
\draw (beautiful)--(bonitas);
 +
\draw (en1)--(in1);
 +
\end{scope}
 +
\end{tikzpicture}
 +
</pre>

Latest revision as of 22:32, 11 April 2022

LaTeX tikz code

\begin{tikzpicture}
\begin{scope}[frontier/.style={distance from root=200pt}]
\Tree
[.PP
	[.pr \node[align=center](in1){\texttt{in\tag{pr}}\\in};]
	[.DP
		[.det \node[align=center](the1){\texttt{the<det><def><sp>}\\the};]
		[.NP
			[.AP
				[.adj \node[align=center](beautiful){\texttt{beautiful<adj>}\\beautiful}; ]
				[.AP
					[.adj \node[align=center](spacious){\texttt{spacious<adj><sint>}\\spacious}; ]
				]
			]
			[.n \node[align=center](houses){\texttt{house<n><pl>}\\houses}; ]
		]
	]
]
\end{scope}
\begin{scope}[xshift=-2pt,yshift=-7in,grow'=up,
frontier/.style={distance from root=200pt}]
\Tree
[.PP
	[.pr \node[align=center](en1){en\\\texttt{en<pr>}};]
	[.DP
		[.det \node[align=center](las1){las\\\texttt{el<det><def><f><pl>}};]
		[.NP
			[.n \node[align=center](casas){casas\\\texttt{casa<n><f><pl>}}; ]
			[.AP
				[.adj \node[align=center](bonitas){bonitas\\\texttt{bonito<adj><f><pl>}}; ]
				[.cnjcoo \node[align=center](y1){y\\\texttt{y<cnjcoo>}}; ]
				[.AP
					[.adj \node[align=center](largas){amplias\\\texttt{amplio<adj><f><pl>}}; ]
				]
			]
		]
	]
]
\end{scope}
\begin{scope}[dashed]
\draw (the1)--(las1);
\draw (houses)--(casas);
\draw (spacious)--(largas);
\draw (beautiful)--(bonitas);
\draw (en1)--(in1);
\end{scope}
\end{tikzpicture}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:13, 29 April 2021Thumbnail for version as of 00:13, 29 April 20212,426 × 2,188 (72 KB)Jwashin1 (talk | contribs)
00:09, 26 April 2021Thumbnail for version as of 00:09, 26 April 20212,391 × 2,188 (72 KB)Jwashin1 (talk | contribs)
  • You cannot overwrite this file.

The following page links to this file:

Metadata