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

punk causes newline (case.tex) #108

Open stefan11 opened 3 years ago

stefan11 commented 3 years ago

grafik

With punk in there I get an extra newline.

\avm{
[head & verb \\
 arg-st & \1 nelist \+ <[arg & \upshape NP![\type{str}]! \\
                        \punk{realized}{$+$} ]> \+ \2 ]
\impl

\hfill
[arg-st & \1 \+ <[arg  NP![\type{sacc}]!]> \+ \2 ]
}

I tried this without punk:

grafik

\avm{
[head & verb \\
 arg-st & \1 nelist \+ <[arg \upshape NP![\type{str}]! \\
                        realized $+$ ]> \+ \2 ]
\impl

\hfill
[arg-st & \1 \+ <[arg  NP![\type{sacc}]!]> \+ \2 ]
}

I know I am not supposed to do this, but this was left over from earlier encodings. Here the space after NP[...] is not enough.