\documentstyle{article}

\begin{document}

%%%%%%%%%%%%%%% macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\documentstyle[12pt]{article}

% \renewcommand{\thesubsection}{\arabic{subsection}} % 1.2 --> 2

%\pagestyle{headings}               %to fix page #


\newcounter{examplenumber}
\setcounter{examplenumber}{1}
\newcounter{examplesnumber}
\newcounter{exnum}
\newlength{\standard}     
\setlength{\standard}{17pt}         % = \parindent
\newlength{\exampletextwidth}
\setlength{\exampletextwidth}{\textwidth}
\addtolength{\exampletextwidth}{-59.6pt}

\def\printexamplenumber{(\arabic{examplenumber})}

\newcommand{\ex}[1]{\setcounter{exnum}{\value{examplenumber}}%
\addtocounter{exnum}{#1}(\arabic{exnum})}

%
% usage: "Compare the previous example, \ex{-1},
%         to \ex{0}, which follows."
%

\def\examplesform{\nobreak\list{\alph{examplesnumber}.}
		         {\leftmargin 2.8\standard
			 \topsep 0pt \partopsep=0pt
			 \labelwidth .6\standard \labelsep .2\standard
			 \usecounter{examplesnumber}}}
\let\endexamplesform=\endlist

\newcommand{\examples}[1]{\par
\vskip 9.0pt plus 3.0pt minus 5.0pt
\noindent\hskip 1.5\standard \nopagebreak
\llap{\printexamplenumber}\nopagebreak
\vskip-\baselineskip\nopagebreak
\begin{examplesform} 
#1\end{examplesform}
\vskip 9.0pt plus 3.0pt minus 5.0pt
\stepcounter{examplenumber}}

%  
% usage: "\examples
%           {\item Here is a numbered subsentence.
%            \item Here is another numbered subsentence.}"
%
% usage: "\examples
%           {\item[Speaker A:] Does he agree?
%            \item[Speaker B:] ---seems to.}
%
% If no optional argument is included, a, b, c ... are substituted
%

\newcommand{\example}[1]{\examples{\item[]{} {#1}}}

%
% usage: "\example
%           {This is a numbered sentence.\\
%            It can take up several lines.}"
%         
% usage: "\example {This is a numbered sentence.}"
%


\newcommand{\gloss}[4]
	   {\begin{tabular}[t]{*{#1}{@{\hspace{\tabcolsep}}l}}
	   #2\\
	   #3\\
            \multicolumn{#1}{l}{#4}
	   \end{tabular}}

%
% usage: 
% \gloss {n} {n-word foreign ex.} {n-word gloss} {translation}
%
% \example{\gloss {3}          
%    {mu-nthu &m-modzi &\'a-ma-s\^ek-a} 
%    {1-person &1-one  &1Su-PrsHab-laugh-ind}
%    {`One person usually laughs.'}}
%
% \examples
%    {\item \gloss {3}
%         {m-chi-pinda &ndi &mw-\^anga}
%         {18-7-room   &cop &18-ISgPoss}
%         {`The inside of the room is mine'}
%     \item \gloss {3}
%         {\bad{*}m-chi-pinda &ndi &ch-\^anga}
%         {18-7-room  &cop &7-ISgPoss}
%         {`The inside of the room is mine'}}
%


\newcommand{\longgloss}[3]
	   {\begin{tabular}[t]{*{#1}{@{\hspace{\tabcolsep}}l}}
	   #2\\
	   #3\\
	   \end{tabular}}

% Usage: \longgloss {n} {n-word foreign example} {n-word gloss}
% This glosses an example without a translation.
%
% \example
%     {\longgloss{n}
%                {n-word broken example filling the first line}
%                {n-word gloss}\\
%      \longgloss{m}
%                {m-word continuation of example}
%                {m-word gloss}\\
%      \nogloss{translation of n+m word example}
%     }
%

\newcommand{\nogloss}[1]
	   {\begin{tabular}[t]{p{\exampletextwidth}}
           #1\\
	   \end{tabular}}

\newcommand{\bad}[1]{\leavevmode\llap{#1}}

% doesn't work inside \nogloss environment yet
% usage: \examples
%           {\item \bad{?}Here is a questionable sentence.
%            \item \bad{*}And here is a bad sentence.
%            \item \bad{\#}Don't forget the slash for this one.}

\newcommand{\pslabel}[1]{$_{\mbox{\sc{#1}}}$}

% usage: " [...]\pslabel{vp}" gives rom VP subscript to right
% bracket 
 

\newcommand{\xbar}[1]{$\overline{\mbox{#1}}$}

% usage: "...either an S or an \xbar{S}"


\newcommand{\xdblbar}[1]{$\overline{\overline{\mbox{#1}}}$}

% usage: "\xdblbar{X} is the maximal projection of X"



\newcommand{\gap}{$\underline{\hspace{1em}}$} 

\newcommand{\sub}[1]{$_{#1}$}

%%%%%%%%%%%%%%%%%%%% macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



% \pagestyle{headings}
\nologo
\renewcommand{\footstring}{11-721: Grammars and Lexicons}
\topmargin 0pt
\footheight 16pt
\footskip 30pt
\textheight 650pt

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\noindent
{\bf Homework 2\\
11-721: Grammars and Lexicons\\
Fall term, 2002\\[12pt]
Due Monday, September 15}

\section{Based on Radford, Chapter 2, Exercise 9}

\noindent
Read Exercise 9 on page 108 of Radford.  Consider these hypotheses:

\begin{itemize}
\item {\bf Hypothesis 1:} {\it my coffee black\/} is a constituent.
\item {\bf Hypothesis 2:} {\it my coffee black\/} is not a constituent.
\item {\bf Hypothesis 3:} {\it the people present\/} is a constituent.
\item {\bf Hypothesis 2:} {\it the people present\/} is not a constituent.
\end{itemize}

\noindent
Now do the following tasks.

\begin{itemize}
\item {\bf Task 1:} Apply a movement test to Sentence 1.
\item {\bf Task 2:} Apply a movement test to Sentence 2. 
\item {\bf Task 3:} Apply a pronominalization test to Sentence 1.
\item {\bf Task 4:} Apply a pronominalization test to Sentence 2.
\item {\bf Task 5:} Apply the coordination test to Sentence 1. 
\item {\bf Task 6:} Apply the coordination test to Sentence 2. 
\item {\bf Task 7:} Does the data support Hypothesis 1, Hypothesis 2,
both, or neither?
\item {\bf Task 8 :} Does the data support Hypothesis 3, Hypothesis 4,
both, or neither?
\end{itemize}

\section{Based on Radford, Chapter 2, Exercise 4}

Do Exercise 4 on pages 106-107 of Radford.  The answers should be
straightforward based on Chapter 2. 

\end{document}
