langsci / 259

Müller, Stefan et al. (eds): Head-Driven Phrase Structure Grammar: The handbook
Creative Commons Attribution 4.0 International
22 stars 7 forks source link

flushright in example environments (complex-predicates-include.tex) #166

Closed stefan11 closed 3 years ago

stefan11 commented 3 years ago

I want to get flushright to work but it somehow does not. The closes I could get is: grafik

The problem is that the "b." of the numbered example is lost.

\begin{exe}
\ex {Argument attraction lexical rules for \ili{Romance} restructuring verbs}:\label{GSexemple19} 
\begin{xlist}
\ex
\label{GSexemple19a}Subject control verbs:\\
\avm{
[head & verb\\
 arg-st & < XP$_i$, [head & [\type*{verb}
                             vform & inf ] \\ 
                     subj & < XP$_i$ > \\
                     comps & < > ] > \+ \1 ]}
        $\mapsto$ \\
\flushright\avm{[arg-st & < XP$_i$, V[\type*{basic-verb}
             comps & \2 \\
             light & $+$] > \+ \2 \+ \1 ]}
%\pagebreak
\flushleft
\ex
\label{GSexemple19b}
%\flushleft
Subject raising verbs:\\
\avm{
[head & verb \\
 arg-st & \1 \+ < [head &   [\type*{verb}
                                 vform & inf ] \\ 
           subj & \1 \\
                   comps & < > ] > \+ \2 ]}
        $\mapsto$ \\
\flushright\avm{
[arg-st & \1 \+ < V[\type*{basic-verb}
                    comps & \3 \\
                    light & $+$] > \+ \3 \+ \2 ]}
\end{xlist}
\end{exe}
stefan11 commented 3 years ago

The solution is to use an environment. Don't know why this worked.

\begin{flushright}
\avm{[arg-st & < XP$_i$, V[\type*{basic-verb}
             comps & \2 \\
             light & $+$] > \+ \2 \+ \1 ]}
\end{flushright}