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

brackets too large in avm too much space before \+ arg-st.tex #115

Open stefan11 opened 3 years ago

stefan11 commented 3 years ago

grafik

\avm{
[\type*{passive-verb}
 arg-st  & \2 ( \+ < ! PP[\type{by}]$_i$ ! > )\\
 lex-dtr & [\type*{stem}
            head   & verb\\
            arg-st & < \1$_i$ > \+ \2 < NP, \ldots > ]]  
}
kopeckyf commented 3 years ago

Too much space is probably related to https://github.com/langsci/259/commit/0eda3d3144a1de67407800776e7c047940f0d788.

On my machine, the parentheses come out a little smaller - they are just about the same size as the angle brackets < > they enclose, which seems just fine.

stefan11 commented 3 years ago

I tried this:

\avm{
[\type*{passive-verb}
 arg-st  & \1 !( \+ < PP[\type{by}]$_i$  > )!\\
 lex-dtr & [\type*{stem}
            head   & verb\\
            arg-st & < NP$_i$ > \+ \1 < NP, \ldots > ]]  
}

But this results in: grafik

With the < > not typeset as angled brackets and the () in italics.

This applies to (43) as well: grafik

If one escapes the brackets with !(!, they are too small.

stefan11 commented 3 years ago

@kopeckyf I do not now how to fix this. I cannot even think of a hack. It should just be a normal line of text. The problem is that your code affects my [ ] brackets inside \sliste{ ... } and ! ! does not work inside brackets.

For (43) it works with \sliste:

grafik