summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/expex/source/08_Judgments.tex
blob: 55556f3a277d8b8599d3d43c8a276f4149c89a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

\section Judgment marks

\deftagsec{starsec}
\begininventory
\macros \idx{|\judge|}, \idx{|\ljudge|}\endmc
\parametersdef*
\hfil |*|\sidx{|*|, parameter}& sample judgment string& \hfil |*|& \hfil |*|\cr
\endinventory

\noindent
In examples without parts, not much needs to be said.

\codedisplay
\ex *Jack and Jill wented up the hill.\xe|endcodedisplay

\framedisplay~
\ex *Jack and Jill wented up the hill.\xe
\endframedisplay

In my view (\nextx), with a little whitespace inserted between
the asterisk and the example sentence, looks somewhat better than
(\lastx), but the difference is slight.

\codedisplay
\ex \judge* Jack and Jill is going up the hill.\xe|endcodedisplay

\framedisplay~
\ex \judge* Jack and Jill wented up the hill.\xe
\endframedisplay

\noindent \ExPex\ provides the macro |\judge| to
accomplish this. |\judge| takes one argument.  A multi-character
judgment diacritic therefore needs to be surrounded in braces.
|\judge| also ignores following spaces.  So
|\judge{??}Mary|\dots\ and \hbox{|\judge{??} Mary|\dots} produce
the same thing, as do |\judge*Mary|\dots\ and |\judge* Mary|\dots

Multipart examples are more complex, if alignment is to be
maintained. If you find (\nextx) satisfactory, what follows will
not be of much interest.  But it you would like the text (not
including the judgment marks) to be aligned, read on.

\framedisplay
\pex
\a There is a pair of pants on the floor.
\a \judge{?*}There are a pair of pants on the floor.
\a \judge*There is the pair of pants on the floor.
\xe
\endframedisplay

\ExPex\ provides the macro |\ljudge| which pushes the judgment
diacritics into the gap between the labels and the examples,
instead of pushing the examples to the right to make room for the
judgment diacritics.  So

\codedisplay
\pex
\a There is a pair of pants on the floor.
\a \ljudge{?*}There are a pair of pants on the floor.
\a \ljudge*There is the pair of pants on the floor.
\xe |endcodedisplay

\noindent produces

\framedisplay
\pex
\a There is a pair of pants on the floor.
\a \ljudge{?*}There are a pair of pants on the floor.
\a \ljudge*There is the pair of pants on the floor.
\xe
\endframedisplay

\noindent Unfortunately, depending on the setting of
|textoffset|, there is unlikely to be sufficient room for
judgment diacritics in between the labels and the examples.
|textoffset| needs to be increased to make room.

\ExPex\ provides the pseudo parameter to
facilitate adjusting the text offset.

\codedisplay
\pex[*=?*]
\a There is a pair of pants on the floor.
\a \ljudge{?*}There are a pair of pants on the floor.
\a \ljudge*There is the pair of pants on the floor.
\xe |endcodedisplay

\framedisplay
\pex[*=?*]
\a There is a pair of pants on the floor.
\a \ljudge{?*}There are a pair of pants on the floor.
\a \ljudge*There is the pair of pants on the floor.
\xe
\endframedisplay

\noindent |textoffset| is increased by the width of the judgment
diacritic which is furnished as the value of the parameter |*|.

If you say |\lingset{*}|, with no value assigned to |*|, it is
given a default value, which happens to be |*|.  So |\lingset{*}|
is equivalent to |\lingset{*=*}|.  So, for example:

\codedisplay
\pex[*]
\a There is a pair of pants on the floor.
\a \ljudge* There are a pair of pants on the floor.
\a \ljudge* There is the pair of pants on the floor.
\xe |endcodedisplay

\framedisplay~
\pex[*]
\a There is a pair of pants on the floor.
\a \ljudge* There are a pair of pants on the floor.
\a \ljudge* There is the pair of pants on the floor.
\xe
\endframedisplay

If you think that the text offset in (\blastx) is too large,
|textoffset| can be further adjusted directly, so you could write

\codedisplay
\pex[*=?*,textoffset=!-.3em]
\a There is a pair of pants on the floor.
\a \ljudge{?*} There are a pair of pants on the floor.
\a \ljudge* There is the pair of pants on the floor.
\xe |endcodedisplay

\framedisplay~
\pex[*=?*,textoffset=!-.3em]
\a There is a pair of pants on the floor.
\a \ljudge{?*} There are a pair of pants on the floor.
\a \ljudge* There is the pair of pants on the floor.
\xe
\endframedisplay